Viewing profile — snow_mac
snow_mac
HN member- Joined
- Sun, Nov 14, 2010, 7:41 PM UTC
- HN karma
- 1,065
- Public activity
- 357 items
- HN profile
- View on Hacker News ↗
About snow_mac
local duration=0
if [[ "$1" == "-m" && -n "$2" ]]; then
duration=$(($2 * 60))
fi
local count=0
while true; do
# shift arrow key down
# osascript -e 'tell application "System Events" to key code 126 using {shift down}'
# F-13
osascript -e 'tell application "System Events" to key code 105'
sleep 30
count=$((count + 30))
if [[ $duration -gt 0 ]]; then
if [[ $count -ge $duration ]]; then
break
fi
fi
# Print elapsed time every 60 seconds
if (( count % 60 == 0 )); then
echo -ne "\r$((count/60)) minutes elapsed\n"
fi
done
}Recent public activity
-
comment
Comment #49125220
Maybe your argument works for a few specific cases, what about those that do not meet that? What about someone with stage 4 cancer who needs radiation and will likely live a year o…
-
comment
Comment #49125129
Evil. Just evil. Terminally ill patients can't work, they're on deaths door. If they don't get treatment, they are dead. Let's let the medical decisions be handled by doctors and n…
-
comment
Comment #48492311
I am actively developing on 4 projects fulltime. Kind of like double or triple dipping but just 1 employer. With a Claude Code license I'm running 2-4 CLI instances with AI. I'm bo…
- story
-
comment
Comment #46643386
Created two days ago.... Did you use Claude Code to generate the open source code? :P
-
comment
Comment #46639712
I love this. I recently found a few solar panels dumpster diving that put out a good load. Just basic scratches and that is all. I am building out my own system to power my house a…
-
comment
Comment #46623450
https://www.adambourg.com/ - mostly blogging about javascript, the bible and various AI topics
-
story
Ask HN: How to stay relevant in the age of AI?
Howdy friends In the age of agentic AI, Claude code and all the amazing stuff like Kiro, Q and Cursor. How do you stay relevant? What are the things a web / react developer should …
-
comment
Comment #46538451
This is a good thing, the next step however is to block the guys that use sites like BiggerPockets.com from buying up more then 5 single family homes. I know a whole bunch of guys …
-
comment
Comment #46291369
How do you get access get all the local government meetings? Do you have a crawler that looks up every city in the country then visits each website and pull down the info? A public…
-
comment
Comment #45932692
This is amazing. I wonder how it works. I would be cool if they published it.
-
comment
Comment #45202369
Conservative activist Charlie Kirk has been shot at a campus event in Utah Kirk - an influential ally of President Trump - is known for holding open-air debates on campuses across …
- story
-
comment
Comment #45198515
What's so great about this? A phone with a weird shape due to the camera? Yahoo, yay so light /sarcasm. Who cares? $1000 for another shiny object thats thin, that has "ALL DAY" bat…
-
comment
Comment #44159874
Funny you should ask, I just paid my mortgage. Mortgage - $3800 Groceries - ~$1000 Eating out - ~$1000 TV / Internet - $250 Utilities (Water, electric, sewer, gas, trash) - $400 av…
-
comment
Comment #43354625
My suggestion is talk to small, indie recruiters. Big recruiting firms will not likely have these types of roles. I'm currently doing a 2 month contract, 40 hours a week, for a sma…
-
comment
Comment #42992449
I trade in retirement accounts, so taxes don't apply.
-
comment
Comment #42952058
Bad UX? Maybe a bad UI but the UX is fantastic. I prefer the keyboard magic I can do. Just look at MARSHA (For Marriott hotels), a terrible UI but major in the keyboard warriors th…
-
comment
Comment #42869775
"Shares resume fall" - I think you really mean it resumes being a super volatile stock. On a weekly basis it gains and drops 10-15%. I know because I buy when it drops 10-15% then …
-
comment
Comment #42404238
Interesting. Is it a vacuum to attach to the bags?
-
comment
Comment #42079091
I made some generalizations, but if you want to discuss policies, these policies I believe are vital to the future of our country and the main reason I voted for him. I approve of …
-
comment
Comment #42070633
I get really tired of this narrative that people are pushing that trump voters are somehow ignorant, stupid or simply don't care. We're not ignorant, we care a lot and we're not be…
-
comment
Comment #41196417
"attract experienced developers to a non-glamorous industry like logistics" -- Pay them well and offer a remote work environment. If you're interested in chatting with a senior / l…
- story
-
comment
Comment #40937845
Where is the startup match?