Skip to content

Instantly share code, notes, and snippets.

View ronaldooliveiradevbr's full-sized avatar
🎯
Focusing

Ronaldo Oliveira ronaldooliveiradevbr

🎯
Focusing
View GitHub Profile
@jgranick
jgranick / gist:1763850
Created February 8, 2012 01:05
NMML File Specification
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- <meta />
Use meta nodes to set metadata for your application. The description is ignored
on most targets, but is useful for packaging like Chrome Apps or Opera Widgets.
For compatibility with Android and webOS, the package name must include at least
@squarism
squarism / iterm2.md
Last active November 18, 2024 09:15
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@webbgeorge
webbgeorge / bitbucket-pipelines.yml
Created June 9, 2016 10:26
Example bitbucket pipelines config for PHP project
image: phpunit/phpunit:4.6.10
pipelines:
default:
- step:
script:
- pecl install xdebug && echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini
- composer --version
- composer install
- vendor/bin/phpunit --version
@luzfcb
luzfcb / configurar_pyenv.md
Last active November 1, 2024 13:03
instalar pyenv no ubuntu