modelmayhem.com
Timothy Warnock, Photographer, San Diego, California, US
http://www.modelmayhem.com/timwarnock
May 01, 2015. Jun 17, 2009. Http:/ www.modelmayhem.com/timwarnock. TWITTER: http:/ twitter.com/timwarnock. FACEBOOK: http:/ www.facebook.com/timothy.j.warnock. DEVIANTART: http:/ timwarnock.deviantart.com/gallery/. Art, Photography, Science, Travel - things that make my life worth living! I decided to take a year off to travel, I love meeting people from all over the world, especially creative and passionate people :). Steampunk techno with boy and girl lovers, connecting through machines. The unknown jo...
anattatechnologies.com
Anatta Technologies | Anatta Technologies | Page 2
http://www.anattatechnologies.com/q/page/2
Newer posts →. Python slice and sql every Nth row. April 24, 2012. I would like to retrieve every Nth row of a SQL table, and I would like this accessed via a python slice function. A python slice allows access to a list (or any object that implements a getitem method) by a start, stop, and step - for example,. Foo = range(100) foo[5] 5 foo[5:10] [5, 6, 7, 8, 9] foo[5:10:2] [5, 7, 9]. The parameters of a slice behave identically to the builtin range() function,. Range(5,10,2) [5, 7, 9]. Going back to the...
anattatechnologies.com
vim | Anatta Technologies
http://www.anattatechnologies.com/q/category/vim
April 29, 2014. I have been using vim for years and am consistently surprised at the amazing things it can do. Vim has been around longer than I have been writing code, and its predecessor (Vi) is as old as I am. Somehow … Continue reading →. Comments Off on vim: Visual mode. Vim: tags and tabs. April 15, 2014. Comments Off on vim: tags and tabs. Vim and screen, automagic titles. April 3, 2014. Comments Off on vim and screen, automagic titles. Datsize, simple command line row and column count.
anattatechnologies.com
bash | Anatta Technologies
http://www.anattatechnologies.com/q/category/bash
Datsize, simple command line row and column count. July 27, 2014. Lately I've been working with lots of data files with fixed rows and columns, and have been finding myself doing the following a lot: Getting the row count of a file, twarnock@laptop:/var/data/ctm :) wc -l lda out/final.gamma 3183 lda out/final.gamma twarnock@laptop:/var/data/ctm :) … Continue reading →. Comments Off on datsize, simple command line row and column count. Vim and screen, automagic titles. April 3, 2014. April 24, 2013. Imagi...
anattatechnologies.com
node.js redirect with query string | Anatta Technologies
http://www.anattatechnologies.com/q/2014/03/node-js-redirect-with-query-string
Javascript appending to query string. Vim and screen, automagic titles →. Nodejs redirect with query string. March 9, 2014. Previously, I discussed javascript appending to query string. Where we serialized an associative array to a query string. I would now like to leverage this technique within node.js. As a redirect service. Specifically, I am using express. To make a web app in node.js and the app includes a redirect service, e.g.,. Usage of this service is as simple as,. Any external app could use th...
anattatechnologies.com
python | Anatta Technologies
http://www.anattatechnologies.com/q/category/python
Locking and concurrency in python, part 2. November 5, 2012. Previously, I created a "MultiLock" class for managing locks and lockgroups across a shared file system. Now I want to create a simple command-line utility that uses this functionality. To start, we can create a simple runone() function that leverages … Continue reading →. Comments Off on locking and concurrency in python, part 2. Locking and concurrency in python, part 1. November 5, 2012. Zip archive in python. November 2, 2012. May 18, 2012.
anattatechnologies.com
git, obliterate specific commits | Anatta Technologies
http://www.anattatechnologies.com/q/2014/05/git-obliterate-specific-commits
Getting the most out of your ssh config →. Git, obliterate specific commits. May 12, 2014. I would like to obliterate a series of git commits between two points, we'll call these the START and END commits. First, determine the SHA1 for the two commits, we'll be forcefully deleting everything in between and preserving the END exactly as it is. Detach head and move to END commit,. Move HEAD to START, but leave the index and working tree as END. Git reset - soft SHA1-for-START. Git commit -C SHA1-for-END.
anattatechnologies.com
locking and concurrency in python, part 2 | Anatta Technologies
http://www.anattatechnologies.com/q/2012/11/locking-and-concurrency-in-python-part-2
Locking and concurrency in python, part 1. Scripting Photoshop for stop motion →. Locking and concurrency in python, part 2. November 5, 2012. Previously, I created a "MultiLock" class. For managing locks and lockgroups across a shared file system. Now I want to create a simple command-line utility that uses this functionality. To start, we can create a simple runone. Function that leverages MutliLock, e.g.,. The closure is used so that we can pass arguments to the decorator function, e.g.,. Runone('lock...
anattatechnologies.com
zip archive in python | Anatta Technologies
http://www.anattatechnologies.com/q/2012/11/zip-archive-in-python
Locking and concurrency in python, part 1 →. Zip archive in python. November 2, 2012. I would like to create zip archives within a python batch script. I would like to compress individual files or entire directories of files. You can use the built-in zipfile module, and create a ZipFile as you would a normal File object, e.g.,. Foo = zipfile.ZipFile('foo.zip', mode='w') foo.write('foo.txt'). We can put this all together into a handy utility function that creates a compressed zipfile for any file or direc...
anattatechnologies.com
html | Anatta Technologies
http://www.anattatechnologies.com/q/category/html
Scripting Photoshop for stop motion. December 25, 2012. I would like a simple and quick way to save a copy of an image in Photoshop, with an auto-incrementing filename. Ideally, a single button to capture a frame in a stop motion animation. In other words, I would like … Continue reading →. Comments Off on scripting Photoshop for stop motion. August 28, 2011. Javascript keyboard buffer, part 4. July 20, 2011. Css opacity in javascript. July 14, 2011. Html footer at the bottom. July 14, 2011. May 26, 2011.
SOCIAL ENGAGEMENT