{ "Statement": [ { "Effect": "Allow", "Action": "s3:ListAllMyBuckets", "Resource": "arn:aws:s3:::*" }, {
sudo update-menus --remove | |
sudo apt-get purge menu menu-xdg | |
remember to do the first line before the second line. Else you will have to reinstall both the packages again and repeat. |
register ./contrib/piggybank/java/piggybank.jar; | |
register /home/user/Code/hadoop/hbase-0.94.4/lib/zookeeper-3.4.5.jar | |
register /home/user/Code/hadoop/hbase-0.94.4/hbase-0.94.4.jar | |
register /home/user/Code/hadoop/hbase-0.94.4/lib/guava-11.0.2.jar | |
register /home/user/Code/hadoop/hbase-0.94.4/lib/protobuf-java-2.4.0a.jar | |
register ./udf.rb using jruby as uuid_udf; | |
/* | |
DEFINE A `access_log_link` CACHE('hdfs://localhost:54310/user/user/access_log#access_log_link'); |
<?php | |
require("./amazon-sdk/sdk.class.php"); | |
// on ubuntu - this script can be run using php5-cli and php5-curl | |
//Provide the Key and Secret keys from amazon here. | |
$AWS_KEY = "kkk"; | |
$AWS_SECRET_KEY = "kkkk+xKcdkB"; | |
//certificate_authority true means will read CA of amazon sdk and false means will read CA of OS | |
$CA = true; |
gconftool-2 --set --type list --list-type=string /apps/compiz-1/general/screen0/options/active_plugins '[core,composite,opengl,decor,resize,imgpng,unitymtgrabhandles,snap,compiztoolbox,vpswitch,mousepoll,gnomecompat,place,regex,animation,move,staticswitcher,session,unityshell,workarounds]' | |
gconftool-2 --set /apps/compiz-1/plugins/switcher/screen0/options/prev_all_key --type string "Disabled" | |
gconftool-2 --set /apps/compiz-1/plugins/switcher/screen0/options/next_all_key --type string "Disabled" | |
gconftool-2 --set /apps/compiz-1/plugins/switcher/screen0/options/prev_key --type string "Disabled" | |
gconftool-2 --set /apps/compiz-1/plugins/switcher/screen0/options/next_key --type string "Disabled" | |
gconftool-2 --set /apps/compiz-1/plugins/unityshell/screen0/options/alt_tab_prev --type string "Disabled" | |
gconftool-2 --set /apps/compiz-1/plugins/unityshell/screen0/options/alt_tab_forward --type string "Disabled" |
require 'net/http' | |
require 'uri' | |
require 'cgi' | |
require 'time' | |
require 'base64' | |
@accesskey = "adfdlkf" | |
@secretaccesskey = "dfkjldf" | |
opts = {"Action" => "SendEmail", |
aptitude install autoconf automake bison build-essential curl git-core libapr1 libaprutil1 libc6-dev libltdl-dev libreadline6 libreadline6-dev libsqlite3-0 libsqlite3-dev libssl-dev libtool libxml2-dev libxslt-dev libxslt1-dev libyaml-dev ncurses-dev openssl sqlite3 zlib1g zlib1g-dev
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
export PATH="/usr/local/rbenv/bin:$PATH" eval "$(rbenv init -)"
on cmdline
sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-keyring/daemon-components/secrets FALSE
sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-keyring/daemon-components/pkcs11 FALSE
sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-keyring/daemon-components/ssh FALSE
eval `ssh-agent`
echo $SSH_AUTH_SOCK #copy the path that is displayed as a result
#whenever you want a new shell: SSH_AUTH_SOCK= ssh [email protected]
* aptitude install sudo | |
* add the following to /etc/apt/sources.list | |
<pre> | |
deb http://ftp.br.debian.org/debian squeeze main | |
deb-src http://ftp.br.debian.org/debian squeeze main | |
deb http://ftp.br.debian.org/debian squeeze-updates main | |
deb-src http://ftp.br.debian.org/debian squeeze-updates main | |
deb http://security.debian.org/ squeeze/updates main |
require 'fastercsv' | |
require 'csv' | |
require 'net/http' | |
require 'sanitize' | |
#CSV_FILE_PATH = File.join(File.dirname(__FILE__), 'c2i.csv') | |
CSV_FILE_PATH = File.join('/tmp', 'Computers_Accessories_Master.csv') | |
=begin |