Skip to content

Instantly share code, notes, and snippets.

View adamsalves's full-sized avatar
:octocat:
Focusing

Adams Alves adamsalves

:octocat:
Focusing
View GitHub Profile
@adamsalves
adamsalves / gulpfile.js
Last active October 9, 2015 00:23
Gulpfile - Deploy Task
var gulp = require('gulp');
var ghPages = require('gulp-gh-pages');
gulp.task('deploy', function() {
return gulp.src('./dist/**/*')
.pipe(ghPages());
});
@adamsalves
adamsalves / gulpfile.js
Created October 9, 2015 00:26
Gulpfile - Final Deploy Task
var gulp = require('gulp');
var ghPages = require('gulp-gh-pages');
gulp.task('deploy', function() {
return gulp.src('./dist/**/*')
.pipe(ghPages({
remoteUrl: 'https://github.com/youruser/youruser.github.io.git',
branch: 'master'
}));
});
Verifying that +adams_alves is my blockchain ID. https://onename.com/adams_alves
@adamsalves
adamsalves / Teste-JS-Focus
Created January 11, 2019 01:17
Teste JS Focus
// Teste: código fonte disponível em http://github.com/Spagiari/jstest
// Avalie as funções abaixo e responda as perguntas.
var a;
function teste1() {
var a = 3;
}
teste1();
console.log(a === 3);