

True. That guy is so censored, I read news every two weeks about him, with his words quoted. Must suck to be censored like that 😢
True. That guy is so censored, I read news every two weeks about him, with his words quoted. Must suck to be censored like that 😢
You’d have better chance of getting an answer on jlai.lu, in ForumLibre. On this sub, no one speaks French (I couldn’t even answer your post in French, as it is forbidden).
This is not a demonstration and this does not qualify as a scientific proof. 🤷
They polled teachers. It ir like I polled religious and conclude that God exists because God speaks to most of the people I polled. This is not science, sorry not sorry.
Yeah, except science does not work like that. 😐
1312 is the best PIN code tbh.
watch "ls -larth"
sudo fuser -k 8000/tcp
ulimit -Sv 1000 # 1000 KBs = 1 MB
ulimit -Sv unlimited # Remove limit
rename 's/\.bak$/.txt/' *.bak
readlink -f file.txt
tar tf file.tgz
tar xf file.tgz static
ls -lS
mtr google.com
find . -size 20c # By file size (20 bytes)
find . -name "*.gz" -delete # Delete files
find . -exec echo {} \; # One file by line
./file1
./file2
./file3
find . -exec echo {} \+ # All in the same line
./file1 ./file2 ./file3
yes
yes hello
w
ls | nl
grep -P "\t"
tac file
It is useful to detect permissions errors, for example when configuring a web server.
namei -l /path/to/file.txt
while inotifywait -e close_write document.tex
do
make
done
cat file.txt | xclip -selection clipboard
detex file.tex | diction -bs
You may need to install the following: sudo apt-get install diction texlive-extra-utils.
/usr/bin/time -v ls
cat file.txt | sort -R
cat file.txt | sort -R | head # Pick a random sambple
# Even better (suggested by xearl in Hacker news):
shuf file.txt
If the program doesn’t need any interaction:
nohup ./script.sh &
If you need to enter some input manually and then want to leave:
./script.sh
<Type any input you want>
<Ctrl-Z> # send process to sleep
jobs -l # find out the job id
disown -h jobid # disown job
bg # continue running in the background
Of course, you can also use screen or tmux for this purpose.
timeout 10s ./script.sh
# Restart every 30 minutes
while true; do timeout 30m ./script.sh; done
comm file1 file2
Prints these three columns:
Lines unique to file1.
Lines unique to file2.
Lines both in file1 and file2.
With options -1, -2, -3, you can remove each of these columns.
split -l LINES -d file.txt output_prefix
If a program eats too much memory, the swap can get filled with the rest of the memory and when you go back to normal, everything is slow. Just restart the swap partition to fix it:
sudo swapoff -a
sudo swapon -a
sudo fsck.ext4 -f -y /dev/sda1
sudo fsck.ext4 -v /dev/sda1
sudo mke2fs -n /dev/sda1
sudo e2fsck -n <first block number of previous list> /dev/sda1
fallocate -l 1G test.img
To join, shuffle, select, etc. pdftk is a great tool:
pdftk *.pdf cat output all.pdf # Join PDFs together
pdftk A=in.pdf cat A5 output out.pdf # Extract page from PDF
You can also manipulate the content with cpdf:
cpdf -draft in.pdf -o out.pdf # Remove images
cpdf -blacktext in.pdf -o out.pdf # Convert all text to black color
# Write random data, encode it in base64 and monitor how fast it is being sent to /dev/null
cat /dev/urandom | base64 | pv -lbri2 > /dev/null
# pv options:
# -l, lines
# -b, total counter
# -r, show rate
# -i2, refresh every 2 seconds
apt-file update
apt-file search dir/file.h
I started using PyCharm recently. I love being able to open and switch multiple terminals, access database, see code structure, tooltip on deprecated code and how to fix it, I also like jumping to declarations, inserting code snippets.
Could I do all of these too with vim or neovim?
+1 for Mojeek. I use it on a daily basis.
I use League of Legends regions. Except for one of them which is not a region but is called “lantern” after the Thresh’s lantern in which souls are trapped.
Hard to get in EU. If anyone knows a way to get one in EU (no Amazon), let me know. The issue is the shipping cost.
Kinda long to read : https://d-shoot.net/kagi.html
I used to but people behind are bastards so I don’t give money to them anymore.
It made me think of how I use search engines and most of the time I go on the same websites so I try to avoid search engines.
I use Mojeek with their focus feature (it is like lenses of Kagi). If I really need a search engine I use Mojeek with no focus, but most of the time the results are not good enough so I give them a feedback and go back on Duckduckgo.
“My hammer is not well suited to cut vegetables” 🤷
There is so much to say about AI, can we move on from “it can’t count letters and do math” ?
Yep so you have to “switch user” after that on computer and mobile where your old email is remembered.
It is possible here I think : https://vault.bitwarden.com/#/login
Edit: after logging in : settings -> my account (if I recall correctly)
The link to this web page is available on the app : settings -> about -> Bitwarden web vault
Discovered about rg recently and it is cool!
I do not have the solution to your problem but I may have a hint. I had this exact problem years ago. The only thing I recall is that there is a difference between sleep and hibernate and maybe your computer goes in hibernation mode. Try disabling it to see if the cause is sleep mode or hibernate mode (or both).
Sorry I don’t have the solution. If you find it, let us know!
Edit: you may want to look at this https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/powermanagement.html
I wish people would help me figure out how to make a beautiful pixel art of my rattle, Couleur, who was already present on the 2024 canva but an ugly version of it and a better version with only the upper part of his head.
If anyone wants Couleur to be a thing ♥️
Short story, had him since I was born (birth gift), when I was a child, for some reasons I invented his story like I did for all my plushies and I invented he was orphan, could not speak and was an eternal baby. He is happy tho because he has many friends and I gave him plush so it makes him a plush who has a plush.
Yep. I know. I just want him to be known and loved now 😂
I’d be interested in the lottery numbers if you can get them for me.