Skip to content

Instantly share code, notes, and snippets.

View shackra's full-sized avatar

Jorge Araya Navarro shackra

View GitHub Profile
@shackra
shackra / .hgignore
Created August 11, 2014 18:08
.hgignore python template
syntax: glob
.gitignore
node_modules
.c9revisions
.DS_Store
Thumbs.db
*.pyc
*.pyo
@shackra
shackra / emacs-init.el
Created October 16, 2014 03:09
Mi archivo emacs lisp generado a partir del archivo emacs-init.org (este archivo no se actualiza)
;;(toggle-debug-on-error)
;;(toggle-debug-on-quit) ;; Se activa cuando el usuario presiona C-g
(setf user-full-name "Jorge Araya Navarro"
user-mail-address "elcorreo@deshackra.com")
(setf package-archives (list (quote ("gnu" . "http://elpa.gnu.org/packages/"))
(quote ("marmalade" . "http://marmalade-repo.org/packages/"))
(quote ("melpa" . "http://melpa.milkbox.net/packages/"))
@shackra
shackra / config.json
Created November 19, 2014 22:25 — forked from anonymous/config.json
visual web scraper custom bootstrap
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",

Keybase proof

I hereby claim:

  • I am shackra on github.
  • I am shackra (https://keybase.io/shackra) on keybase.
  • I have a public key whose fingerprint is 1285 E187 FDE4 EF93 444F 75F9 A3CD CDE9 39A2 64EE

To claim this, I am signing this object:

@shackra
shackra / GpsUtils.cs
Created February 4, 2018 02:17 — forked from govert/GpsUtils.cs
Convert WGS-84 geodetic locations (GPS readings) to Cartesian coordinates in a local tangent plane (Geodetic to ECEF to ENU)
using System;
using System.Diagnostics;
// Some helpers for converting GPS readings from the WGS84 geodetic system to a local North-East-Up cartesian axis.
// The implementation here is according to the paper:
// "Conversion of Geodetic coordinates to the Local Tangent Plane" Version 2.01.
// "The basic reference for this paper is J.Farrell & M.Barth 'The Global Positioning System & Inertial Navigation'"
// Also helpful is Wikipedia: http://en.wikipedia.org/wiki/Geodetic_datum
public class GpsUtils
@shackra
shackra / character.gd
Created February 14, 2018 05:25
FSM and Orientation
extends KinematicBody2D
enum ORIENTATION {
UP,
DOWN,
LEFT,
RIGHT
}
enum STATES {
@shackra
shackra / .git-commit-template.txt
Last active February 16, 2018 18:35 — forked from adeekshith/.git-commit-template.txt
This commit message template that helps you write great commit messages and enforce it across your team.
# ⬆ <Type>: Si se aplica, este commit...
# ⬇ Explique por que este cambio esta siendo realizado:
# ⬇ Provea enlaces o tiquetes relevantes, artículos u otros recursos
# --- COMMIT END ---
@shackra
shackra / genres.json
Created April 21, 2018 01:58
Video game genres
{
"__comment": "Took from http://tvtropes.org/pmwiki/pmwiki.php/Main/VideogameGenres you need to do the grouping in your script to combine the incompatible genres!",
"genres":
{
"Action-Adventure": "A game that combines parts from Adventure Games and Action Games together.",
"Metroidvania": "A game that combines parts from Adventure Action Games and Platform Games together. Features emphasis on exploring an interconnected environment and obtaining skills necessary to reach new areas of said environment.",
"Stealth-Based Game": "A game in which the player character must hide and sneak through the level while avoiding notice from much more powerful enemies that the player character cannot take head-on.",
"Survival Sandbox": "A game where the primary objective is to survive for as long as possible in a hostile environment. Also known as Survival Game.",
"Survival Horror": "A game that features overwhelmed protagonist(s), oppressive atmosphere based on Horror conventions and a need for c
@shackra
shackra / estudios.md
Last active December 10, 2018 16:49
Estudios sobre las diferencias de prioridades e intereses en hombres y mujeres asi como diferencias en salarios
@shackra
shackra / profiler-report.el
Created January 1, 2019 00:28
profile of rjsx-mode while editing a file with 397 lines, 1235 words, and 18496 characters.
[profiler-profile "24.3" cpu #s(hash-table size 730 test equal rehash-size 1.5 rehash-threshold 0.8125 data ([maphash profiler-calltree-build-unified profiler-calltree-build profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute "#<compiled 0x389fa95>" ivy-call ivy-read] 3 ["#<compiled 0x3d78691>" maphash profiler-calltree-build-unified profiler-calltree-build profiler-report-render-calltree-1 profiler-report-rerender-calltree profiler-report-render-calltree profiler-report-setup-buffer profiler-report-profile-other-window profiler-report-cpu profiler-report funcall-interactively call-interactively command-execute "#<compiled 0x389fa95>" ivy-call] 4 [profiler-calltree-find "#<compiled 0x3d7ecc9>" maphash profiler-calltree-build-unified profiler-calltree-build profiler-report-render-calltree-1 profiler-report