Skip to content

Instantly share code, notes, and snippets.

View oscargicast's full-sized avatar
🐍
To the infinity and beyond

Oscar oscargicast

🐍
To the infinity and beyond
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@oscargicast
oscargicast / out
Created June 9, 2014 10:04
output when install SimpleCV, using a virtualenv called simplecv
running install
running bdist_egg
running egg_info
writing SimpleCV.egg-info/PKG-INFO
writing top-level names to SimpleCV.egg-info/top_level.txt
writing dependency_links to SimpleCV.egg-info/dependency_links.txt
writing entry points to SimpleCV.egg-info/entry_points.txt
reading manifest file 'SimpleCV.egg-info/SOURCES.txt'
writing manifest file 'SimpleCV.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
@oscargicast
oscargicast / example.py
Created June 9, 2014 09:55
simple example simplecv
import SimpleCV
camera = SimpleCV.Camera()
image = camera.getImage()
image.show()
#!/usr/bin/env python
import os
import shlex
import struct
import platform
import subprocess
def get_terminal_size():
""" getTerminalSize()
@oscargicast
oscargicast / vimrc.local
Last active August 29, 2015 14:02
local vim configuration using spf13
if $TERM == "xterm-256color"
set t_Co=256
endif
colorscheme jelleybeans
set guifont=Monaco:h12
let NERDTreeQuitOnOpen=0
map <C-J> <C-W>j
map <C-K> <C-W>k

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using:

@oscargicast
oscargicast / init.md
Created March 15, 2014 08:06
Iniciando con django

mkdir tutorial-django cd tutorial-django

virtualenv venv source venv/bin/activate

mkdir src cd src

@oscargicast
oscargicast / gg.md
Last active August 29, 2015 13:56
clase Giorgio

VPS

+digitalocean* +linode +rackspace

amazon web service - EC2

amazon S3 - storage

"vemos las diferecias entre nuestra entidad en symfony y la db"
$ php app/console doctrine:schema:update --dump-sql
"ejecutamos comandos sql para realizar los cambios anteriores"
$ php app/console doctrine:schema:update --force
$ php app/console doctrine:generate:entities --help
"genera getter and setter para la entidad HackspaceUniChatBundle"
$ php app/console dorctrine:generate:entities HackspaceUniChatBundle:Mensaje
@oscargicast
oscargicast / README.md
Last active April 29, 2017 19:24
Configuracion de entorno de desarrollo para python.

Configuracion de entorno de desarrollo para python

Esta configuracion sera usada bajo el SO Ubuntu.

Atentamente. Comunidad python-uni

GIT