Skip to content

Instantly share code, notes, and snippets.

View pedrolopez's full-sized avatar

Pedro López pedrolopez

View GitHub Profile
@hesoyamcode
hesoyamcode / gist:d8df3e8761b68a1f25559f59934c03d5
Last active October 10, 2018 18:37
Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: AAPT process not ready to receive commands Ubuntu 64
Set Env variabel (type in your terminal) or set it on .bashrc or .bash_profile
===============================================================================
export ANDROID_HOME=/home/fuadaip/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
intall if not installed
===============================================================================
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 14, 2024 15:40
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@bryanbibat
bryanbibat / upgrading.txt
Created January 18, 2013 17:11
Upgrading Ruby cheatsheet (*nix)
RVM
$ rvm get head
$ rvm upgrade 1.9.3-p362 1.9.3-p374
(if it's not downloading binaries, using an rvm_make_flags like "-j3" can speed things up. see https://rvm.io/workflow/rvmrc/)
rbenv with ruby-build
$ cd ~/.rbenv/plugins/ruby-build
$ git pull
$ rbenv install 1.9.3-p374 MAKE_OPTS="-j3"
$ rbenv rehash
@wlangstroth
wlangstroth / deploy.rb
Last active September 11, 2021 13:15
Capistrano + Nginx + Unicorn + Sinatra on Ubuntu
require 'bundler/capistrano'
set :application, "net"
set :repository, "[email protected]:net.git"
set :scm, :git
set :default_environment, {
'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
}
@bartimaeus
bartimaeus / install-ruby.sh
Created May 31, 2012 19:55 — forked from ryanb/chef_solo_bootstrap.sh
Install Ruby 1.9.3-p286 on Ubuntu 12.04 LTS
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev
# apt-get -y install libmysqlclient-dev # uncomment for mysql support
cd /tmp
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz
tar -xvzf ruby-1.9.3-p286.tar.gz
cd ruby-1.9.3-p286/
./configure --prefix=/usr/local
make