Skip to content

Instantly share code, notes, and snippets.

View wellingtonpgp's full-sized avatar
🎯
Focusing

Wellington Pereira Gonçalves wellingtonpgp

🎯
Focusing
View GitHub Profile
drop table versao;
drop table modelo;
drop table marca;
drop sequence seq_id_marca;
create table marca (
id_marca number(7) constraint pk_marca primary key,
nome_marca varchar2(120) not null unique,
ativo char(1) not null,
constraint marca_ativo check(ativo in('S', 's', 'N', 'n'))
@wellingtonpgp
wellingtonpgp / gist:93849126902b16c272d17b1f2119ced2
Created January 18, 2018 14:54 — forked from rolka/gist:9407277
Git: push new local branch to remote
git push -u origin newLocalBranch
@wellingtonpgp
wellingtonpgp / Vagrantfile
Created October 9, 2017 18:53
Ruby on Rails
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@wellingtonpgp
wellingtonpgp / setup.sh
Last active October 9, 2017 21:16
setup sh para usar vagrant e docker com ruby on rails
RUBY_VERSION="2.4.0"
RAILS_VERSION="5.0.2"
MYSQL_PASSWORD="123456"
GIT_USER_NAME="wellingtongeek"
GIT_USER_EMAIL="wellingtongeek@gmail.com"
NODE_VERSION="6"
echo
@wellingtonpgp
wellingtonpgp / gulpfile.js
Created September 21, 2017 18:39
Exemplo1
var gulp = require("gulp");
var sass = require("gulp-sass");
gulp.task("compilar-css", function(){
return gulp.src("./source/sass/*.scss")
.pipe(sass())
.pipe(gulp.dest("./dist/css"));
});
gulp.task('mova', function(){
@wellingtonpgp
wellingtonpgp / sources.list
Created August 26, 2017 20:13 — forked from pichuang/sources.list
Kali Linux source.list /etc/apt/sources.list
deb http://kali.cs.nctu.edu.tw/ /kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/ /wheezy main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali-dev main/debian-installer
deb-src http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali main/debian-installer
deb-src http://kali.cs.nctu.edu.tw/kali kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free
deb-src http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free
@wellingtonpgp
wellingtonpgp / tsconfig.json
Created August 24, 2017 03:00
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": true
}
}
@wellingtonpgp
wellingtonpgp / settings.json
Created August 24, 2017 02:59
settings.json .vscode
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.js": {
"when": "$(basename).ts"
},
@wellingtonpgp
wellingtonpgp / task.json
Created August 24, 2017 02:59
tasks.json tyscript
{
"version": "0.1.0",
"command": "tsc",
"isShellCommand": true,
"args": ["-p", "."],
"showOutput": "always",
"problemMatcher": "$tsc"
}
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
apt-cache policy docker-engine
sudo apt-get install -y docker-engine