Skip to content

Instantly share code, notes, and snippets.

Avatar

Cristobal Avila xtbl

View GitHub Profile
@xtbl
xtbl / tweet_image_dumper.py
Created Apr 21, 2020 — forked from freimanas/tweet_image_dumper.py
Get twitter user's photo url's from tweets - download all images from twitter user
View tweet_image_dumper.py
#!/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 Oct 30, 2015 — forked from snuggs/.tmux.conf
TMUX configuration file
View .tmux.conf
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
#
# COPY AND PASTE
@xtbl
xtbl / vim_useful_stuff
Last active Aug 29, 2015
vim useful stuff
View 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 Jul 23, 2015
Basic vimrc file
View .vimrc
filetype on
syntax on
colorscheme mustang
set number
set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
View Git Alias.gitconfig
[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 Aug 29, 2015
example_testing_jasmine
View example_testing.js
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){
View Contract Killer 3.md

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

View python_snippets.py
# ExampleSnippets.txt
----------------------------------------------------------
*********************
CHAPTER 2:
*********************
--- HelloWorld ---
@xtbl
xtbl / bower.json
Created Apr 3, 2014
AngularJS Boilerplate updated dependencies April 2014
View bower.json
{
"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",
You can’t perform that action at this time.