Skip to content

Instantly share code, notes, and snippets.

View lavaldi's full-sized avatar
💛
Diving into JavaScript

Claudia Valdivieso lavaldi

💛
Diving into JavaScript
View GitHub Profile
@ajamaica
ajamaica / gist:1668839
Created January 24, 2012 08:28
Djando Deploy
# Instalación de paqueterias
sudo apt-get install libapache2-mod-wsgi
# Vamos a la carpeta
cd /etc/apache2
# Agregamos esta linea dentro del http.conf (site 1, site 2, depende la configuración de sus virtual host) Tiene que apuntar directo a un archivo .wsgi que tiene que estar preferente mente alado de la carpeta de su proyecto.
WSGIScriptAlias / /home/ajamaica/django.wsgi
anonymous
anonymous / index.html
Created May 21, 2013 17:46
A CodePen by Junpei Araya. motion graphic typeface.
<canvas id="canvas"></canvas>
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 4, 2024 21:33
A badass list of frontend development resources I collected over time.
@prwhite
prwhite / Makefile
Last active May 2, 2024 18:02
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@anareyna
anareyna / addCoffee.sublime-snippet
Last active May 10, 2016 19:23
Estructura de módulo en coffescript
<snippet>
<content><![CDATA[
###
${2:Module description}
@class ${1:module_name}
@main ${3:flux/account}
@author ${4:Ana Reyna}
###
yOSON.AppCore.addModule "${1:module_name}", (Sb) ->
dom = {}
@anareyna
anareyna / addmodule.sublime-snippet
Created December 14, 2014 23:04
Sublime Snippets
<snippet>
<content><![CDATA[
/**
* ${2:Descripción del módulo}
* @submodule ${3:nombre_del_modulo}
* @main ${1:default}
* @author ${4:Nombre del Autor}
*/
yOSON.AppCore.addModule("${3:nombre_del_modulo}", function(Sb){
@anareyna
anareyna / english-links.md
Last active October 23, 2023 10:55
English
@andru255
andru255 / Readme.md
Last active February 5, 2018 04:09
Single bash to install/uninstall a specific version of emacs editor (24.5)

IMPORTANT NOTE: Only tested under linux/debian 7.0

For use this bash it needs run in the $HOME folder and execute this command:

~ sudo chmod +x install_emacs_24.5.sh

Then:

~ ./install_emacs_26.sh

@frontend-3
frontend-3 / gist:360d9f15657139adba00
Created July 6, 2015 16:26
Bash para git pull y push en branch actual
function current_branch() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo ${ref#refs/heads/}
}
function gpull() {
git pull origin $(current_branch)
}
function gpush() {

IMPORTANT NOTE: Tested in macOS

For use this bash it needs run in the $HOME folder and execute this command:

~ sudo chmod +x install_vim.sh

Then:

~ ./install_vim.sh