I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis
onto
the box and here's how I did it and some things to look
out for.
To install:
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
Solution: | |
Launch Keychain Access by clicking Applications > Utilities > Keychain Access | |
On the left upper pane, under Keychains select System | |
On the left lower, under Category select All Items | |
On the right side of the screen scroll to the bottom and locate the two items called VPN(IPSec) | |
Double-click the VPN(IPSec) whos kind is IPSec XAuth Password | |
Click the Access Control button/tab. The applications permitted to use this keychain item will be displayed below. If you’re prompted for your password, enter it. | |
Click the plus (+) sign | |
When the Finder window appears, press Cmd + Shift + G on your keyboard | |
When the Go To Folder dialog appears, enter /usr/libexec |
#!/bin/sh | |
# Title : tree | |
# See : http://damienix.jogger.pl/2010/12/01/skrypt-bashowy-wyswietlajacy-drzewko-struktury-katalogow/ | |
# Date : 2010-12-16 | |
# Author : Damian Skrodzki <[email protected]> | |
# Description : Prints directory tree | |
clr_dir='\033[1;34m' # Blue | |
clr_fil='\033[0;33m' # Yellow |
#!/bin/bash | |
# lets. A productivity booster | |
# Based on ideas from https://gist.github.com/605292 | |
# | |
# Create a /etc/hosts.work with a list of sites you wanna block and execute | |
# | |
# $ sudo lets work | |
# | |
# When you finish your hard work, unblock the sites writing |