Skip to content

Instantly share code, notes, and snippets.

@xtbl
xtbl / tweet_image_dumper.py
Created April 21, 2020 20:52 — forked from freimanas/tweet_image_dumper.py
Get twitter user's photo url's from tweets - download all images from twitter user
#!/usr/bin/env python
# encoding: utf-8
import tweepy #https://github.com/tweepy/tweepy
import csv
import sys
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
@xtbl
xtbl / .tmux.conf
Created October 30, 2015 22:01 — forked from snuggs/.tmux.conf
TMUX configuration file
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
#
# COPY AND PASTE
@xtbl
xtbl / vim_useful_stuff
Last active August 29, 2015 14:26
vim useful stuff
http://benfrain.com/learning-vim-front-end-coding-month/
http://dougblack.io/words/a-good-vimrc.html
http://vimawesome.com/
http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim
Vim:
find a word: press escape and then /word
find the next word: press n or /
find the prev work: press ?
@xtbl
xtbl / .vimrc
Created July 23, 2015 02:42
Basic vimrc file
filetype on
syntax on
colorscheme mustang
set number
set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
@xtbl
xtbl / Git Alias.gitconfig
Last active January 30, 2017 17:49
Git Aliases
[user]
name = abc
email = abc
[alias]
co = checkout
fum = !git fetch upstream && git merge upstream/dev
addcom = !git add -A && git commit -m
st = status
codomain = !git checkout src/app/components/common/constants/domains/domains.js
removeallbranches = git branch | grep -v "master" | xargs git branch -D
@xtbl
xtbl / example_testing.js
Last active August 29, 2015 14:20
example_testing_jasmine
var JasmineTester = function() {};
JasmineTester.prototype = {
constructor: JasmineTester,
// Returns true if the given string has more vowel characters (a,e,i,o,u) than consonants, ignoring whitespace
isVowely: function(str){

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@xtbl
xtbl / python_snippets.py
Created April 11, 2014 21:34
Python Snippets
# ExampleSnippets.txt
----------------------------------------------------------
*********************
CHAPTER 2:
*********************
--- HelloWorld ---
@xtbl
xtbl / bower.json
Created April 3, 2014 03:11
AngularJS Boilerplate updated dependencies April 2014
{
"name": "fsog",
"version": "0.0.1",
"devDependencies": {
"angular": "~1.2.15",
"angular-mocks": "~1.0.7",
"bootstrap": "~3.0.3",
"angular-bootstrap": "~0.10.0",
"angular-ui-router": "~0.0.1",
"angular-ui-utils": "~0.0.3",