This file contains hidden or 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
html { background: #f0f0ee; } | |
h1 { font-size: 200%; text-align: center; } | |
h2 { font-size: 150%; } | |
h3 { font-size: 110%; } | |
h1, h2, h3 { margin: 0.65em 0 0.5em 0; font-weight: bold; } | |
p { margin: 0.75em 0 0.75em 0; } | |
ul, ol { margin: 1em 0; padding-left: 2.5em; } | |
li { list-style: disc outside; } | |
body { | |
background: #f0f0ee; |
This file contains hidden or 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/env ruby | |
# | |
# Generates a SFV file from the filename, since anime fansubs usually add the | |
# CRC32 checksum to the end of the filename. This allows one to check the | |
# checksums with a common SFV checker. | |
# | |
# (C)opyright 2009 Ricardo Martins <ricardo at scarybox dot net> | |
# Licensed under the MIT/X11 License. See LICENSE file for license details. | |
require 'date' |
This file contains hidden or 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/env ruby | |
# | |
# Generates a SFV file from the filename, since anime fansubs usually add the | |
# CRC32 checksum to the end of the filename. This allows one to check the | |
# checksums with a common SFV checker. | |
# | |
# (C)opyright 2009 Ricardo Martins <ricardo at scarybox dot net> | |
# Licensed under the MIT/X11 License. See LICENSE file for license details. | |
require 'date' |
This file contains hidden or 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
/* | |
* CueCat Decoder | |
* | |
* Thanks to: | |
* - http://oilcan.org/cuecat/base64.html | |
* - LibraryThing for shipping my CueCat | |
* | |
* Copyright (c) 2009 Ricardo Martins <[email protected]> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a |
This file contains hidden or 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
/* | |
* Copyright (c) 2009 Ricardo Martins <[email protected]> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), | |
* to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following conditions: | |
* |
This file contains hidden or 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/env python | |
# | |
# Copyright (c) 2009 Ricardo Martins <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following conditions: |
This file contains hidden or 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/env ruby | |
unless ARGV[0] | |
puts 'Usage: newpost "the post title"' | |
exit(-1) | |
end | |
blog_prefix = ENV['HOME'] + "/blagh/" | |
date_prefix = Time.now.strftime("%Y-%m-%d_%H-%M") | |
postname = ARGV[0].strip.downcase.gsub(/ /, '-') |
This file contains hidden or 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
javascript:document.write("<h1%20style='font-size:10em;text-align:center;'>Don't%20touch%20my%20screen!</h1>") |
This file contains hidden or 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
// Browser Bookmarklet for HTML5 youtube viewer : http://neosmart.net/YouTube5/ | |
javascript:window.location=%22http://neosmart.net/YouTube5?url=%22+encodeURIComponent(document.location) |
This file contains hidden or 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/sh | |
# enable reading stdin | |
exec < /dev/tty | |
cd TrabPratico && rake | |
if [[ $? -ne 0 ]]; then | |
echo "Errors found while testing. Continue anyway? [y/N]" |
OlderNewer