Comment on
System76 or Framework laptop?
I feel like these both lack really good high res displays. Why? It’s be awesome if it had something comparable to a MacBook Pro resolution.
Comment on
System76 or Framework laptop?
I feel like these both lack really good high res displays. Why? It’s be awesome if it had something comparable to a MacBook Pro resolution.
Comment on
Interview with Senior Rust Developer in 2023
I love these!
Comment on
Your best terminal aliases
Here are mine. Sorry for the mouth full, but I think people may benefit from some of these :)
alias ll="ls -alkhF"
alias l="ls -1"
# BE CAREFUL WITH THIS AND COULD RETURN COLOR KEYCODES INTO PIPES ETC...
alias grep='grep --color=always'
alias db='dotnet build'
alias gs='git status'
alias gf='git fetch'
alias gl='git pull'
alias gp='git push'
alias gpt='git push --tags'
alias gP='git push --force-with-lease'
alias ga='git add'
alias gd='git diff'
alias gw='git diff --word-diff'
setopt interactive_comments
preexec(){ _lc=$1; }
alias gcm='git commit -m "${_lc#gcm }" #'
# THE BELOW TO BE USED ALONG WITH THE FOLLOWING GIT ALIASES:
#[alias]
# logo = log --pretty=tformat:'%C(auto,red)%m %C(auto,yellow)%h%C(auto,magenta) %G? %C(auto,blue)%>#(12,trunc)%ad %C(auto,green)%<(15,trunc)%aN%C(auto,reset)%s%C(auto,red) %gD %D' --date=short
# adog = log --all --decorate --oneline --graph
# dog = log --decorate --oneline --graph
alias glog='git logo'
alias gdog='git dog'
alias gadog='git adog'
alias gb='git branch'
alias gba='git branch --all'
alias gco='git checkout'
alias gm='git merge'
alias gt='git tag | sort -V | tail'
alias rl='source ~/.zshrc'
alias n='nvim'
# LIST PATHS OF OTHER ZSH SHELLS I HAVE OPEN
lssh() {
ps au \
| awk '$11 == "-zsh" || $11 == "/bin/zsh" { print $2 }' \
| xargs pwdx \
| awk '{ print $2 }' \
| sed -n "\|^${2}.*|p" \
| sort -u \
| nl
}
# CD TO SHELL NUMBER RETURNED BY LSSH
cdsh() {
cd $(lssh \
| sed "$1!d" \
| cut -f 2)
}
# CD TO PATH OF ANOTHER SHELL, USING FZF AS SELECTOR
cs() {
cmd1=$(lssh | fzf --select-1 --query "$1" --height=~50 | cut -f 2)
cmd="cd $cmd1"
print -S $cmd
eval $cmd
}
# RUN THE COMMAND FROM HISTORY, USING FZF AS SELECTOR, ALTERNATIVE TO <C-R>
hf() {
cmd=$(history 0 | sort -nr | cut -c 8- | fzf -e --select-1 --no-sort --query "$1" )
# push the command into the history
print -S $cmd
eval $cmd
}
# REMMINA USING THE CONNECTION FILE SELECTED USING FZF
rf() {
pushd ~/.local/share/remmina
cmd=$(remmina -c $(ls $PWD/* | fzf -e --select-1 --no-sort --query "$1"))
# push the command into the history
print -S $cmd
eval $cmd
popd
}
Comment on
Offline Topographic Maps
Very cool. Thanks!! I will save some tiles next time I’m going out fly fishing :)
Comment on
Share Your Favorite Linux Distros and Why You Love Them
Reply in thread
more out of the box than what Arch comes with.
Comment on
Share Your Favorite Linux Distros and Why You Love Them
Reply in thread
Rolling release model.
Comment on
Supplier list
I always love how places “ship internationally” and when you order two spools of thread I get to the checkout and see a DHL line item for US$120. 😔. That doesn’t bloody count as international shipping.
(I’m in New Zealand by the way)
Comment on
'A bit of a mission': Auckland's new food waste bin scheme causes a stink
Reply in thread
No need. The wind will take the guys when they are empty.
Comment on
Visio alternative
You should check out d2. It’s a code to diagram tool. You put some very simple coke and it draws your diagram. Quite quick and useful. Been using it for a while now.
Comment on
FYI - Those that have travelled over the bridge today may want to get back ASAP
Reply in thread
It’s extremely windy here. We’re just out of Hamilton and it’s crazy! Roads are littered with recycle bins and rubbish from this mornings “collection”
Comment on
First attempt at wet moulding
Reply in thread
Hehe it’s great eh?! Will do after it’s been weathering. I’m also making a couple of other things I will post soon!
Comment on
Escape Room Concept
Reply in thread
Lol you just made my day with that comment
Comment on
Icon vote
Definitely the Kiwi
Comment on
NZ workers have unacceptably high exposures to carcinogens – they need better protection and long-term health monitoring
What on earth is shift work? I’m on night shift looking after my baby. Is my baby giving me cancer!?
Comment on
Linux and AirPod Pros
I’m running Manjaro, and after installing blue man, and pairing I’ve not had any issues. Thankfully!
I do need to manually switch between a2dp and headset modes when I do video conference calls. I’m just used to doing it now. Heh made an easy keybind for my profiles so it’s not bad.
I’ve tried these on multiple Manjaro builds and have always worked. Maybe I was just lucky with Arch and Manjaro supporting this. Phew!
Other than the problem, how are you finding them? I’ve found them the best earphone investment I’ve ever made. They are awesome and so portable. Used them on the plane a bunch and they are great :)
Comment on
First attempt at wet moulding
Reply in thread
Thanks.
Yep, I cling wrapped it and kept it in there while it dried. I was inspired by Chuck D from weaver leather making this: https://youtu.be/pgoxc0eaLGQ
Comment on
FYI - Those that have travelled over the bridge today may want to get back ASAP
Reply in thread
Hehe thanks :)
Comment on
Paper mock up
Very cool. Would love to see the whole journey. Do post progress!
Comment on
[i3wm] Had this setup for a year and a half now
Reply in thread
Do it! I love i3. Always used windows, then KDE briefly on my laptop. Since moving to i3 I use it everywhere.
Comment on
*Permanently Deleted*
Reply in thread
That would be great!