Skip to content

Instantly share code, notes, and snippets.

View AaronNBrock's full-sized avatar
🖖
But why?

Aaron N. Brock AaronNBrock

🖖
But why?
View GitHub Profile
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 is a comment
:: %~
echo "Hello, World"
@AaronNBrock
AaronNBrock / blender_to_dvorak.py
Created September 24, 2017 01:12
A Text Block that converts the default key mapping from qwerky to dvorak.
### WARNING: ONLY RUN ONCE!
import bpy
print('-----------')
q_to_d = {
'MINUS': 'LEFT_BRACKET',
'EQUAL': 'RIGHT_BRACKET',
'Q': 'QUOTE',
// Input
String[][] inputs = new String[][]{
{"one", "two"},
{"two", "three"},
{"five", "six"},
{"six", "one"},
};
Map<String, Set<String>> greaterThan = new HashMap<>();