Represent maps
// rather than
const map: {[ key: string ]: string} = {
foo: 'bar',
}
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": 15, | |
"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> |
#! /usr/bin/env python3 | |
"""Fixing bluetooth stereo headphone/headset problem in debian distros. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . | |
Licence: Freeware |