This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Day job: | |
Favorite Python project: Django! | |
Favorite Conference: PyCodeConf. :) | |
Python Experience Level: Yields, decorators, and fixing GitHub/Python issues with Hudson/Jenkins CI server (http://hustoknow.blogspot.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>KINESIS</vendorname> | |
<vendorid>0x0518</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>ADVANTAGE</productname> | |
<productid>0x0001</productid> | |
</deviceproductdef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<symbol_map type="KeyCode" name="PAGE_UP" value="0x74" /> | |
<symbol_map type="KeyCode" name="PAGE_DOWN" value="0x79" /> | |
<windownamedef> | |
<name>emacs_terminal</name> | |
<regex>emacs</regex> | |
</windownamedef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<symbol_map type="KeyCode" name="PAGE_UP" value="0x74" /> | |
<symbol_map type="KeyCode" name="PAGE_DOWN" value="0x79" /> | |
<windownamedef> | |
<name>emacs_terminal</name> | |
<regex>emacs</regex> | |
</windownamedef> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<identifier>emacs_pageup_pagedown_{{ PRODUCT}}</identifier> | |
<name>Emacs pageup/pagedown</name> | |
<windowname_only>emacs_terminal</windowname_only> | |
<device_only>{{ PRODUCT }}, {{ KEY }} </device_only> | |
<autogen>__KeyToKey__ KeyCode::PAGE_UP, KeyCode::V, ModifierFlag::OPTION_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::PAGE_DOWN, KeyCode::V, ModifierFlag::CONTROL_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::CONTROL_L</autogen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Revised for Ubuntu 14.10. | |
# Credits to: | |
# - https://gist.githubusercontent.com/adrienbrault/3775253/raw/da59136ef0414af151b917bd25a06882f0107947/purge.sh | |
# - http://vstone.eu/reducing-vagrant-box-size/ | |
# - https://github.com/mitchellh/vagrant/issues/343 | |
aptitude -y purge ri | |
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import glob | |
import re | |
cur_dir = os.getcwd() | |
source_dir = "%s/projects/material-design-icons/navigation" % os.environ['HOME'] | |
base_dest_dir = "%s/projects/my-android-project/app/src/main/res" % os.environ['HOME'] | |
template = "drawable-%(density)s/ic_%(name)s_%(color)s_%(size)s.png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<symbol_map type="KeyCode" name="PAGE_UP" value="0x74" /> | |
<symbol_map type="KeyCode" name="PAGE_DOWN" value="0x79" /> | |
<windownamedef> | |
<name>emacs_terminal</name> | |
<regex>emacs</regex> | |
</windownamedef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<identifier>emacs_pageup_pagedown</identifier> | |
<name>Emacs pageup/pagedown</name> | |
<windowname_only>emacs_terminal</windowname_only> | |
<device_only>{{ PRODUCT }} </device_only> | |
<autogen>__KeyToKey__ KeyCode::PAGE_UP, KeyCode::V, ModifierFlag::OPTION_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::PAGE_DOWN, KeyCode::V, ModifierFlag::CONTROL_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::CONTROL_L</autogen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this video, I'm going to walk through a basic but functional ToDo list app. | |
- Going to rely on the Android Quickstart guide. | |
- The first step in building an app is scoping and wireframing it. | |
- Before you build anything, it's important to scope your app. | |
- We're going to define 3 different user scenarios: user can open the app and view a list, add a new item, and remove an item. | |
- First version we're not going to have marking completion or setting priority. | |
- Let's mock out our app to build the simplest wireframe for our app. | |
- It's important to think about the views and the interactions. | |
- It comes down to the Action Bar, the list of items vertically scrollable and click to remove, | |
textbox, and add button which will cause the input to be added to the list. |
OlderNewer