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
// Input
String[][] inputs = new String[][]{
{"one", "two"},
{"two", "three"},
{"five", "six"},
{"six", "one"},
};
Map<String, Set<String>> greaterThan = new HashMap<>();
@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',
:: This is a comment
:: %~
echo "Hello, World"
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
===========================================
Properties file created Thu Nov 1 17:06:51 UTC 2018: /hygieia/config/application.properties
Note: passwords hidden
===========================================
#Database Name
dbname=dashboarddb
#Database HostName - default is localhost
dbhost=10.0.1.1
# Edit as file:
# git config --global --edit
[log]
decorate = true
abbrevCommit = true
[format]
pretty = oneline
# This is a configuration file for IIAB
# It can be sourced in a shell script or read into an application
IIAB_BASE_PATH=/opt/iiab
IIAB_DIR=/opt/iiab/iiab
IIAB_RELEASE=7.0
IIAB_REVISION=0
IIAB_GATEWAY_ENABLED=False
LAN_IP=172.18.96.1
OS=ubuntu
OS_VER=ubuntu-18
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 68:f7:28:86:8c:5e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.12/24 brd 192.168.1.255 scope global dynamic enp0s25
valid_lft 85813sec preferred_lft 85813sec
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
link/ether cc:3d:82:32:78:55 brd ff:ff:ff:ff:ff:ff