Skip to content

Instantly share code, notes, and snippets.

View jdavisonc's full-sized avatar

Jorge Davison jdavisonc

View GitHub Profile
@jdavisonc
jdavisonc / Preferences.sublime-settings
Last active July 9, 2016 23:11
User preferences for SublimeText2
{
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"tab_size": 3,
"translate_tabs_to_spaces": false,
"open_files_in_new_window": false,
"color_scheme": "Packages/Boxy Theme/schemes/Boxy Tomorrow.tmTheme",
@jdavisonc
jdavisonc / .gitconfig
Last active December 19, 2015 21:49
Git configuration
[user]
name = ****
email = ****
[github]
user = ****
token = ****
[push]
default = matching
[core]
excludesfile = ~/.gitignore_global
@jdavisonc
jdavisonc / ubuntu-java-7-font-fix.sh
Created October 11, 2014 22:43
Ubuntu Java 7 - Font Fix
sudo add-apt-repository ppa:no1wantdthisname/ppa
sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
sudo apt-get update
sudo apt-get install fontconfig-infinality openjdk-7-jdk
sudo /etc/fonts/infinality/infctl.sh setstyle linux
sudo reboot
@jdavisonc
jdavisonc / openhab.log
Created December 16, 2017 23:38
OpenHab ZigBee log
2017-12-16 20:26:33.039 [DEBUG] [bee.internal.ZigBeeNetworkDiscoverer] - 0: Starting node discovery
2017-12-16 20:26:33.043 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: IeeeAddressRequest [0/0 -> 0/0, cluster=0001, TID=00, nwkAddrOfInterest=0, requestType=1, startIndex=0]
2017-12-16 20:26:33.056 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=0/0, profile=0000, cluster=1, addressMode=DEVICE, radius=31, sequence=0, payload=00 00 00 01 00]
2017-12-16 20:26:33.058 [DEBUG] [zigbee.dongle.ember.ZigBeeDongleEzsp] - EzspSendUnicastRequest [type=EMBER_OUTGOING_DIRECT, indexOrDestination=0, apsFrame=EmberApsFrame [profileId=0, clusterId=1, sourceEndpoint=0, destinationEndpoint=0, options=[EMBER_APS_OPTION_RETRY, EMBER_APS_OPTION_ENABLE_ROUTE_DISCOVERY, EMBER_APS_OPTION_ENABLE_ADDRESS_DISCOVERY], groupId=0, sequence=0], messageTag=0, messageContents=00 00 00 01 00]
2017-12-16 20:26:33.058 [DEBUG] [bee.dongle.ember.ash.AshFrameHandler] - TX EZSP
@jdavisonc
jdavisonc / Fixed-length-fields-TXT-Groovy.txt.groovy
Created June 28, 2018 13:43 — forked from martins1930/Fixed-length-fields-TXT-Groovy.txt.groovy
DataGrip extractor for txt file with fixed length columns
SEPARATOR = "|"
SPACE = " "
CORNER = "+"
LINE = "-"
NEWLINE = System.getProperty("line.separator")
def record(values, valueToString) {
values.collect { value ->
valueToString(value)
}