Skip to content

Instantly share code, notes, and snippets.

View ndrluis's full-sized avatar

Andre Luis Anastacio ndrluis

  • Belo Horizonte, MG - Brazil
  • 03:59 (UTC -03:00)
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

#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;
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "hellobits"
config.vm.box_url = "http://hellobits.com/vagrant/hellobits.box"
config.vm.synced_folder ".", "/Projects", id: "vagrant-root"
# config.vm.network :private_network, ip: "192.168.50.2"
forward_port = ->(guest, host = guest) do
@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
@ndrluis
ndrluis / ruby.sh
Created October 31, 2012 19:59 — forked from fnando/ruby.sh
Install Ruby
#!/usr/bin/env bash
INSTALL_DIR="${INSTALL_DIR:-/opt/local}"
VERSION=$2
APP_NAME="ruby"
URL="http://ftp.ruby-lang.org/pub/ruby/ruby-$VERSION.tar.bz2"
PREFIX="$INSTALL_DIR/$APP_NAME/$VERSION"
CURRENT="$INSTALL_DIR/$APP_NAME/current"
TGZ="$INSTALL_DIR/src/$(basename $URL)"
COMMAND=$1
@ndrluis
ndrluis / ux_referencias
Last active October 12, 2015 01:47 — forked from eshiota/ux_referencias
UX para Developers - Referências
# UX para Developers - Referências
## Soluções prontas
- jQuery Mobile (http://www.jquerymobile.com)
- HTML 5 Boilerplate (http://html5boilerplate.com)
## Ferramentas
- Spin.js (http://fgnass.github.com/spin.js)
@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
@ndrluis
ndrluis / Gemfile
Last active August 29, 2015 14:11 — forked from akitaonrails/Gemfile
source 'http://rubygems.org'
gem 'mechanize'
gem 'typhoeus'
gem 'rmagick'
gem 'prawn'
gem 'fastimage'
# Git pre-commit hook to check all staged Ruby (*.rb/haml/coffee) files
# for Pry binding references
#
# Installation
#
# ln -s /path/to/pre-commit.sh /path/to/project/.git/hooks/pre-commit
#
# Based on
#
# http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/