Spreadsheets are amazing. They are arguably a Turing-complete programming language (only stretching the definition slightly). There are definitely as many spreadsheets as people in the world, and I'd even guess there are over a trillion actively used spreadsheets out there somewhere.
I have a website with a two-level dropdown menu (it's not this one!). I want it to be slick, so I used CSS to only show the submenus when the user was hovering on the relevant parent menu item. This was great, until I realized people liked to access my website from their phones. The only way to reveal the submenus using a touch screen is to click the top menu item, but that will activate the link and change the page before you can find the link you want.
Whenever I use openvpn I'm stuck carting around 5 files, sending them over Bluetooth and cluttering up my phone's downloads directory or confusing people I'm setting up with openvpn
I decided finally to figure out inline openvpn client config files (note: all-in-one files don't work on the Securepoint SSL windows client). I made this sed script/command that will automate the process. Imagine that the following five correctly configured openvpn files are in my current directory, with the openvpn file referencing the others:
I scoured the internet for a cheat sheet list of Chinese vocabulary related to computers/tech work, but I couldn't find one. So here goes nothing!
Short link to this list: www.devinhoward.ca/chinese
Edit to add: This list is really useful! http://www.iicm.org.tw/term/index.asp
Here are the commands I use for ssh port forwards. If you add the -N flag it *won't* open an ssh session, but that's almost aesthetic. Imagine I'm running all of these from my laptop.
I have a thought, but I'm not well equipped to model the economics of it. I want to investigate it further.
When your cell phone can't be trusted - maybe the NSA has put on a virus, or another app - then you're in trouble. How can you be sure your data is not being modified? One way that Google and Apple accomplish this is through cloud sync. If your data is synced to the cloud, it can be modified, but it goes via Google or Apple, with logging included.
I just tried to implement cgroups on an Ubuntu machine. It was the most horrendous experience. In the hope of helping others, or myself in the future, here is some of what I've learned. A lot of Googling around and trial and error was needed. The most valuable resource on the web (which is still not fully helpful...) is at https://wiki.archlinux.org/index.php/cgroups.
I just made two cool bash functions for use at work. One checks if a Debian/Ubuntu package is present and installs it if it isn't. The second takes a string bash command and echos it before running it, exiting the script if there's an error.
I'm an environmentalist, so I like the idea of reducing consumption. It's almost an axiom of economics by now that eduction leads women to have less children, thus reducing a nation's consumption.
But at some point, all nations will be developed. China's citizens are now "getting their car", and soon there will be millions more from Africa "getting their car".
I maintain a Drupal website with several hundred files in the /sites/default/files folder. It's a big mess - they're unsorted, many are no longer referred to, and so on. That's another topic.
I was wondering if there was a way to make future links nicer. People accessing the website or sharing links to files on our website don't want to type "sites/default" - that's stupid!