Skip to content

Instantly share code, notes, and snippets.

View bialikover's full-sized avatar

Adán G. Galván González bialikover

View GitHub Profile
### WHAT
### HOW TO TEST
```
```
### WHAT TO CHECK
@bialikover
bialikover / chromeDevToolsSnippetExample.js
Created August 24, 2015 19:59
Autoload performance chrome snippets (gleb)
(function firstPaintRemote() {
// form rawGit proxy url
var ghUrl = 'bahmutov/code-snippets/master/first-paint.js';
var rawUrl = 'https://rawgit.com/' + ghUrl;
// download and run the script
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = rawUrl;
head.appendChild(script);
@bialikover
bialikover / export.sh
Last active August 18, 2017 00:20
git branch purge/prune alias
alias gbpurge='git branch --merged | grep -v "\*" | grep -v "master" | grep -v "develop" | grep -v "staging" | xargs -n 1 git branch -d'
alias gbprune='git remote prune origin'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Seti_Mod</string>
<key>settings</key>
<array>
<!-- ====================================
General
@bialikover
bialikover / gist:ebeacaef8bbe8013dc89
Created February 24, 2016 21:08 — forked from stuart11n/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@bialikover
bialikover / How to quickly ts from vscode.md
Created March 16, 2016 07:07
vscode settings for quick ts support

#VSCode Quick TS setup:

on .vscode/tasks.json root folder:

// create js from ts file
{
    "version": "0.1.0",
    // The command is tsc. Assumes that tsc has been installed using npm install -g typescript
    "command": "tsc",
@bialikover
bialikover / blogentries.md
Last active July 11, 2016 23:07
Entradas de blog 2015 y 2016

Escribir de:

  • tarjeta de credito en us: como conseguir una tarjeta de crédito sin historial crediticio.
  • que pasa cuando tu disco duro ssd crashea
  • Que implica moverse a un nuevo pais ( checklist )
  • [] viviendo con un chromebook
  • [] Consejos sobre compañias que dan visas TN
  • [] Seguros medicos en estados unidos(cuidado con registrarte en paginas y dejar tu numero de telefono!)
  • [] Como llevar una relación de pareja a distancia ( Skype I love you).
  • [] Que implica Trabajar en WDW y vivir en orlando, Too corporate to be true ( dresscode en wdw team disney)
@bialikover
bialikover / helloworld.go
Created October 25, 2016 23:40
readinput go
package main
import (
"fmt"
"bufio"
"os"
)
func main() {
reader := bufio.NewReader(os.Stdin)
@bialikover
bialikover / driver3.py
Last active October 8, 2017 21:26
8 puzzle implementation
import time
import resource
from collections import deque
# Global Constants
DIMENSIONS = 3
DIRECTIONS = {"U": -1, "D": 1, "L": -1, "R": 1}
UPPER_BOUND = 0
LEFT_BOUND = 0
DOWN_BOUND = DIMENSIONS - 1
RIGHT_BOUND = DIMENSIONS - 1
@bialikover
bialikover / sketch-snippets.js
Last active October 9, 2018 05:26
sketch-snippets
// Get class name from object:
new String(target.class()).concat()