31 karma · joined Aug 18, 2015 (11y ago) · 17 submissions
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 9y ago · link · parent
I'm looking forward to his book on Ethereum. In the meantime, Chris Dannen's "Introducing Ethereum and Solidity" is helping me to get a good grasp.
comment 9y ago · link · parent
7.
Writing a Golang DSL with slight abuse of Go syntax(blog.gopheracademy.com ↗)
3 points · by abglassman · 9y ago · discuss
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
~/badcode$ echo "func" > badfile.go\;\ echo\ \"Gotcha\!\"
~/badcode$ ls
badfile.go; echo "Gotcha!"
~/badcode$ tag func
badfile.go; echo "Gotcha!"
[1] 1:func
~/badcode$ e1
Gotcha! +1
In case that's not clear, I was able to create a file with a name that contains potentially malicious shell commands that is now bound to an alias via tag.Other ways to implement the shortcuts: create a flag or subcommand to look up an hit from the results file and jump to it (I can alias this command to suit my taste) or prompt me for input before returning to the command line.
comment 10y ago · link · parent
comment 11y ago · link · parent