Skip to content

Instantly share code, notes, and snippets.

View crguezl's full-sized avatar
🌋

Casiano Rodriguez-Leon crguezl

🌋
View GitHub Profile
@crguezl
crguezl / .gitignore
Last active November 9, 2020 14:50
Promise simple example
.vscode
@crguezl
crguezl / .gitignore
Created March 20, 2018 08:59 — forked from DTrejo/.gitignore
How to Readline - an example and the beginnings of the docs
node_modules/
@crguezl
crguezl / package.json
Last active March 18, 2018 12:30
prueba de funcionamiento del módulo npm @crguezl/eloquentjsegg
{
"name": "check-crguezl-eloquentjsegg",
"version": "1.0.0",
"description": "Check the package @crguezl/eloquentjsegg",
"scripts": {
"compile": "eggc node_modules/@crguezl/eloquentjsegg/examples/one.egg",
"run": "evm node_modules/@crguezl/eloquentjsegg/examples/one.egg.evm",
"test": "egg node_modules/@crguezl/eloquentjsegg/examples/two.egg",
"start": "egg node_modules/@crguezl/eloquentjsegg/examples/sum.egg"
},
@crguezl
crguezl / javascript_ANSI_escape_codes.md
Created February 27, 2018 12:32 — forked from leommoore/javascript_ANSI_escape_codes.md
JavaScript - ANSI Escape Codes

#JavaScript - ANSI Escape Codes

ANSI Escape Codes are special characters which can be used to control formatting, colors or other output preferences in a text terminal. Escape Codes are non-printing code and will not appear in the output directly.

  • \033 begins the escape sequence
  • [ indicates the color
  • 33 is the foreground color for yellow
  • m indicates the end of the setting

Note: \033[39m is used set the color back to the terminal defult

@crguezl
crguezl / README.md
Last active May 9, 2016 18:01
Modal box examples
@crguezl
crguezl / README.md
Last active April 23, 2016 19:01
conducta extraña en gitbook-plugin?

Que pasa?

Se observan varias conductas anómalas o bugs en este ejemplo.

  • El markdown no parece funcionar en la parte del enunciado.
  • Quiero hacer la ventana de entrada del editor mas grande y no lo consigo
  • Creo que la regexp debería funcionar sobre la solución y está fracasando!.
    • Parece que cuando hago click en el botón solution la solución está TRUNCADA!!!

Ejercicio

@crguezl
crguezl / cookie-session-ex.js
Last active April 14, 2023 04:00
express-session example
@crguezl
crguezl / arithmetic.pegjs
Created April 19, 2016 14:22 — forked from anujku/arithmetic.pegjs
Simple Arithmetics Grammar
/*
* Simple Arithmetics Grammar
* ==========================
*
* Accepts expressions like "2 * (3 + 4)" and computes their value.
*/
{
function combine(first, rest, combiners) {
var result = first, i;
# tasks for populateacrossdatabases.js
desc "mongod on 27000"
task :mongo2 do
sh "mongod --port 27000 --dbpath /tmp/m2"
end
desc "mongod on 27001"
task :mongo1 do
sh "mongod --port 27001 --dbpath /tmp/m1"
end