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
First take note of usb device IDS: | |
> lsusb | |
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub | |
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 001 Device 004: ID 064e:d213 Suyin Corp. | |
Bus 001 Device 003: ID 8087:07da Intel Corp. | |
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 004 Device 002: ID 0bc2:2320 Seagate RSS LLC USB 3.0 bridge [Portable Expansion Drive] |
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
sudo apt-get install build-essentials | |
sudo apt-get install linux-headers-$(uname -r) | |
sudo apt-get install virtualbox-guest-dkms | |
cd /media/VBOXADDITIONS/ | |
sudo ./VBoxLinuxAdditions.run |
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
Bumblebee Elementary OS (Ubuntu 12.04 precise) | |
# https://wiki.ubuntu.com/Bumblebee | |
1. sudo add-apt-repository ppa:bumblebee/stable | |
2. For more up-to-date nvidia drivers, you need to add another PPA. As of 12.04, this is still necessary for Nvidia GT 6xxM cards. It may be optional for the GT 4xxM and GT 5xxM series on 12.04. When in doubt, just install it. The command is: | |
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates | |
3. 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
# http://gitready.com/beginner/2009/03/09/remote-tracking-branches.html | |
git config branch.autosetupmerge true | |
git checkout -b branch_name origin/branch_name | |
# sample | |
git fetch origin hotfix/576 | |
> * branch hotfix/576 -> FETCH_HEAD | |
> * [new branch] hotfix/576 -> origin/hotfix/576 | |
# setup the remote branch as a local branch |
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
[user] | |
name = Jorge M Gomez C | |
email = jorgemario@gmail.com | |
[core] | |
excludesfile = /home/jorge/.gitignore_global | |
[color] | |
branch = auto | |
diff = auto | |
interactive = auto | |
status = auto |
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
$ sudo apt-get install clamav-daemon | |
$ freshclam | |
$ /etc/init.d/clamav-daemon start |
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
# from: | |
# http://osxdaily.com/2013/10/02/enable-ntfs-write-support-mac-os-x/ | |
$ diskutil info /Volumes/DRIVENAME | grep UUID | |
# use UUID to reference the drive | |
$ sudo echo "UUID=ENTER_UUID_HERE none ntfs rw,auto,nobrowse" >> /etc/fstab | |
# or, use the label | |
$ sudo echo "LABEL=WINDOWS8 none ntfs rw,auto,nobrowse" >> /etc/fstab |
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
pg_dump --file=/usr/local/pgbackups/imsprod.20140910.pgdump --no-tablespaces --format=c --verbose --schema=ims imsproddb |
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
http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac | |
binaries=( | |
rename | |
sshfs | |
trash | |
node | |
tree | |
ack | |
hub |
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
#!/bin/bash | |
function msg { | |
# Description: | |
# This function echoes-with-colors the arguments passed in | |
# Usage: | |
# msg 'whatever you want to print :)' | |
echo -e '\033[33m\033[44m'$@'\033[0m' | |
} |
OlderNewer