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
$ brew install --without-python boost |
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
# list all tables | |
verticadb=> \dt * | |
# list only tables with "public" schema | |
verticadb=> \dt public.* |
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
1) list -- list all the tables in Hbase | |
2) create 'test', 'cf' -- creates a table named test and column family cf | |
3) scan ‘test’ -- reads the content of test table | |
4) put 'test', 'row1', 'cf:a', 'value2' -- add a row “row1” to table “test” with value “value2”, value 2 could be a JSON object | |
5) disable 'test' -- disable the table “test” | |
6) drop 'test' -- drop the table “test” | |
7) deleteall 'test', 'row1' -- delete the row “row1” from table “test” | |
8) scan 'table_name', { COLUMNS => 'column_family:column_qualifier', LIMIT => 10 } | |
9) hadoop dfs -rm filename.csv | |
10) hadoop dfs -copyFromLocal filename.csv /user/ankit.rakha/ |
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
MAC OS X 10.8.3 | |
$ cd /Applications/Google\ Chrome.app/Contents/MacOS | |
$ mv Google\ Chrome Chrome | |
Copy the following 2 lines: | |
#!/bin/sh | |
/Applications/Google\ Chrome.app/Contents/MacOS/Chrome --use-spdy=off --use-system-ssl |
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
1. Move the base driver tar file to the directory of your choice. | |
For example, use /home/username/e1000 or /usr/local/src/e1000. | |
2. Untar/unzip archive: | |
tar zxf e1000-x.x.x.tar.gz | |
3. Change to the driver src directory: |
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
// Define function | |
func1(){ | |
... | |
} | |
// Pointer to function | |
void *func1_ptr = func1; | |
// Call to function using pointer | |
(*func1_ptr) (); |
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 http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
// Editors | |
libotf, emacs, vim | |
// System utilities | |
lsof, tcpdump, strace | |
// File packaging utilities | |
zip, unzip |
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
https://benchmarks.cisecurity.org/tools2/linux/CIS_Red_Hat_Enterprise_Linux_6_Benchmark_v1.2.0.pdf |
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
dmidecode -s system-serial-number |
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
org.apache.sqoop.connector.autoupgrade=true | |
org.apache.sqoop.framework.autoupgrade=true |
OlderNewer