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 is your ~/.bashrc file: | |
alias skype ="export XLIB_SKIP_ARGB_VISUALS=1 && skype" | |
BAM! You got skype video sweetness, on your trendy MacBook pro. You poor, mixed up soul... |
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
# As of 10/07/2011, this bash script installs Node.js | |
# and npm (a node package manager) on Ubuntu 10.10 or 10.04 x64. | |
# This installs node in your home directory (~/.local/programs) | |
# | |
# by okor | |
# | |
# Copy, Paste and Run in a terminal: | |
echo "Install required packages" && \ | |
sudo apt-get update && \ |
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
dd if=/dev/dvd of=/home/yourname/Desktop/dvd-name.iso # for dvd | |
dd if=/dev/cdrom of=/home/yourname/Desktop/cd-name.iso # for cdrom | |
MacBook Pro unibody (5,4) running Ubuntu | |
dd if=/dev/sr0 of=/home/yourname/Desktop/dvd-name.iso |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
if [[ -n "$PS1" ]] ; then | |
#################################################################################################### | |
# History ########################################################################################## | |
#################################################################################################### |
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
"password".crypt("salt") |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
if [[ -n "$PS1" ]] ; then | |
#################################################################################################### | |
# History ########################################################################################## | |
#################################################################################################### |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Author: Ivan Novembri | |
Copyright (C) 2009 Ivan Novembri <ivan.novembri@gmail.com> | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Library General Public | |
License as published by the Free Software Foundation; either | |
version 3 of the License, or (at your option) any later version. |
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
function printObject(o) { | |
var out = ''; | |
for (var p in o) { | |
out += '\n' + ':: ' + p + '(' + typeof(o[p]) + ') ::' + '\n' + o[p] + '\n'; | |
} | |
console.log(out); | |
} |
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
# okor's server .bashrc file | |
if [[ -n "$PS1" ]] ; then | |
# | |
#################################################################################################### | |
# Functions ######################################################################################## | |
#################################################################################################### |
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
wget -q -O - https://raw.github.com/gist/2204072/install_tmux_1.6_on_ubuntu_10.04.sh | sudo bash |
OlderNewer