Skip to content

Instantly share code, notes, and snippets.

View kyawakyawa's full-sized avatar

kyawakyawa kyawakyawa

  • Tokyo Institute of Technology
View GitHub Profile
#!/bin/bash
# -s オプションが指定されていたらフラグを立てる
use_alt_split=false
while getopts "s" opt; do
case "$opt" in
s) use_alt_split=true ;;
esac
done
# 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:
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
{
"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,
---
BasedOnStyle: Google
AccessModifierOffset: -2
AlignConsecutiveAssignments: true
AlignTrailingComments: true
BreakBeforeBraces: Attach
IndentWidth: 2
Standard: Cpp11
TabWidth: 2
UseTab: Never
! For HKKB Professional2
! sw1 on
! sw2 off
! sw3 on
! sw4 off
! sw5 on
! sw6 off
keycode 9 = Escape
keycode 49 = grave asciitilde
! For HKKB Professional2
! sw1 on
! sw2 off
! sw3 on
! sw4 off
! sw5 on
! sw6 off
keycode 49 = Escape
keycode 9 = grave asciitilde