- Es mejor hacer que pensar.
- Desconfiar de los expertos.
- Leer libros que hayan pasado la prueba del tiempo.
- Tengo que leer más clásicos.
- No me gustan los grupos.
- Las actividades de integración me desintegran.
- No desayunar me da claridad (sí no tengo que moverme mucho).
- Me gusta la comida vegana.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 folder_path" | |
exit 1 | |
fi | |
# get the input folder path | |
folder="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use colorsys::{Hsl, Rgb}; | |
use core::ops::Add; | |
use core::ops::Div; | |
use core::ops::Mul; | |
use core::ops::Sub; | |
use image; | |
use noise::{NoiseFn, Perlin}; | |
use num::Complex; | |
use std::cmp; | |
use std::str::FromStr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Creates a data loader. | |
Accepts a batch function that should return a promise | |
that resolves with the list of values fetched for | |
each of the keys */ | |
function createLoader(batch) { | |
const keys = [] | |
const resolvers = [] | |
//Here's the magic, accumulate calls and run them on the next tick |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"outDir": "/Users/runner/work/diagram-codes-solution/diagram-codes-solution/desktop/dist", | |
"artifactPaths": [ | |
"/Users/runner/work/diagram-codes-solution/diagram-codes-solution/desktop/dist/Diagram.codes Studio-1.0.29-mac.zip", | |
"/Users/runner/work/diagram-codes-solution/diagram-codes-solution/desktop/dist/Diagram.codes Studio-1.0.29.dmg.blockmap", | |
"/Users/runner/work/diagram-codes-solution/diagram-codes-solution/desktop/dist/Diagram.codes Studio-1.0.29.dmg", | |
"/Users/runner/work/diagram-codes-solution/diagram-codes-solution/desktop/dist/Diagram.codes Studio Setup 1.0.29.exe.blockmap", | |
"/Users/runner/work/diagram-codes-solution/diagram-codes-solution/desktop/dist/Diagram.codes Studio Setup 1.0.29.exe" | |
], | |
"platformToTargets": {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "sub_HAwfLuEoLetEJ3", | |
"object": "subscription", | |
"application_fee_percent": null, | |
"billing_cycle_anchor": 1588008574, | |
"billing_thresholds": null, | |
"cancel_at": null, | |
"cancel_at_period_end": false, | |
"canceled_at": null, | |
"collection_method": "charge_automatically", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as states from './enumMatchStates' | |
/** | |
* Simple State machine in charge of updating the | |
* current match state. | |
* This state machine is used to drive the UI | |
*/ | |
const transitions = { | |
START:'start', | |
NEXT_MOVE:'nextMove', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mm-service-rating-header-container { | |
border-bottom: solid 1px #DFE3E8; | |
background: #fff url(https://i.imgur.com/VtBQufY.png) no-repeat 0 0; | |
height: 80px; | |
background-size: 400px; | |
background-position-y: 50%; | |
} | |
.mm-service-rating-footer-container { | |
border-top: solid 1px #DFE3E8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Snow Leo ships with ctags not suitable for Ruby development. Ie if you try to generate tags recursively, it will error out: | |
$ ctags -R | |
ctags: illegal option -- R | |
usage: ctags [-BFadtuwvx] [-f tagsfile] file ... | |
$ which ctags | |
/usr/bin/ctags | |
homebrew to the rescue: |
NewerOlder