gaving
Re:Ask HN: What are your best shell scripts that you use?
on Tuesday December 31, 2019 @05:40AM (#21920134)
Pretty cool with the editor interaction.
Also worth bearing in mind most shells can do this sort of thing easily enough too.
The example from your video with zsh's zmv (bundled: https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... )
> touch btn_google_{signin,signup}_dark_normal_web{,@2x}.png # create files
> ls -l
.rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signin_dark_normal_web.png
.rw-r--r-- 0 gaving 31 Dec 10:34 [email protected]
.rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signup_dark_normal_web.png
.rw-r--r-- 0 gaving 31 Dec 10:34 [email protected]
> zmv -n -W btn_*_sign*_dark_normal_web* *_sign_** # dry run
mv -- btn_google_signin_dark_normal_web.png google_sign_in.png
mv -- [email protected] [email protected]
mv -- btn_google_signup_dark_normal_web.png google_sign_up.png
mv -- [email protected] [email protected]
> zmv -W btn_*_sign*_dark_normal_web* *_sign_** # change files
> ls -l
.rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_in.png
.rw-r--r-- 0 gaving 31 Dec 10:34 [email protected]
.rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_up.png
.rw-r--r-- 0 gaving 31 Dec 10:34 [email protected]
Re:HappyOrNot terminals look simple, but the information they gather i...
on Monday February 05, 2018 @03:33PM (#16311877)
Interesting to see an article about this, I knocked together a React app the other month for my company based off questions from rands famous "Shields Down" https://medium.com/the-blueprint/shields-down-c291f015618f using this method.
https://github.com/gaving/happy-or-not
Never got around to analyzing the data, too scared.
Re:Ask HN: How secure is the encryption offered by OS X's Disk Utility?
on Monday June 19, 2017 @04:34AM (#14585395)
Nothing to hide; nothing to fear, right?
Re:Ask HN: What's your working day like?
on Monday May 08, 2017 @01:41PM (#14293798)
I'd certainly try it out for a day or two a week, backpack / jersey pockets for stuff.. easier if you have a locker or showers at your work. Hopefully you wouldn't arrive too sweaty after 3 miles which should take you about ~15 minutesish.
Win-win though, exercise and if you get in to it less fuel costs. Could easily clock up 30 miles a week and extend your route on nice days.. no brainer!
Re:Ask HN: What's your working day like?
on Monday May 08, 2017 @12:09PM (#14292871)
"5 minute drive"? Buy a bike and chuck out 0600-0700!
Re:Disassembling Sublime Text
on Monday December 05, 2016 @02:29AM (#13103918)
not for much longer https://www.youtube.com/watch?v=rzclz1seo0g
Re:Shopify is processing over $260k per minute right now
on Friday November 25, 2016 @06:13PM (#13040568)
Neat D3 based globe component, don't suppose the source is anywhere?
Re:Sublime Enhanced
on Monday August 01, 2016 @06:45AM (#12201370)
Aren't most people using neovim now?
Change “nvim” to “ni” everywhere
Re:Electron 1.0 is here
on Wednesday May 11, 2016 @09:48AM (#11675191)
If you don't have to support win32 platforms, I'd say go with Electron.
Other than that, features pretty similar.
Re:What's new in NW.js v0.13
on Thursday March 24, 2016 @06:47AM (#11351820)
Announcement: http://nwjs.io/blog/v0.13.0/
What's new in NW.js v0.13
Re:Neovim public release 0.1.0
on Monday November 02, 2015 @05:20AM (#10491003)
Congrats to the team, I'm dying to switch myself but closely watching Windows support since it's unfortunately my primary work platform.
Re:Using htop to generate a live website background
on Saturday October 03, 2015 @10:45AM (#10324051)
Nice. Always meant to try and do something similar myself using https://github.com/joewalnes/websocketd
Re:Show HN: Australia Quiz (Sound)
on Saturday February 21, 2015 @09:43AM (#9085624)
Weekend(ish) project to play with React.
Show HN: Australia Quiz (Sound)
Re:Show HN: First Clojure project
on Monday January 26, 2015 @02:17PM (#8948939)
Rather than a hello world, a GUI to show users on a GitLab instance.
Show HN: First Clojure project
Xerox PARC in the 21st Century
Re:Great Quotes
on Saturday December 27, 2014 @07:22AM (#8802369)
I'm prone to indecision, and try to remember this one at all times:-
"He who deliberates fully before taking a step will spend his entire life on one leg."
- Chinese Proverb
HTTP ETag
Re:Node.js in Flame Graphs
on Wednesday November 19, 2014 @03:39PM (#8632469)
not exactly highly endorsed https://twitter.com/tjholowaychuk/status/382084838179614721
Going Forward Is Leaving Past Behind
Re:A look at the 2014 Mac mini
on Sunday October 19, 2014 @03:26PM (#8479267)
Even more hilarious is the sounds of these "tamper proof" screws on the bottom. I mean, why do they care so much?
Re:Commander Keen source code released
on Tuesday September 16, 2014 @05:22PM (#8327190)
http://github.com/keendreams/keen/blob/master/kd_main.c#L279
God, so wish I'd known this at the time.
Adieu, Koku
Re:Practical Tmux
on Monday May 19, 2014 @03:06AM (#7766082)
Woah. Just tried prefix-alt-[n], totally awesome.
Thanks!
Re:Neovim's Next Feature Poll
on Wednesday April 30, 2014 @03:45AM (#7672053)
Loving the progress of Neovim so far, even better that notable plugin authors (https://github.com/neovim/neovim/issues/622#issuecomment-415...) are getting involved.
Re:Please fix: Unknown or expired link.
on Saturday April 26, 2014 @11:21AM (#7651660)
I'm not sure anybody particularly cares why it is happening, just that it is happening.