Skip to content

Instantly share code, notes, and snippets.

View andru255's full-sized avatar
🇵🇪
:)

Andrés Muñoz andru255

🇵🇪
:)
View GitHub Profile

Desarrollador Front-End

Estamos en busca de un Desarrollador Front-End que tenga:

  • Conocimientos en desarrollo de buenos websites en HTML5, CSS y JS.
  • Criterio profesional y Sentido de la responsabilidad.
  • Que sea Autodidacta.
  • Facilidad para trabajar en equipo.
  • Que nunca se quede conforme con lo que sabe.
#ALIAS
#alias ls='ls -F --color=always'
#alias dir='dir -F --color=always'
#alias ll='ls -l'
alias cp='cp -iv'
alias rm='rm -i'
alias mv='mv -iv'
alias grep='grep --color=auto -in'
alias v='vim'
alias ..='cd ..'
@mario21ic
mario21ic / gzip_s3_sync.sh
Last active April 6, 2017 16:51
Script to automatically compress and sync your bucket s3 hosted static website
#!/bin/bash
DIR=`pwd`
SRC_DIR=$1
BUCKET=$2
TMP_DIR="/tmp/gzsync"
mkdir -p $TMP_DIR
# check that we have a trailing slash
[[ $BUCKET != */ ]] && BUCKET="$BUCKET"/
@jessesquires
jessesquires / generics_playground.swift
Last active June 27, 2018 02:19
Swift optional generic parameters?
protocol FactoryAType {
typealias Product
}
protocol FactoryBType {
typealias Product
}
@mario21ic
mario21ic / docker_cs
Created October 23, 2015 21:33
Command docker to delete containers with status exited
docker rm $(docker ps -aqf status=exited)
@theothertomelliott
theothertomelliott / AsyncTestingPrimer.m
Created September 8, 2015 16:25
A primer for testing asynchronous calls with XCTest in Objective-C
#import <XCTest/XCTest.h>
@interface AsyncTestingPrimer : XCTestCase
@end
@implementation AsyncTestingPrimer
/*
* This is how not to test async calls
@luissardon
luissardon / event_listener.js
Last active September 29, 2015 15:15
Modulo manejador de eventos
###
Manejador de eventos
@class event_listener
@main test/index
@author Luis Sardon
###
yOSON.AppCore.addModule "event_listener", (Sb) ->
st = {
listeners: []
@jdnichollsc
jdnichollsc / boot.js
Last active January 7, 2024 02:34
Phaser Landscape Orientation
var bootState = {
preload: function () {
this.game.load.image('loading', 'assets/loading.png'); //Load images to show progress bar in the next state
this.game.load.image('loadingborder', 'assets/loadingborder.png');
this.game.stage.backgroundColor = '#A5DEF1'; //Change background color if you want
},
create: function () {
//Configure plugins like better transitions
this.game.stateTransition = this.game.plugins.add(Phaser.Plugin.StateTransition);
this.game.stateTransition.configure({
@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() {
@dirkk0
dirkk0 / main.cpp
Last active July 2, 2024 19:24
Basic SDL2 OpenGL application
// code nicked mainly from here:
// http://lazyfoo.net/tutorials/SDL/50_SDL_and_opengl_2/index.php
/* to compile
### installation on ubuntu
# install compiler etc
sudo apt-get install --yes software-properties-common g++ make
# install sdl2