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
# Logs | |
logs | |
*.log | |
*.log* | |
# Diagnostic reports (https://nodejs.org/api/report.html) | |
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | |
# Runtime data | |
pids |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"jsx": "react", | |
/* Visit https://aka.ms/tsconfig.json to read more about this file */ | |
/* Basic Options */ | |
// "incremental": true, /* Enable incremental compilation */ | |
"lib": ["es2020", "dom"], | |
"target": "es2020", | |
/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ | |
"module": "es2020", |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// other configs... | |
overlay: { | |
alwaysOnTop: true, | |
animate: true, |
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
#------------------------------------------------------------------------------------------------------------- | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | |
#------------------------------------------------------------------------------------------------------------- | |
FROM ubuntu:bionic | |
# Avoid warnings by switching to noninteractive | |
ENV DEBIAN_FRONTEND=noninteractive | |
# This Dockerfile adds a non-root 'vscode' user with sudo access. However, for Linux, |
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
#!/bin/bash | |
eval "yabai -m query --windows | jq '.[] | {id, app} | select(.app == \"${1}\") | .id'" |
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
#!/bin/bash | |
PROJECT_PATH=`pwd` | |
CODE_PATH=`pwd` | |
chsum1="" | |
while [[ true ]] | |
do | |
chsum2=`find $CODE_PATH -maxdepth 4 -type f -name "*.go" -exec ls -al {} \; | md5` | |
if [[ $chsum1 != $chsum2 ]] ; then |
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
//Go to: | |
// https://alexa.amazon.com/spa/index.html#scenes | |
function killEm(){ | |
$("#connected-home-delete-button").click() | |
setTimeout(function(){$('.accept').click()}, 200) | |
setTimeout(killEm, 300) | |
} | |
killEm() |
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
[ | |
{ | |
"key": "tab", | |
"command": "tab", | |
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "editor.emmet.action.expandAbbreviation", | |
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" |
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
const routes = [ | |
{method: 'get ', route: '/ping',}, | |
{method: 'get ', route: '/authenticate/:uuid'}, | |
{method: 'post ', route: '/authenticate'}, | |
{method: 'post ', route: '/broadcasts'}, | |
{method: 'post ', route: '/claimdevice/:uuid'}, | |
{method: 'get ', route: '/devices'}, | |
{method: 'post ', route: '/devices'}, | |
{method: 'put ', route: '/devices/:uuid'}, | |
{method: 'get ', route: '/devices/:uuid'}, |
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
#!/bin/sh | |
sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') |