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 | |
| # Copyright 2019 Charles Choi | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
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
| FEED_DOMAIN = u'http://yummymelon.com/devnull' | |
| FEED_ATOM = u'feeds/main.xml' | |
| FEED_ALL_ATOM = u'feeds/all.atom.xml' | |
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 python | |
| # Copyright 2012 Yummy Melon Software LLC | |
| # Author: Charles Y. Choi | |
| # | |
| import os | |
| import sys | |
| import getopt | |
| import subprocess | |
| import shutil |
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
| #!/bin/bash | |
| echo '**' `date` >> $HOME/Documents/journal/journal.txt | |
| emacs -nw +10000000 $HOME/Documents/journal/journal.txt | |
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
| - (UITextRange *)rangeForWordAtPoint:(CGPoint p) { | |
| UITextPosition *position = [_textView closestPositionToPoint:p]; | |
| UITextRange *range = | |
| [_textView rangeEnclosingPosition:position | |
| withGranularity:UITextGranularityWord | |
| inDirection:UITextLayoutDirectionForward]; | |
| // UITextStorageDirectionForward, not UITextStorageDirectionRight! | |
| return range; | |
| } |
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
| - (NSArray *)allKeys { | |
| NSMutableArray *result; | |
| NSMutableArray *classList; | |
| classList = [[NSMutableArray alloc] init]; | |
| result = [[NSMutableArray alloc] init]; | |
| Class cls = [self class]; | |
| Class nsObjectClass = [NSObject class]; | |
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
| Please note any comments about the UI Automation Example. | |
| https://github.com/kickingvegas/UI-Automation-Example/blob/gh-pages/uiautomation.md | |
NewerOlder