Skip to content

Instantly share code, notes, and snippets.

View cedxix's full-sized avatar
🏠
Working from home

dougson_ cedxix

🏠
Working from home
View GitHub Profile
@cedxix
cedxix / affmar.yml
Created September 5, 2017 08:00
Tmuxinator config
# ~/.tmuxinator/affmar.yml
name: affmar
root: ~/projects/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
@cedxix
cedxix / parse_kml.py
Created June 8, 2017 13:11 — forked from kevin1024/parse_kml.py
kml to geojson
from xml.etree import ElementTree
from shapely.geometry import Polygon, Point
import json
poly_table = []
data = open('/tmp/chicago.kml')
tree = ElementTree.parse(data)
namespace = tree.getroot().tag[1:].split("}")[0]
placemarks = tree.findall(".//{%s}Placemark" % namespace)
@cedxix
cedxix / tmux.conf
Created May 2, 2017 13:11 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@cedxix
cedxix / .gitconfig
Created May 2, 2017 12:17 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
@cedxix
cedxix / introrx.md
Created April 19, 2017 08:48 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@cedxix
cedxix / node-folder-structure-options.md
Created July 13, 2016 15:47 — forked from lancejpollard/node-folder-structure-options.md
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin
@cedxix
cedxix / gist:89871d7995400532a311
Created December 31, 2015 08:42
Configurações para o Sublime como IDE para PHP / JS
Finalmente, agora eu tenho tudo quase perfeito com o Sublime, só me falta mesmo é um Outline para fechar de vez.
Template para projetos Symfony:
{
"folders":
[
{
"path": ".",
"folder_exclude_patterns": ["bundles", "assets", "cache"]