This file contains hidden or 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
#!/bin/bash | |
# -s オプションが指定されていたらフラグを立てる | |
use_alt_split=false | |
while getopts "s" opt; do | |
case "$opt" in | |
s) use_alt_split=true ;; | |
esac | |
done |
This file contains hidden or 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
# MIT License | |
# | |
# Copyright (c) 2022 kyawakyawa | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
This file contains hidden or 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
perf record -e cycles -e task-clock -e cache-references -e cache-misses -e L1-dcache-load -e L1-dcache-load-misses /path/to/command | |
perf report > /path/to/output |
This file contains hidden or 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
{ | |
"editor.formatOnSave": true, | |
"editor.formatOnType": true, | |
"workbench.colorTheme": "Monokai", | |
"keyboard.dispatch": "keyCode", | |
"cquery.cacheDirectory": "/tmp/cquery-cache", | |
"window.zoomLevel": 0, | |
"editor.tabSize": 2, | |
"editor.fontFamily": "Ricty", | |
"editor.fontSize": 18, |
This file contains hidden or 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
--- | |
BasedOnStyle: Google | |
AccessModifierOffset: -2 | |
AlignConsecutiveAssignments: true | |
AlignTrailingComments: true | |
BreakBeforeBraces: Attach | |
IndentWidth: 2 | |
Standard: Cpp11 | |
TabWidth: 2 | |
UseTab: Never |
This file contains hidden or 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
! For HKKB Professional2 | |
! sw1 on | |
! sw2 off | |
! sw3 on | |
! sw4 off | |
! sw5 on | |
! sw6 off | |
keycode 9 = Escape | |
keycode 49 = grave asciitilde |
This file contains hidden or 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
! For HKKB Professional2 | |
! sw1 on | |
! sw2 off | |
! sw3 on | |
! sw4 off | |
! sw5 on | |
! sw6 off | |
keycode 49 = Escape | |
keycode 9 = grave asciitilde |