- Install iTerm2 from https://www.iterm2.com/
- Install oh-my-zsh from https://ohmyz.sh/ or https://github.com/robbyrussell/oh-my-zsh
- Set iTerm2 theme tab theme to Dark -
Preferences | Appearance | Tabs | Theme > Dark - Install Fira Code fonts from https://github.com/tonsky/FiraCode (Clone and navigate to
dstr > ttf, install all font files by double clicking) - Install Powerline fonts from https://github.com/powerline/fonts
- Set fonts for iTerm2 -
Preferences | Profiles | Text- Change
Fontto14pt Fira code regularand CheckUse Ligaturescheckbox - Change
Non ASCII Fontto14pt Fira monoand CheckUse Ligaturescheckbox
- Change
- Install iTerm2 snazzy theme from https://github.com/sindresorhus/iterm2-snazzy
- Navigate to
Preferences | Profiles | Color Presets > Snazzy
- Navigate to
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
| *PPD-Adobe: "4.3" | |
| *%%%% PPD file for SCX-3200 with CUPS. | |
| *%%%% Created by the CUPS PPD Compiler CUPS v1.5.0. | |
| *FormatVersion: "4.3" | |
| *FileVersion: "2.0.0" | |
| *LanguageVersion: English | |
| *LanguageEncoding: ISOLatin1 | |
| *PCFileName: "scx3200.ppd" | |
| *Product: "(SCX-3200)" | |
| *Manufacturer: "Samsung" |
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/sh | |
| # blink disk drive's led (useful for disk array using LSI Logic HBA to locate failed drive, etc.) | |
| # https://gist.github.com/benok/c117badbfb6af744578d48e2ab1d4d4f | |
| # (based from https://stackoverflow.com/a/4018229/26736) | |
| # need blockdev(8) to clear disk cache on access | |
| usage() { | |
| echo "${0##*/} [-n] device(sda,sdb,etc.)" |
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
| ; Ender 3 Custom Start G-code | |
| M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature | |
| M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature | |
| M104 S160; start warming extruder to 160 | |
| G28 ; Home all axes | |
| G29 ; Auto bed-level (BL-Touch) | |
| G92 E0 ; Reset Extruder | |
| M104 S{material_print_temperature_layer_0} ; Set Extruder temperature | |
| G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position | |
| M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature |
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
| # Change Xcode version in GitHub Actions | |
| As of today (2019-08-21) I haven't found any documentation on changing Xcode versions when | |
| using GitHub actions. So I checked the applications folder and everything we need is | |
| already there. 🤩 | |
| ``` | |
| > ls -n /Applications/ | grep Xcode* | |
| lrwxr-xr-x 1 0 80 30 Aug 2 19:31 Xcode.app -> /Applications/Xcode_10.2.1.app | |
| drwxr-xr-x 3 501 20 96 Oct 20 2018 Xcode_10.1.app |
As of January 2020, all apps running on macOs 10.15 Catalina are required to be notarized. For Unity games distributed outside the Mac App Store, such as with Steam, the notarization process is done post build using a series of Xcode command line tools.
- a Mac that is compatible with macOs 10.15 Catalina :
- MacBook (2015 or newer)
- MacBook Air (2012 or newer)
- MacBook Pro (2012 or newer)
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
| # Sets up Xorg on Raspberry Pi 3b in FKMS mode for two screens. | |
| # | |
| # To put the Pi into FKMS mode, add one of the following lines to /boot/config.txt: | |
| # 1. "fake" KMS mode (exposes the proprietary vc4 firmware driver via KMS API): | |
| # dtoverlay=vc4-fkms-v3d | |
| # If you wanted "full" KMS mode, fully open source "vc4" driver in the Linux kernel, you | |
| # would use `dtoverlay=vc4-kms-v3d` instead, but then the identifiers in the Driver section | |
| # need to be different. | |
| # | |
| # To run X clients on one screen or another: |
- TFTP server
- IPXE Make sure ipxe.lkrn is in the TFTP root.
- iSCSI target (Server) Assume we have an iSCSI target "1:net.cszombie.au:windows" that is ready to be connected. 1 is LUN id, "net.cszombie.au:windows" is the target name.
- HTTP server (To speed up loading boot.wim, http is faster than tftp, http is supported by IPXE, however this is optional)
1. Download wimboot to the root of the TFTP server
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
| acmefile = acme.json | |
| traefik_dashboard = <TRAEFIK_DASHBOARD_URL> | |
| auth_user = <USERNAME> | |
| auth_password = <PASSWORD> | |
| .SILENT: clean | |
| .PHONY: clean | |
| clean: | |
| curl -s "https://$(auth_user):$(auth_password)@$(traefik_dashboard)/api/http/routers" | jq -r ".[]" | jq ".rule" | sed "s/\"Host(\`//g;s/\`)\"//g" | uniq > existing_frontends; | |
| cat $(acmefile) | jq ".default.Certificates[].domain.main" | sort | uniq | sed "s/\"//g" > existing_certs; |