We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 55 columns, instead of 13. in line 3.
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
CountryName,CountryCode,1960,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012 | |
Aruba,ABW,65.57,65.99,66.37,66.71,67.04,67.37,67.70,68.03,68.38,68.73,69.09,69.45,69.80,70.14,70.47,70.78,71.08,71.38,71.67,71.95,72.22,72.46,72.67,72.85,72.99,73.10,73.18,73.24,73.30,73.34,73.39,73.43,73.47,73.51,73.54,73.56,73.59,73.61,73.64,73.68,73.72,73.78,73.87,73.97,74.09,74.23,74.38,74.53,74.67,74.82,74.95,75.08,75.21 | |
Afghanistan,AFG,31.58,32.10,32.61,33.13,33.64,34.15,34.66,35.17,35.67,36.17,36.66,37.14,37.61,38.07,38.52,38.97,39.41,39.85,40.29,40.75,41.23,41.76,42.34,42.96,43.64,44.38,45.17,46.00,46.85,47.71,48.57,49.40,50.21,50.99,51.71,52.38,52.97,53.51,53.99,54.43,54.85,55.26,55.67,56.11,56.57,57.06,57.57,58.09,58.61,59.11,59.60,60.07,60.51 | |
Angola,AGO,32.98,33.39,33.79,34.19,34.59,34.99,35.40,35.80,36.21,36.61,37 |
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
###### CPU Info of a Linux machine. | |
### Picked from: http://echorand.me/site/notes/articles/python_linux/article.html | |
from __future__ import print_function | |
from collections import OrderedDict | |
import pprint | |
def cpuinfo(): | |
cpuinfo=OrderedDict() | |
procinfo=OrderedDict() | |
nprocs = 0 |
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
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
#### Command line download script for JDK7 from Oracle website. | |
#### For JDK8, please check: https://gist.github.com/P7h/9741922 | |
#### Oracle does not release JDK 7 public updates effective April, 2015; for more info: http://www.oracle.com/technetwork/java/javase/documentation/eol-135779.html. | |
## Last JDK7 version: JDK7u79 | |
BASE_URL_7=http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79 | |
## Previous versions |
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
/** | |
* Guava API toString() method generator for a JavaBean / POJO. | |
* @return String representation of all the attributes of the bean. | |
*/ | |
public String toString() { | |
#set ($autoImportPackages = "com.google.common.base.Objects") | |
return Objects.toStringHelper(this) | |
#foreach ($member in $members) | |
.add("$member.name", $member.accessor) | |
#end |
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
FindBugs-IDEA -- Static byte code analysis to look for bugs in Java code from within IntelliJ IDEA. | |
GenerateSerialVersionUID -- Generates serialVersionUID field in the current class. | |
Hungry Backspace -- Modifies backspace key to hungrily delete whitespace. | |
Native Neighbourhood -- Shows active file in explorer or opens a command shell in active file's directory. | |
SmarterEditor -- Actions which reduce unnecessary caret movements. | |
TabSwitch -- Windows Alt+Tab like interface for all currently opened files. | |
UpperLowerCapitalize -- To change case to upper, lower, capitalize or invert the case of text. |
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
-startup | |
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar | |
--launcher.library | |
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813 | |
-vm | |
C:/Warez/Java/JDK7.0_10/jre/bin/server/jvm.dll | |
-showsplash | |
org.eclipse.platform | |
--launcher.XXMaxPermSize | |
256m |
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 | |
# Slightly modified code from: http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html | |
# Just add the following in your .bashrc or .zshrc or you can even source it in every session. | |
# Examples: | |
# cd ~/some/very/deep/often-used/directory | |
# $ mark deep | |
# [when you are in other location] $ jump deep | |
# $ marks # for listing all the marks |
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
# This shell script displays hostname and IP Address of the Ubuntu machine before the login prompt. | |
# Add this file to '/etc/network/if-up.d/' and '/etc/network/if-post-down.d/' folders and mark them as executables. | |
# Display Ubuntu default information [the current version of Ubuntu]. | |
cat /etc/issue.net > /etc/issue | |
# Display the hostname. | |
hostname >> /etc/issue | |
# Display the IP Address of eth0. |
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
alias install="sudo apt-get install" | |
alias poweroff="sudo shutdown -h now" | |
alias cd..='cd ..' | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias d='ls' | |
alias df='df -h -x supermount' | |
alias du='du -h' | |
alias egrep='egrep --color' |
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 sed -i 's/raring/saucy/' /etc/apt/sources.list | |
sudo sed -i 's/olivia/petra/' /etc/apt/sources.list | |
sudo sed -i 's/raring/saucy/' /etc/apt/sources.list.d/official-package-repositories.list | |
sudo sed -i 's/olivia/petra/' /etc/apt/sources.list.d/official-package-repositories.list | |
sudo apt-get update && sudo apt-get dist-upgrade | |
sudo apt-get upgrade |