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 | |
from="$(pwd)" | |
to="/media/aaron/Data" | |
declare -a arr=("documents" "downloads" "music" "pictures" "projects" "public" "templates" "videos") | |
declare -A map | |
map["desktop"]="desktop-ubuntu" |
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
list_a = [1, 2, 3] | |
list_b = ['hello', 'world'] | |
conditionA = True | |
conditionB = True | |
def inner_loop(func): | |
for j in list_b: | |
func(j) | |
#do sth in list_b |
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
:: This is a comment | |
:: %~ | |
echo "Hello, World" |
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
### WARNING: ONLY RUN ONCE! | |
import bpy | |
print('-----------') | |
q_to_d = { | |
'MINUS': 'LEFT_BRACKET', | |
'EQUAL': 'RIGHT_BRACKET', | |
'Q': 'QUOTE', |
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
// Input | |
String[][] inputs = new String[][]{ | |
{"one", "two"}, | |
{"two", "three"}, | |
{"five", "six"}, | |
{"six", "one"}, | |
}; | |
Map<String, Set<String>> greaterThan = new HashMap<>(); |
NewerOlder