On Apple:
convert -background black -fill white -font /Library/Fonts/Apple\ LiSung\ Light.ttf -size 1920x1080 -pointsize 120 -gravity center label:'Dink Thifferent' title.png
On Linux:
#! /bin/sh | |
lynx -source https://duckduckgo.com/?q=$1 | grep -o 'http://[^"]*' | grep -v w3 | head -n 1 |
<img src="http://placehold.it/256x360"> |
<p> This is my include file </p> |
lftp -c torrent http://releases.ubuntu.com/15.04/ubuntu-15.04-desktop-amd64.iso.torrent |
The documentation is a little confusing when it comes to project pages, as opposed to user pages. It feels like you should have to do more, but actually the process is very easy.
It involves:
Setting up 2 static A records for the naked (no www) domain. Creating one CNAME record for www which will point to a GitHub URL. This will handle www redirection for you. Creating a file called CNAME (capitalised) in your project root on the gh-pages branch. This will tell Github what URL to respond to.
Wait for everything to propagate.
#! /bin/sh | |
echo 'Connecting to getstrike.net' | |
echo '..............................' | |
wget -q https://getstrike.net/torrents/api/download/$1.torrent | |
echo Saved as $1.torrent |
#! /bin/sh | |
lftp -c "torrent $1" |
#! /bin/sh | |
cd /Applications/MAMP/htdocs | |
wget http://wordpress.org/latest.zip | |
unzip latest.zip | |
rm latest.zip | |
cd wordpress/ | |
mv * .. | |
cd .. | |
rmdir wordpress/ |
# Javascript | |
<script>document.write(new Date().getFullYear())</script> | |
# PHP | |
<?php echo date("Y"); ?> |