This file contains hidden or 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
function flatten (array) { | |
// check that input is an array | |
if (array.constructor === Array) { | |
return array.reduce((accum, currentValue) => { | |
if (array.constructor === Array) { | |
// flatten the array using es6 reducer | |
return accum.concat(currentValue.reduce(flatten, [])) | |
} else { | |
// append/concat | |
return accum.concat(currentValue) |
This file contains hidden or 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
1. Cobalt 2 Theme Official | |
2. Color Info | |
3. CSS Peek | |
4. DotENV | |
5. ESLint | |
6. Material Icon Theme | |
7. Material Theme | |
8. Node.js Module intellisense | |
9. Prettier | |
10. Sort Lines |
This file contains hidden or 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
{ | |
"workbench.colorTheme": "Sublime Material Theme - Dark", | |
"terminal.integrated.fontFamily": "'Terminess Powerline', 'Anonymice Powerline', 'Roboto Mono for Powerline', 'Meslo LG S for Powerline', 'DejaVu Sans Mono', 'Lucida Console'", | |
"sublimeTextKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnPaste": true, | |
"window.zoomLevel": 1, | |
"workbench.iconTheme": "material-icon-theme", | |
"team.showWelcomeMessage": false, |
This file contains hidden or 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
altgraph==0.10.2 | |
appdirs==1.4.3 | |
attrs==17.4.0 | |
backports.shutil-get-terminal-size==1.0.0 | |
backports.ssl-match-hostname==3.5.0.1 | |
bdist-mpkg==0.5.0 | |
bleach==1.5.0 | |
bonjour-py==0.3 | |
cmake==0.6.0 | |
configparser==3.5.0 |
This file contains hidden or 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
activemq erlang@19 jpeg nmap r | |
android-sdk fontconfig kubernetes-cli node rabbitmq | |
aspcud freetype leptonica ocaml readline | |
augeas gcc libev ocamlbuild redis | |
autoconf [email protected] libevent ocrad sqlite | |
aws-elasticbeanstalk gd libmpc opam ssh-copy-id | |
boost gdbm [email protected] openssl tee-clc | |
c-ares gettext libpng [email protected] tesseract | |
camlp4 git-flow libtiff pcre thefuck | |
certbot gmp libtool php-cs-fixer unixodbc |
This file contains hidden or 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
├── @angular/[email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] -> /Users/SDX/Documents/react/chapimoneda | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] |
This file contains hidden or 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
// Place your key bindings in this file to overwrite the defaults | |
[{ | |
"key": "cmd+]", | |
"command": "workbench.action.zoomIn", | |
"when": "editorTextFocus" | |
} | |
,{ | |
"key": "cmd+/", | |
"command": "workbench.action.zoomOut", | |
"when": "editorTextFocus" |
This file contains hidden or 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
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme", | |
"font_size": 15, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": |
This file contains hidden or 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
[ | |
// Origami plugin customization | |
{ "keys": ["alt+right"], "command": "travel_to_pane", "args": {"direction": "right"} }, | |
{ "keys": ["alt+left"], "command": "travel_to_pane", "args": {"direction": "left"} }, | |
{ "keys": ["ctrl+shift+k"], "command": "refresh_folder_list" }, | |
{ "keys": ["command+7"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["command+shift+7"], "command": "toggle_comment", "args": { "block": true } }, | |
{ | |
"keys": ["tab"], "command": "expand_abbreviation_by_tab", "context": [ |
This file contains hidden or 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
ConditionVariable OkToRead | |
ConditionVariable OkToWrite | |
Read () { | |
//check if there are writers active or waiting | |
Lock acquire() | |
while (WW + AW > 0) { | |
WR++ //contamos como un lector | |
OkToRead.wait() //sleep() | |
WR-- |
NewerOlder