GiT Ur N3RD On ThrEAd

  • Thread starter Lost
  • Start date
  • Tagged users None
L

Lost

2,969
38
Ok, drop some nerd knowledge, no matter how stupid..



Fact: if you are watching youtube and you hit numbers 1-9, it goes to the corresponding percentage section of the song X 10%. Gotta be in Youtube, and focus set to the video itself. (1 = 10%, 9 = 90%). Try it. And no cntl - c is copy, cntl - v is paste, bs.)

http://www.youtube.com/watch?v=KLr8FTEWFS0
 
L

Lost

2,969
38
Oh, focus is another way to say the thing that is clicked on.
 
Seamaiden

Seamaiden

Living dead girl
23,596
638
In order to calculate the total gallon volume of a rectalinear container, multiply the height, width and depth together, then divide by 231, which is the total number of cubic inches in a gallon.

Researchers have recently discovered evidence that Paleolithic people in Europe may have eaten flatbreads, rather than being primarily meat-eaters as previously assumed. Grinding stones from Italy, the Czech Republic and Russia, that are embedded with starch grains, suggest that 30,000 years ago people were processing roots from cattails and ferns and making flour. This pushes the first use of flour BACK by 10,000 years. The researchers report that cattail flour bread doesn't taste so bad (what an endorsement!).
 
Mr.GoodCat

Mr.GoodCat

693
63
A ball of glass will bounce higher then a ball of rubber.

A sneeze leaves your nose at over 600 mph.
 
CheechWizard

CheechWizard

287
28
Shrink and nuke your digital photos before you upload them to the forum. All from the command line.

Code:
find . -type f -name '*.JPG' | while read filename; do echo "shrinking and nuking ganja photos: ${filename}"; convert -resize 50% -strip -channel rgba -alpha on -colorspace rgb +profile '*' "${filename}" "`echo "${filename}" | sed -e 's/\.JPG$/\.JPG/'`"; done
 
Seamaiden

Seamaiden

Living dead girl
23,596
638
Shrink and nuke your digital photos before you upload them to the forum. All from the command line.

Code:
find . -type f -name '*.JPG' | while read filename; do echo "shrinking and nuking ganja photos: ${filename}"; convert -resize 50% -strip -channel rgba -alpha on -colorspace rgb +profile '*' "${filename}" "`echo "${filename}" | sed -e 's/\.JPG$/\.JPG/'`"; done
I can do that in a terminal shell? (Fedora Linux, currently, but wishing for Ubuntu again)
 
CheechWizard

CheechWizard

287
28
Seamaiden: Yes from the terminal. You need the imagemagick package installed but its pretty common in most distributions. You can also make it work with other file formats by changing the first two instances of ".JPG"
 
Seamaiden

Seamaiden

Living dead girl
23,596
638
Awesome! So just change them to, say, bmp, or png, or whatever (accepted format)...?
 
CheechWizard

CheechWizard

287
28
Awesome! So just change them to, say, bmp, or png, or whatever (accepted format)...?

Yes it should work with both formats. I use it for PSD and PDF aswell. Also make sure to make a copy of your files it's setup to over-write.
 
Top Bottom