Skip to content

Instantly share code, notes, and snippets.

GREEN="%{$fg_bold[green]%}"
YELLOW="%{$fg_bold[yellow]%}"
CYAN="%{$fg_bold[cyan]%}"
RED="%{$fg_bold[red]%}"
MAGENTA="%{$fg_bold[magenta]%}"
BLUE="%{$fg_bold[blue]%}"
RESET="%{$reset_color%}"
new_line()
{
@ebrjose
ebrjose / webstoemp-gulpfile.js
Created October 14, 2019 00:14 — forked from jeromecoupe/webstoemp-gulpfile.js
Gulp 4 sample gulpfile.js. For a full explanation, have a look at https://www.webstoemp.com/blog/switching-to-gulp4/
"use strict";
// Load plugins
const autoprefixer = require("autoprefixer");
const browsersync = require("browser-sync").create();
const cp = require("child_process");
const cssnano = require("cssnano");
const del = require("del");
const eslint = require("gulp-eslint");
const gulp = require("gulp");
@ebrjose
ebrjose / Disable Chrome Autofill
Created September 8, 2019 16:07
Note: lots of info online says the browsers now treat autocomplete='false' to be the same as autocomplete='off'. At least as of right this minute, it is preventing autocomplete for those three browsers. Set it at form level and then for the inputs you want it off, set to some non-valid value like 'none'
<form autocomplete="off">
<input type="text" id="lastName" autocomplete="none"/>
<input type="text" id="firstName" autocomplete="none"/>
</form>
@ebrjose
ebrjose / node.zsh-theme
Created September 5, 2019 16:46
Oh My ZSH Theme
GREEN="%{$fg_bold[green]%}"
YELLOW="%{$fg_bold[yellow]%}"
CYAN="%{$fg_bold[cyan]%}"
RED="%{$fg_bold[red]%}"
MAGENTA="%{$fg_bold[magenta]%}"
BLUE="%{$fg_bold[blue]%}"
RESET="%{$reset_color%}"
PROMPT='λ$CYAN %n% $YELLOW%~ $(git_prompt_info)$RESET
$CYAN$ $RESET'
@ebrjose
ebrjose / cherry-eber.json
Last active July 23, 2019 23:29
My Tilix Themes
{
"background-color": "#1F1726",
"badge-color": "#FFFFFF",
"bold-color": "#FFFFFF",
"comment": "",
"cursor-background-color": "#000000",
"cursor-foreground-color": "#FFFFFF",
"foreground-color": "#DAFAFF",
"highlight-background-color": "#000000",
"highlight-foreground-color": "#FFFFFF",
@ebrjose
ebrjose / README.md
Created August 19, 2018 18:13 — forked from joseluisq/README.md
Install PHP 7 Xdebug in Arch Linux

Install PHP 7 Xdebug in Arch Linux

"Normally", these instructions should be also valid (in similar way) for other Linux distros.

1.- Install Xdebug using pacman:

sudo pacman -Sy xdebug