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
#!/bin/bash | |
if [ "$#" -ne 2 ]; then | |
echo "$0 <input_file> <output_file>" | |
exit 1 | |
fi | |
convert "$1" -resize 1920x1080 -background "#222222" -gravity east -extent 3840x1080 "$2" |
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
current="$(readlink -f $(dirname "$0"))" |
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
Α α Alpha a al-fa | |
Β β Beta b be-ta | |
Γ γ Gamma g ga-ma | |
Δ δ Delta d del-ta | |
Ε ε Epsilon e ep-si-lon | |
Ζ ζ Zeta z ze-ta | |
Η η Eta h eh-ta | |
Θ θ Theta th te-ta | |
Ι ι Iota i io-ta | |
Κ κ Kappa k ka-pa |
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
http://www.engadget.com/ | |
http://www.theverge.com/ | |
http://www.zdnet.com/ | |
http://www.neowin.net/ | |
http://www.anandtech.com/ | |
http://arstechnica.com/ | |
http://theverge.com/ | |
http://www.osnews.com/ | |
http://www.cnews.cz | |
http://cdr.cz |
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
de_w=1920.0 | |
de_h=1080.0 | |
a=de_w/de_h | |
my_w=Width() | |
my_h=Height() | |
p_w=0 | |
p_h=(-my_h+(my_w/a))/2 | |
AddBorders(round(p_w), round(p_h), round(p_w), round(p_h),$000000) | |
#Subtitle(string(p_h)+"x") |
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
/* | |
Pop-up Ad Blocker for ads placed in state of "being almost inactive" on 000webhost.com (ads by Hosting24.com) | |
made by monnef | |
If you use this script you can still tell when you should log-in to prevent freezing your account. | |
(If you use blocking in .htaccess you cannot really tell, when it's active.) | |
The responsible script -> http://stats.hosting24.com/count.php | |
*/ | |
function markAdBlocked(str){ |
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
import scala.runtime.ScalaRunTime.stringOf | |
import scala.collection.JavaConverters._ | |
// stuff for verifying results, skip to case defs (comment -- 1 --) | |
def doVerify[A](name: String, origRes: A, myRes: A) { | |
val equals = origRes match { | |
case a: Array[_] => a.sameElements(myRes.asInstanceOf[Array[_]]) | |
case _ => origRes.equals(myRes) | |
} | |
if (equals) println(s"Case '$name' fine: ${stringOf(myRes)}") |
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
dd conv=fdatasync if=/dev/zero of=/tmp/output.img bs=8k count=128k; rm /tmp/output.img |
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
mkdir -p ~/.ammonite && wget -O ~/.ammonite/predef.scala --no-check-certificate https://git.io/v6r5y | |
wget -O amm --no-check-certificate https://git.io/vioDM && chmod u+x amm && ./amm |
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
java -Dsbt.main.class=sbt.ScriptMain -Dsbt.boot.directory=c:/users/<user>/.sbt/boot -jar c:/users/<user>/.conscript/sbt-launch.jar %* |
OlderNewer