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
anonymous
anonymous / index.html
Created May 21, 2013 17:46
A CodePen by Junpei Araya. motion graphic typeface.
<canvas id="canvas"></canvas>
@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() {
@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 / 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 = {}
@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

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

@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

For Mac

brew install youtube-dl
brew install ffmpeg
youtube-dl https://egghead.io/courses/course_name
@tunguskha
tunguskha / Gradient shadow in pure CSS.md
Last active May 4, 2023 06:40
Gradient shadow in pure CSS

Gradient shadow in pure CSS

alt text

HTML
<button>Let's Go !</button>