Skip to content

Instantly share code, notes, and snippets.

On vacation

Cedx_ cedxix

On vacation
  • France
View GitHub Profile
cedxix / affmar.yml
Created Sep 5, 2017
Tmuxinator config
View affmar.yml
# ~/.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 /
Created Jun 8, 2017 — forked from kevin1024/
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 / tmux.conf
Created May 2, 2017 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
View tmux.conf
# 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 / .gitconfig
Created May 2, 2017 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
View .gitconfig
name = Pavan Kumar Sunkara
email =
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
smtpencryption = tls
smtpserver =
cedxix /
Created Apr 19, 2017 — forked from staltz/
The introduction to Reactive Programming you've been missing
cedxix /
Created Jul 13, 2016 — forked from lancejpollard/
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 / gist:89871d7995400532a311
Created Dec 31, 2015
Configurações para o Sublime como IDE para PHP / JS
View gist:89871d7995400532a311
Finalmente, agora eu tenho tudo quase perfeito com o Sublime, só me falta mesmo é um Outline para fechar de vez.
Template para projetos Symfony:
"path": ".",
"folder_exclude_patterns": ["bundles", "assets", "cache"]