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 repo='cd $(ghq list -p | peco)' | |
alias reporm='rm -rf $(ghq list -p | peco)' |
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
syntax enable | |
colorscheme industry | |
set tabstop=4 | |
set expandtab | |
set shiftwidth=4 | |
set autoindent | |
set smartindent |
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
proc interpret(code: string): string = | |
var | |
str = "" | |
output = "" | |
pos = 0 | |
codePos = 0 | |
proc run(skip = false): bool = | |
while codePos < code.len: | |
if pos >= str.len: |
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 json, requests, sys | |
def get_github_email(user): | |
base_url = 'https://api.github.com/users/' + user | |
event_url = base_url + '/events/public' | |
try: | |
base = json.loads(requests.get(base_url).text) | |
event = json.loads(requests.get(event_url).text) | |
except: |
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
name: Push trigger event | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | |
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
.text | |
.global main | |
.extern printf | |
@---------------------------- | |
@ r0 = table | |
@ r1 = table length | |
@ r2 = table length - 4 | |
@ r3 = outer loop counter | |
@ r4 = inner loop counter |
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
.text | |
.global main | |
main: | |
@ Init | |
push {lr} | |
bl gfxInitDefault | |
mov r0, #0 | |
mov r1, #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
import json | |
import collections | |
import openpyxl | |
with open('StreamingHistory0.json', 'r', encoding='utf-8') as f: | |
d = json.load(f) | |
list = [] | |
search_all = str(input('Search for all? (y/n) >> ')) |
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
@echo off | |
echo [Member list] | |
ar t Lib/libCTRPluginFramework.a | |
set object= | |
echo; | |
set /p object="Enter the object name: " | |
echo; | |
ar x Lib/libCTRPluginFramework.a %object%.o | |
arm-none-eabi-objdump -D %object%.o > %object%.s | |
if not %errorlevel% == 0 ( |