Represent maps
// rather than
const map: {[ key: string ]: string} = {
foo: 'bar',
}| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>UIFileSharingEnabled</key> | |
| <true/> | |
| <key>LSSupportsOpeningDocumentsInPlace</key> | |
| <true/> |
| module.exports = { | |
| purge: [], | |
| theme: { | |
| extend: { | |
| gridTemplateColumns: { | |
| 'auto-fit': 'repeat(auto-fit, minmax(0, 1fr))', | |
| 'auto-fill': 'repeat(auto-fill, minmax(0, 1fr))', | |
| }, | |
| gridTemplateRows: { | |
| 'auto-fit': 'repeat(auto-fit, minmax(0, 1fr))', |
| #!/bin/sh | |
| # To run, download the script or copy the code to a '.sh' file (for example 'fluttercleanrecursive.sh') and run like any other script: | |
| # sh ./fluttercleanrecursive.sh | |
| # or | |
| # sudo sh fluttercleanrecursive.sh | |
| echo "Flutter Clean Recursive (by jeroen-meijer on GitHub Gist)" | |
| echo "Looking for projects... (may take a while)" |
| // Construct Single Node | |
| class Node { | |
| constructor(data, next = null) { | |
| this.data = data; | |
| this.next = next; | |
| } | |
| } | |
| // Create/Get/Remove Nodes From Linked List | |
| class LinkedList { |
| { | |
| "workbench.startupEditor": "newUntitledFile", | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 1.8, | |
| "javascript.suggest.autoImports": true, | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| "editor.rulers": [ | |
| 80, | |
| 120 | |
| ], |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| export ANDROID_HOME=~/Android/Sdk | |
| export PATH="$PATH:$ANDROID_HOME/tools" | |
| export PATH="$PATH:$ANDROID_HOME/platform-tools" | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/diegofernandes/.oh-my-zsh" | |
| export PATH="$PATH:/usr/local/bin" |
| /* | |
| * Description: | |
| * | |
| * There are times when we want to re-use some data created/derived in a middleware later in a route handler. | |
| * | |
| * The default Koa way of doing so would be using `context.state`. Unfortunately `context.state` is hard to type and | |
| * quite implicit, since it's an object shared and potentially mutated by all middlewares and the route handler. | |
| */ | |
| /* |
| # Generic makefile for a C project | |
| # Written by Keefer Rourke <mail@krourke.org> | |
| # | |
| # This file is Public Domain or, in places where public domain works | |
| # are not recognized, licensed as CC0. Legal text: | |
| # <https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt> | |
| # | |
| # This Makefile should not rely and any GNU-specific functionality, | |
| # though it is based on the GNU make documentation which is available | |
| # at: <https://www.gnu.org/software/make/manual/make.html> |