-
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
// ==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! |
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
# Assuming Ubuntu 10.04 with git already installed. | |
# | |
# Make sure to secure your server: http://www.andrewault.net/2010/05/17/securing-an-ubuntu-server/ | |
# These instructions are based on: | |
# http://sitaramc.github.com/gitolite/doc/1-INSTALL.html: | |
# First, get you id_rsa.pub onto the server as /tmp/YourName.pub | |
scp ~/ssh/id_rsa.pub you@git.you.com:/tmp/ |
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
# You'll need to install Xcode first. | |
# Download the tarsnap binary from https://www.tarsnap.com/download.html. | |
# After you untar the archive, cd into the folder and: | |
CC=/usr/bin/gcc-4.2 ./configure | |
CC=/usr/bin/gcc-4.2 make all install clean |
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
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "en_US.UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_MESSAGES to default locale: No such file or directory |