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
import xml.etree.ElementTree as ET | |
# import pprint | |
tree = ET.parse('input.itermcolors') | |
root = tree.getroot() | |
color_dict = {} | |
for i in range(len(tree.find("dict"))): | |
dc = tree.find("dict")[i] | |
if dc.text.strip().find('Ansi') == 0: |
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
======================================== | |
test.py:11 function myfunc start... | |
---------------------------------------- | |
myfunc | |
---------------------------------------- | |
test.py:11 function myfunc done. | |
======================================== |
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
[alias] | |
# cool branch graph | |
graph = log --graph --all --date=short --decorate=short --pretty=format:'%Cgreen%h %Creset%cd %Cblue%cn %Cred%d %Creset%s' | |
# diff by words, not lines | |
diffs = diff --word-diff | |
# cool logs | |
logs = log -p --graph --decorate --pretty=format:\"%ad [%cn] <c:%h t:%t p:%p> %n %Cgreen%d%Creset %s %n\" --stat | |
# show staged / not staged only (no untracked files) | |
sts = status -uno |
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
#pragma once | |
#include <iostream> | |
#include <Windows.h> | |
class debugStreambuf : public std::streambuf { | |
public: | |
virtual int_type overflow(int_type c = EOF) { | |
if (c != EOF) { |
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
npm install hubot-slack-rainfall-alert --save |
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
inherit_from: .rubocop_todo.yml | |
# 日本語コメント許可 | |
AsciiComments: | |
Enabled: false | |
# モジュール名::クラス名定義許可 | |
ClassAndModuleChildren: | |
Enabled: false |