This file contains 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
export default [ | |
{ | |
inputs: [ | |
{ | |
internalType: 'string', | |
name: 'name_', | |
type: 'string', | |
}, | |
{ | |
internalType: 'string', |
This file contains 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": "alt+1", | |
"command": "workbench.action.openEditorAtIndex1", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "alt+2", | |
"command": "workbench.action.openEditorAtIndex2", |
This file contains 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains 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
#LINUX VERSION | |
# Exposing first interface returned by hostname | |
IFS=' ' read -ra TMP_HOST_IP <<< $(hostname -I) | |
export HOST_IP=$TMP_HOST_IP | |
unset TMP_HOST_IP | |
#exposing docker0 | |
export HOST_IP=`ip -4 addr show scope global dev docker0 | grep inet | awk '{print \$2}' | cut -d / -f 1` |
This file contains 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": "alt+1", | |
"command": "workbench.action.openEditorAtIndex1", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "alt+2", | |
"command": "workbench.action.openEditorAtIndex2", |
This file contains 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 original = Observable.prototype.subscribe; | |
Observable.prototype.subscribe = function (...args) { | |
const self = this; | |
if (args.length === 1) { | |
// tslint:disable-next-line:no-console | |
return original.call(self, args[0], () => console.trace('test')); | |
} | |
return original.apply(self, args); | |
}; |
This file contains 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
# This goes into your `~/.bashrc` file | |
alias wifipass-all="sudo grep -r '^psk=' /etc/NetworkManager/system-connections/ | sed 's@/etc/NetworkManager/system-connections/@ @g' | sed 's@:psk=@ - @g'" | |
alias wifipass="wifipass-all | grep `iwgetid -r`" | |
# Usage: | |
# $ wifipass-all -- displays list of all known wifi networks and passwords | |
# $ wifipass -- displays current wifi network name and password |
This file contains 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 | |
var=1 | |
for file in *.jpg; | |
do | |
mv $file "Name_here_"$var".jpg" | |
var=$((var+1)) | |
done |