Technical notes, my online memory
Tuesday, July 16, 2013
Human readable sharing links for files in Google Drive
›
If you follow the instructions for sharing links to google drive files, you end up with horrible links that are mostly just long random str...
3 comments:
Friday, July 12, 2013
How not to do incident response
›
The OIG has a great write-up of an incident response at the Economic Development Administration that cost them $2.7m and included them phys...
Thursday, July 11, 2013
Python: skip a unittest with unittest.skipTest
›
There's a neat way to skip python tests built into unittest . You can use decorators for the test or whole class of tests that will skip...
Friday, June 28, 2013
Python assertRaises exception inside generator
›
So I have a generator and I want to make sure it throws an exception after a certain number of calls. So expected behaviour is this: def ...
Thursday, June 27, 2013
Continuously loop (cycle) through a list in python
›
Thank you itertools: In [7]: a=[1,2,3] In [8]: licycle = itertools.cycle(a) In [9]: licycle.next() Out[9]: 1 In [10]: licycle.next() Out...
Wednesday, June 12, 2013
Disable Java web applet in Internet Explorer
›
Microsoft has joined the good fight to make disabling the vulnerability-ridden Java web plugin easier. They have released a fixit that blo...
Sunday, June 2, 2013
SQL join syntax
›
Jeff Atwood posted a useful memory aid for SQL join syntax , although as many commenters point out there are a number of caveats to using se...
‹
›
Home
View web version