https://apple.stackexchange.com/questions/94330/how-can-i-convert-a-dmg-to-iso-on-mac-os-x-preferably-for-free
hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg
hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg
This gist will guide you through to setup starship along with zsh suggestions and zsh syntax highlight for your codespaces.
| @REM C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\start-vbox.bat | |
| "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "Debian" --type headless |
| @REM follow https://stackoverflow.com/questions/12870928/mac-bash-git-ps1-command-not-found | |
| @REM download https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh | |
| @REM to C:\Program Files\Git\etc\git-prompt.sh | |
| @REM add `. /etc/git-prompt.sh` to your .bashrc or .bash_profile | |
| @REM download https://github.com/git/git/blob/master/contrib/completion/git-completion.bash | |
| @REM to C:\Program Files\Git\etc\git-completion.bash | |
| @REM add `. /etc/git-completion.bash` to your .bashrc or .bash_profile | |
| @echo off | |
| setlocal enableextensions |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Threading; | |
| ///<summary> A simple lookup table that generates guaranteed unique keys. Thread Safe. </summary> | |
| public class ActionLookupTable<E>{ | |
| private long lastTimeStamp=-1; | |
| Dictionary<long,Action<E>> table = new Dictionary<long, Action<E>>(); |
| # docker-compose.yml | |
| version: "3" | |
| services: | |
| caddy: | |
| image: caddy:2.8-alpine | |
| restart: unless-stopped | |
| ports: | |
| - "80:80" | |
| volumes: |
| use num::BigInt; | |
| fn main() { | |
| let a = "-80538738812075974".parse::<BigInt>().unwrap(); | |
| let b = "80435758145817515".parse::<BigInt>().unwrap(); | |
| let c = "12602123297335631".parse::<BigInt>().unwrap(); | |
| let a3 = a.pow(3); | |
| let b3 = b.pow(3); | |
| let c3 = c.pow(3); |
| use std::collections::{HashMap, HashSet}; | |
| #[derive(Clone, Debug)] | |
| struct Item { | |
| start: i64, | |
| end: i64, | |
| id: i32, | |
| } | |
| impl Item { |