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
version 7.0 | |
if &cp | set nocp | endif | |
let s:cpo_save=&cpo | |
set cpo&vim | |
let &cpo=s:cpo_save | |
unlet s:cpo_save | |
set cscopeprg=/usr/bin/cscope | |
set cscopetag | |
set cscopeverbose | |
set fileencodings=utf-8,latin1 |
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
" Include user's local vim before config | |
if filereadable(expand("~/.vimrc.before")) | |
source ~/.vimrc.before | |
endif | |
"" | |
"" Basic Setup | |
"" | |
set nocompatible " use vim, no vi defaults |
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
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
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 | |
IPLIST="ips.txt" | |
while read IP; do | |
echo "" | |
echo "$IP" | |
whois "$IP" | grep descr | |
whois "$IP" | grep changed | |
dig -x "$IP" +short | head -1 |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
import tweepy #https://github.com/tweepy/tweepy | |
import csv | |
#Twitter API credentials | |
consumer_key = "" | |
consumer_secret = "" | |
access_key = "" |
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 configuration is as close to 2.5.x default behavior as possible | |
The values closely match ./gmond/metric.h definitions in 2.5.x */ | |
globals { | |
daemonize = yes | |
setuid = yes | |
user = ganglia | |
debug_level = 0 | |
max_udp_msg_len = 1472 | |
mute = no | |
deaf = no |
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
# _____ _ _ | |
#/ __ \ | | | | | |
#| / \/_ __ __ _| |__ __ _ _ __ _ __ | | ___ | |
#| | | '__/ _` | '_ \ / _` | '_ \| '_ \| |/ _ \ | |
#| \__/\ | | (_| | |_) | (_| | |_) | |_) | | __/ | |
# \____/_| \__,_|_.__/ \__,_| .__/| .__/|_|\___| | |
# | | | | | |
# |_| |_| | |
#### BASICS |
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
# __________ .__ | |
# \______ \_______|__|____ _______ | |
# | | _/\_ __ \ \__ \\_ __ \ | |
# | | \ | | \/ |/ __ \| | \/ | |
# |______ / |__| |__(____ /__| | |
# \/ \/ | |
# | |
#### BASICS |
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
(function(a) { | |
a.fn.swiftfilter = function(b) { | |
jQuery(this).each(function() { | |
jQuery(this)._swiftfilter() | |
}) | |
}; | |
a.fn._swiftfilter = function(l) { | |
l = a.extend(l, a(this).data()); | |
var c = a.extend({ | |
container: "html", |
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
{"created_at":"Thu Jul 21 09:11:50 +0000 2016","id":756054063439982593,"id_str":"756054063439982593","text":"RT @Mojahedineng: #Iran #News Merkel says no one wants prolonged period of Brexit limbo https://t.co/zFb8Wl8V3q https://t.co/vY7rMeqVzx","source":"<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Mobile Web (M2)</a>","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":2395606770,"id_str":"2395606770","name":"Esmail Abobakr","screen_name":"Esmail_Abobakr","location":"City of London, England","url":"http://mojahedin.org","description":"Human rights","protected":false,"verified":false,"followers_count":512,"friends_count":356,"listed_count":25,"favourites_count":0,"statuses_count":22910,"created_at":"Tue Mar 18 04:30:09 +0000 2014","utc_offset":null,"time_zone":null,"geo_enabled":false,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_col |