-
Create Linode
- Record root password:
-
Boot
-
SSH in as root
- Install security updates:
sudo apt-get update sudo apt-get upgrade --show-upgraded
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/env ruby | |
# Usage: | |
# 1) Save as something.rb on Desktop. Optionally update the date on the line | |
# that beings with "time = " if you want the creation date to be correct in | |
# KeePassX. | |
# 2) Run in Terminal: chmod 777 ~/Desktop/something.rb | |
# 3) Run in Terminal: ~/Desktop/something.rb web_confidential_export.txt | |
# 4) Import the resulting export.xml into KeePassX | |
# 5) Use the "srm" command to delete the plaintext files containing passwords |
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
# Put this in your ~/.bash_profile file | |
# To reload the .bash_profile without restarting Terminal, run "source ~/.bash_profile" | |
# http://stackoverflow.com/questions/420456/open-terminal-here-in-mac-os-finder | |
function ff { osascript -e 'tell application "Finder"'\ | |
-e "if (${1-1} <= (count Finder windows)) then"\ | |
-e "get POSIX path of (target of window ${1-1} as alias)"\ | |
-e 'else' -e 'get POSIX path of (desktop as alias)'\ | |
-e 'end if' -e 'end tell'; };\ |
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
# | |
# | |
# test.rb | |
# | |
# | |
require 'rubygems' | |
require 'active_record' | |
require 'classifier' | |
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
// ==UserScript== | |
// @name Basecamp Favicons | |
// @namespace http://masnick.org/userscript | |
// @description Adds a favicon to Basecamp | |
// @include http://*.basecamphq.com/* | |
// @include https://*.basecamphq.com/* | |
// ==/UserScript== | |
var favicon_link_html = document.createElement('link'); | |
favicon_link_html.rel = 'icon'; |
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
tell application "Finder" | |
set theWindow to window 1 | |
set thePath to (POSIX path of (target of theWindow as alias)) | |
tell application "Terminal" | |
do script "cd " & thePath & " && ./runme.sh" | |
end tell | |
end tell |
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
require "rubygems" | |
require "rsay" | |
[Language::ARABIC, Language::CHINESE, Language::CHINESE_SIMPLIFIED, Language::CHINESE_TRADITIONAL, Language::DUTCH, Language::FRENCH, Language::GERMAN, Language::GREEK, Language::ITALIAN, Language::JAPANESE, Language::KOREAN, Language::PORTUGUESE, Language::RUSSIAN, Language::SPANISH, Language::SWEDISH].each do |out| | |
puts Translate.t('words', Language::ENGLISH, out) | |
end |
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
/* textonly by Mark Fickett, 2004. Poke/edit/maul, but leave credit - think GPL */ | |
/* Generally: naib.webhop.org Adium-related: naib.webhop.org/~markfickett/adium */ | |
/* Modified by phrenzy, 2005 - http://www.baproducers.com */ | |
/* Further modified by Max Masnick, 2010 - http://max.masnick.me */ | |
body { | |
background: #fff; | |
font-weight: normal; |
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
hello world! |
OlderNewer