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
## create file git-cloc with specified contents | |
brew install cloc | |
chmod +x git-cloc | |
mv git-cloc /user/local/bin ## or to your $PATH |
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
sudo apt-get update | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 |
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
cmake_minimum_required(VERSION 3.8) | |
project(clw-05) | |
set(CMAKE_CXX_STANDARD 17) | |
#set(ENV{ASAN_OPTIONS} detect_leaks=1) | |
#set(ENV{ASAN_OPTIONS=detect_leaks} "1") | |
if (MSVC) |
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
clear lock | |
clear mod5 | |
add lock = Mode_switch | |
keycode 66 = Mode_switch Escape NoSymbol NoSymbol | |
keycode 43 = h H Left Left | |
keycode 44 = j J Down Down | |
keycode 45 = k K Up Up | |
keycode 46 = l L Right Right | |
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
FolderName = tempdir; % Your destination folder | |
FigList = findobj(allchild(0), 'flat', 'Type', 'figure'); | |
for iFig = 1:length(FigList) | |
FigHandle = FigList(iFig); | |
FigName = num2str(get(FigHandle, 'Number')); | |
set(0, 'CurrentFigure', FigHandle); | |
savefig(fullfile(FolderName, [FigName '.fig'])); | |
end |
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
# i3 config file (v4) | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
# Set mod key (Mod1=<Alt>, Mod4=<Super>) | |
set $mod Mod4 | |
# set default desktop layout (default is tiling) | |
# workspace_layout tabbed <stacking|tabbed> | |
# Configure border style <normal|1pixel|pixel xx|none|pixel> |
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
[theme] | |
name = "solarized-dark" | |
[theme.overrides] | |
idle_bg = "#424242" | |
idle_fg = "#ffffff" | |
info_bg = "#2196f3" | |
info_fg = "#ffffff" | |
good_bg = "#8bc34a" | |
good_fg = "#000000" | |
warning_bg = "#ffc107" |
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
/* hides the native tabs */ | |
#TabsToolbar { | |
visibility: collapse; | |
} | |
#titlebar { | |
display: none; | |
} |
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
keycode 66 = ISO_Level3_Shift | |
clear mod1 | |
clear mod4 | |
clear control | |
keycode 64 = Super_L | |
keycode 133 = Control_L | |
keycode 37 = Alt_L | |
add mod1 = Alt_L | |
add mod4 = Super_L | |
add control = Control_L |
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
asciidoctor -r asciidoctor-pdf -b pdf -a allow-uri-read -o test.pdf defn.adoc */*.adoc |
OlderNewer