Skip to content

Instantly share code, notes, and snippets.

View ndrluis's full-sized avatar

Andre Luis Anastacio ndrluis

View GitHub Profile
@ndrluis
ndrluis / tmux-ngrok.md
Created May 19, 2021 12:53 — forked from keithpitty/tmux-ngrok.md
Pairing with tmux and ngrok

Steps for Remote Pairing using tmux and ngrok

The following steps facilitate remote pairing using:

  • tmux which allows terminal sessions to be attached to different terminals, and
  • ngrok which provides secure tunnels to your localhost

1. Install tmux

OS X: brew install tmux

@ndrluis
ndrluis / keybase.md
Last active September 21, 2020 19:59

Keybase proof

I hereby claim:

To claim this, I am signing this object:

#include <Cocoa/Cocoa.h>
#include <mono/metadata/appdomain.h>
#include <mono/metadata/assembly.h>
#include <mono/metadata/image.h>
#include <mono/metadata/class.h>
#include <mono/metadata/object.h>
// http://www.jerrodputman.com/2010/01/10/the-unityobjective-c-divide/
MonoMethod *update_method;

Project

Command Action
[SPC] p p List projects
[SPC] p f Fuzzy finder
[SPC] p t Open Tree view

Ruby/Rails

# ~/.tmuxinator/gas_manager.yml
name: gas_manager
root: ~/projects/personal/gas_manager
windows:
- editor: vim .
- server: layout: main-horizontal
panes:
- bundle exec rails s
- bundle exec rails c
@ndrluis
ndrluis / 0_reuse_code.js
Created November 9, 2015 13:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/69/p71lfqp573vg49p3d87vzzhm0000gn/T/libgdxandreluis/553733341/liblwjgl.dylib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at org.lwjgl.Sys$1.run(Sys.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:95)
at org.lwjgl.Sys.<clinit>(Sys.java:112)
at org.lwjgl.openal.AL.<clinit>(AL.java:59)
@ndrluis
ndrluis / map-parser.es6
Last active August 29, 2015 14:18
Alma Map Editor
import _ from 'underscore'
export class MapParser{
constructor(mapString){
this.mapString = mapString
}
sizes() {
let match = this.mapString.match(/([0-9]*)&/)[1]
@ndrluis
ndrluis / native.rb
Last active August 29, 2015 14:15 — forked from andrewhr/native.rb
require 'native'
doc = Native(`document`)
puts %Q[Object instance of #{doc.body.class} for "#{doc.title}"]
puts %Q[Body DOM element class: "#{doc.body.className}"]
# => Object instance of Native::Object for "Try Opal: Browser compiler and REPL"
# => Body DOM element class: "try try_index"
*Problemas
- Ensino x Aprendizado
-- Faculdade:
-- Os alunos não gostam de computação, não veem perspectivas
-- Não sabe que caminho seguir (Area muito ampla)
- As pessoas não compartilham os códigos
- Não sabem compartilhar, ou contribuir com projetos
- Falta de mão na massa
- GURU - não desperta interesse em novas pessoas