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
comment | |
comment punctuation | |
comment.block.documentation | |
comment.block.preprocessor | |
comment.documentation | |
constant | |
constant.character | |
constant.character punctuation | |
constant.character.entity | |
constant.character.escape |
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
##### DEBIAN ################ | |
# Debian Experimental | |
# deb http://ftp.de.debian.org/debian experimental main contrib non-free | |
# deb-src http://ftp.de.debian.org/debian experimental main contrib | |
# Debian Sid # CURRENT UNSTABLE | |
# deb http://ftp.de.debian.org/debian sid main contrib non-free | |
# deb-src http://ftp.de.debian.org/debian sid main contrib non-free | |
# Debian 8.0 (Jessie) # CURRENT TESTING |
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
<?php | |
/** | |
* Calculate ISBN checksum | |
* | |
* @param string $isbn | |
* @return integer | |
*/ | |
function isbn_checksum($isbn) { | |
$sum = 0; $isbn = str_split(preg_replace('/[^\d]/', '', $isbn)); | |
foreach($isbn as $key => $z) { |
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
#!/usr/bin/zsh | |
baseurl="http://example.com/blog/" | |
cd "/home/user/public_html/blog/" | |
j=0 | |
for i in `ls | sort -r` | |
do ; | |
j=`expr $j + 1` | |
if [ $j -gt 15 ] |