- Show a list of accounts
- Allow adding a new account
- Edit Account details
This file contains hidden or 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
#!/usr/bin/python | |
class GetProcs: | |
d = [(i, i**2, i**3) for i in range(10)] | |
i = 0 | |
@classmethod | |
def GetFirstProc(cls): | |
print 'GetFirstProc - {} (i={}, d={})'.format(cls.d[cls.i], cls.i, cls.d) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
set modeline | |
set autochdir | |
set hls | |
set incsearch | |
set mouse=a |
This file contains hidden or 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
set-option -g default-shell /bin/bash | |
set -g status-utf8 on | |
set -g status-keys vi | |
set -g status-interval 1 | |
set -g prefix ` | |
bind ` send-key ` |
This file contains hidden or 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
""" Creating localization directories in an Andorid project | |
The script creates the required directories and copies the default strings.xml | |
file to each of them. | |
Those xml files can later be editted. | |
""" | |
from path import path | |
VALUES = "values" |
This file contains hidden or 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
from optparse import OptionParser | |
def main(): | |
parser = OptionParser() | |
parser.add_option("-f", "--file", dest="filename", | |
help="write report to FILE", metavar="FILE") | |
# ADD YOUR OPTION HERE: | |
(options, args) = parser.parse_args() |
This file contains hidden or 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
pm list packages -f |
This file contains hidden or 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
<TextView | |
android:id="@+id/stock_ticker" | |
android:layout_alignParentBottom="true" | |
android:textSize="15sp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:singleLine="true" | |
android:ellipsize="marquee" | |
android:marqueeRepeatLimit="marquee_forever" | |
android:scrollHorizontally="true" |
This file contains hidden or 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
#!/usr/bin/env python3 | |
""" A Script for changing filenames to remove a prefix | |
This script was used to prepare a directory containing many files in sub | |
directories, for import using beets (https://github.com/sampsyo/beets). | |
""" | |
import fnmatch | |
import os |
OlderNewer