I hereby claim:
- I am taverasmisael on github.
- I am misaeltaveras (https://keybase.io/misaeltaveras) on keybase.
- I have a public key ASBYtUwwv3wLaV7lElGTfa2SnlqDFOM_ch9nV1KTmerymgo
To claim this, I am signing this object:
@echo off | |
if {%1}=={} @echo Syntax: DelFolder FolderPath&goto :EOF | |
if not exist %1 @echo Syntax: DelFolder FolderPath – %1 NOT found.&goto :EOF | |
setlocal | |
set folder=%1 | |
set MT=”%TEMP%\DelFolder_%RANDOM%” | |
MD %MT% | |
RoboCopy %MT% %folder% /MIR | |
RD /S /Q %MT% | |
RD /S /Q %folder% |
# Use: removeLarge.ps1 folder_you_want_to_delete | |
param([String]$folder='.\node_modules') | |
mkdir empty_dir | |
robocopy empty_dir $folder /s /mir | |
rmdir empty_dir | |
rmdir $folder |
const {prop, split, fromPairs, fromPairs, map, compose, tail} = R // from RamdaJS | |
export const URLSearchToObject = compose( | |
fromPairs, | |
map(split('=')), | |
compose( | |
split('&'), | |
tail | |
) | |
) |
{ | |
"current_page": 1, | |
"data": [ | |
{ | |
"id": 3, | |
"name": "Campaña Mexico II", | |
"vertical": { | |
"id": 2, | |
"name": "Adult" | |
}, |
{ | |
"Create BEM Block": { | |
"prefix": "BEMBlock", | |
"body": [ | |
"\\$block: '${1:Block}';", | |
"", | |
".#{\\$block} {", | |
"\t$2", | |
"}" | |
], |
// Some helper functions. Self-explanatories | |
const equal = (a, b) => a === b | |
const length = a => a.length | |
const not = a => !a | |
const lengthEqual = (arr, val) => equal(length(arr), val) | |
const lastIndex = arr => length(arr) - 1 | |
/** | |
* This function returns a string based on a names array composing the 'People reacted to this' from facebook. | |
* It takes in cosideration if: You reacted, no one reacted, only one people reacted, you were the only one reacting |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+cmd+alt+shift+s", | |
"command": "editor.saveAll" | |
}, | |
{ | |
"key": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, |
/* | |
* | |
* Made a gist from amazing article by Zell | |
* @url: https://zellwk.com/blog/css-reset/ | |
* | |
*/ | |
html { | |
box-sizing: border-box; |
I hereby claim:
To claim this, I am signing this object:
import {render, simulate} from 'test-library-for-react' | |
import Component from './Component' | |
describe ('my obscure test', () => { | |
// This test does not add any value even though it passes | |
// and probably meet the code coverage requirement. | |
it ('should work', () => { | |
const component = render(<Component />) | |
simulate.click(component.find('button')) | |
// Waaat! No idea what the click was supposed to do |