KoblentsBlog Photography
Contact About
Spider Rock
(1000px) (full)
Spider Rock
Exit
(1000px) (full)
Antelope Canyon Exit
Published Jul 13, 2016
I often search for something, then want to edit the files where it's found. Here's a nice function I stuck in my bashrc to do just that.
12345
grepvim() {
	if [ -z $1 ]; then echo "Must supply search string."; return 1; fi
	if [ -z $2 ]; then echo "Must supply search file(s)."; return 1; fi
	vim $(grep $1 ${@:2} | sed -e "s/:.*$//" | sort -u)
}
Use:
1
grepvim search file1 [file2, wildcard, etc...]
 
Published Jun 26, 2016
"It was not designed in isolation to prove a point, or to serve as an example, but as a tool to write programs that did useful things; it was always meant to interact with a larger operating system, and was regarded as a tool to build larger tools."
 
Published May 28, 2016
"Startups and big companies differ in a lot of ways. When it comes to hardware, the gulf between the two is massive. Early-stage startups are painfully under-financed. This lack of capital makes manufacturing one of the most critically dangerous periods in a young companyís life. One tiny mistake in a design, tool, or QC process and BAM, youíre out of business.
There are no second chances in hardware."
 
Published May 28, 2016
I can't believe this is mine now.
All mine
 
Published Apr 28, 2016
"This is a remarkable story of focussed technical effort, ingenuity and clever improvisation, and without doubt the shortest development cycle for any production weapon in modern military history."
 
Published Apr 8, 2016
"I was frustrated by all the wasted effort, so I decided to uncancel my small part of the project. I had been paid to do a job, and I wanted to finish it. My electronic badge still opened Apple's doors, so I just kept showing up."
 
Published Mar 6, 2016
I got sick of right-clicking on the sound button, selecting preferences, then selecting output device. Annoying!
So I finally got around to automating it, then even added buttons to the menu, and from there to the task bar. I'm on Linux Mint 17 (Mate) at the moment. Here's how it works, after the jump:
 
Published Feb 22, 2016
Reposted in full, for posterity, and to show my support.
https://www.apple.com/customer-letter/
https://www.apple.com/customer-letter/answers/


A Message to Our Customers
The United States government has demanded that Apple take an unprecedented step which threatens the security of our customers. We oppose this order, which has implications far beyond the legal case at hand.
This moment calls for public discussion, and we want our customers and people around the country to understand what is at stake.
 
 
Archive: January 2016 »
© Copyright Koblents.com, 2012-2016