defaults write -g NSScrollViewRubberbanding -int 0
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
defaults write com.apple.Dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -int 0
defaults write com.apple.finder DisableAllAnimations -bool true
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
defaults write NSGlobalDomain NSWindowResizeTime .001
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
| import math | |
| import random | |
| elt_offsets = [] | |
| elts = ['a', 'b', 'c', 'd'] | |
| m = 176 | |
| mx = 0 | |
| # pre-render, best height approximation |
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": "Atelier Sulphurpool Dark", | |
| "buffer_font_size": 12, | |
| "hard_tabs": false, | |
| "tab_size": 2, | |
| "auto_update": true, | |
| "remove_trailing_whitespace_on_save": false, | |
| "projects_online_by_default": false, | |
| "blinking": "off", | |
| "format_on_save": "off", |
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
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| type Session struct { | |
| Id string |
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
| package main | |
| type S struct { | |
| Id string | |
| } | |
| var Sessions = make(map[string][]*S) | |
| func main() { | |
| sess_1 := &S{Id: "001"} |
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
| #include <iostream> | |
| // g++ main.cc -o main; ./main | |
| static const auto fast = [](){ | |
| std::ios::sync_with_stdio(false); | |
| std::cin.tie(nullptr); | |
| return 0; | |
| }(); |
OlderNewer