This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drag this link into your bookmarks bar: | |
<a href="javascript:(function(){window.location.href=window.location.protocol+'//'+window.location.hostname+'/archive';})();">Archive</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from (8-3)+1 to 8 | |
head -n 8 file.txt | tail -n 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sqrt(cos(x))cos(60x)+sqrt(abs(x))-0.6*(6-x^2)^0.01 | |
http://www.google.com/search?q=sqrt(cos(x))cos(60x)%2Bsqrt(abs(x))-0.6*(6-x%5E2)%5E0.01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PseudoRandom = PseudoRandom || {}; | |
PseudoRandom.seed = 12345 * (12345 + new Date().getMilliseconds()); | |
PseudoRandom.random = function() { | |
this.seed = parseInt(("" + (12345 * this.seed)).substr(0, 13)); | |
return parseFloat("0." + ("" + this.seed).split("").reverse().join("")); | |
}; | |
// Example | |
for (var i = 0; i < 10; i++) { | |
document.write(PseudoRandom.random() + "<br />"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# starting at 00:00:00, duration of 00:00:30 (hh:mm:ss) | |
ffmpeg -ss 00:00:00 -t 00:00:30 -i input.mp4 -acodec copy -vcodec copy output.mp4 | |
avconv -ss 00:00:00 -t 00:00:30 -i input.mp4 -acodec copy -vcodec copy output.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as normal user | |
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false' | |
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false' | |
xfconf-query -c xfce4-session -np '/shutdown/ShowHybridSleep' -t 'bool' -s 'false' | |
xfconf-query -c xfce4-session -np '/shutdown/ShowSwitchUser' -t 'bool' -s 'false' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
w_scan -X -F -t 3 > channels.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see https://wiki.archlinux.org/index.php/Apache_HTTP_Server#TLS.2FSSL | |
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out server.key | |
chmod 400 server.key | |
openssl req -new -sha256 -key server.key -out server.csr | |
openssl x509 -req -days 1095 -in server.csr -signkey server.key -out server.crt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.gimp-*/gimprc | |
(default-snap-to-canvas yes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.Xresources | |
Xft.autohint: 0 | |
Xft.dpi: 96 | |
Xft.antialias: true | |
Xft.rgba: rgb | |
Xft.hinting: true | |
Xft.hintstyle: hintslight | |
Xft.lcdfilter: lcdlight |
OlderNewer