Skip to content

Instantly share code, notes, and snippets.

View estebancastro's full-sized avatar
🏠
Working from home

Esteban Castro estebancastro

🏠
Working from home
  • 19:23 (UTC -06:00)
View GitHub Profile
@estebancastro
estebancastro / gist:0450d5440379aed139f03f2563d04766
Last active August 22, 2021 06:54
Craft password/hash combos
|--------------|---------------------------------------------------------------|
| *Password* | *Resulting Hash* |
|--------------|---------------------------------------------------------------|
| password | $2y$13$i1fEVeKiboWR/Hx07N9JtuSZj46KNueAg0IgpwL2TId0sXN.oyibC |
|--------------|---------------------------------------------------------------|
| NewPassword | $2y$13$YA.7RIgllODUDcmQPf/.FuXjOmKJYot5QxpFhhf4og9fdJWsIPWK6 |
|--------------|---------------------------------------------------------------|
| admin | $2y$13$Nlvh.kEu8FLIITusfjzQgOIIDryqLnJ3TsV/1UINRCFLfVnjJtILK |
|--------------|---------------------------------------------------------------|
@estebancastro
estebancastro / laravel.gitignore
Last active August 22, 2021 06:55
Laravel gitignore file
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@estebancastro
estebancastro / tailwind-sticky-footer.html
Last active April 17, 2024 04:48
Tailwind Sticky Footer
@estebancastro
estebancastro / task-config.js
Last active April 4, 2019 03:55
Blendid + Tailwind (task config file)
const browserSync = require('browser-sync')
const cssnano = require('cssnano')
const easyImport = require('postcss-easy-import')
const gulpif = require('gulp-if')
const path = require('path')
const postcss = require('gulp-postcss')
const sourcemaps = require('gulp-sourcemaps')
const tailwindcss = require('tailwindcss')
module.exports = {
@estebancastro
estebancastro / .gitignore
Last active June 20, 2020 05:12
Common gitignore file
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@estebancastro
estebancastro / npm_list.sh
Created August 30, 2017 04:06
npm list only top level modules
npm list --depth=0
@estebancastro
estebancastro / gist:471b007904e495cb7c052f99f1f83586
Last active July 12, 2022 01:46
Remove your NPM dependencies, and reinstall from scratch
rm -rf node_modules && npm cache clear && npm install
echo -n 'PHRASE_HERE' | openssl base64 | tr -d '\n' | pbcopy
@estebancastro
estebancastro / money.rb
Last active August 23, 2017 19:25
Ruby currency converter
DOLLAR_COMPRA = 550
DOLLAR_VENTA = 562
# Currency Converter
def convert_dollar_to_colons(amount = 0)
amount * DOLLAR_COMPRA
end
def convert_colons_to_dollar(amount = 0)
amount / DOLLAR_VENTA
// Load plugins
var gulp = require('gulp');
var notify = require('gulp-notify');
var jade = require('gulp-jade');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var autoprefixer = require('gulp-autoprefixer');
var browserSync = require('browser-sync').create();