"Young" front-end designer lmao.
Background from Subtle Patterns
"Young" front-end designer lmao.
Background from Subtle Patterns
I'm writing this gist for my own records but it might help someone else too.
Support for Catalina has improved a lot since the update was first rolled out.
Note: See the NixOS manual for discussion of the --darwin-use-unencrypted-nix-store-volume option.
Feel free to contact me at robert.balicki@gmail.com or tweet at me @statisticsftw
This is a rough outline of how we utilize next.js and S3/Cloudfront. Hope it helps!
It assumes some knowledge of AWS.
| # https://robots.thoughtbot.com/how-to-copy-and-paste-with-tmux-on-mac-os-x | |
| # pbcopy, pbpaste for TMUX | |
| # brew install reattach-to-user-namespace | |
| set-option -g default-command "reattach-to-user-namespace -l $SHELL" | |
| # For emacs mode | |
| ################################################################ | |
| # setw -g mode-keys emacs | |
| # To copy: | |
| # bind-key -t emacs-copy C-w copy-selection |
| # workaround clipboard for tmux { | |
| # https://robots.thoughtbot.com/how-to-copy-and-paste-with-tmux-on-mac-os-x | |
| # pbcopy, pbpaste for TMUX | |
| # brew install reattach-to-user-namespace | |
| set-option -g default-command "reattach-to-user-namespace -l $SHELL" | |
| # For emacs mode | |
| ################################################################ | |
| # setw -g mode-keys emacs | |
| # To copy: |
| # bind prefix to "C-\" { | |
| set-option -g prefix "C-\\" | |
| # } |
| function checkInstalled { | |
| installed="" | |
| # if hash $1 2>/dev/null; then | |
| if command -v $1 2>/dev/null; then | |
| installed=0 | |
| else | |
| installed=1 | |
| fi | |
| return $installed | |
| } |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| (import | |
| '(java.awt Rectangle Dimension Robot Toolkit) | |
| '(java.awt.image BufferedImage) | |
| '(java.io File IOException) | |
| '(javax.imageio ImageIO)) | |
| (defn take-screenshot [] | |
| (let [screen (.getScreenSize (Toolkit/getDefaultToolkit)) | |
| rt (new Robot) | |
| img (.createScreenCapture rt (new Rectangle (int (.getWidth screen)) (int (.getHeight screen))))] |
| (setq serviceKey "인증키") | |
| (setq serviceUrl "http://ws.bus.go.kr/api/rest/stationinfo/getStationByName") | |
| (setq stationName "한강중학교") | |
| (setq url (concat serviceUrl | |
| "?ServiceKey=" | |
| serviceKey | |
| "&stSrch=" | |
| stationName)) | |
| (browse-url url) |