sudo dseditgroup -o edit -a USERNAME -t user GROUPNAME
defaults write com.google.GmailNotifier AutocheckInterval EVERY_N_MINUTES
defaults delete com.google.GmailNotifier AutocheckInterval # to reset
| // quite same what _.debounce does http://underscorejs.org/#debounce | |
| function self_delay(delay, just_run){ | |
| delay = delay || 3000; | |
| clearTimeout(self_delay.sheduled); | |
| if (!just_run){ | |
| self_delay.sheduled = setTimeout(self_delay, delay, 0, true); | |
| return; | |
| } |
| diff --git a/dev_appserver.py b/dev_appserver.py | |
| index 0276d25..ed1e519 100755 | |
| --- a/dev_appserver.py | |
| +++ b/dev_appserver.py | |
| @@ -23,7 +23,7 @@ | |
| import os | |
| import re | |
| import sys | |
| - | |
| +import google |
| #!/usr/bin/env awk -f | |
| # CCZE alternative (https://github.com/cornet/ccze) | |
| BEGIN { | |
| RED="\033[0;31m" | |
| YELLOW="\033[0;33m" | |
| GREEN="\033[0;32m" | |
| BLUE="\033[0;34m" | |
| LIGHT_RED="\033[1;31m" | |
| LIGHT_GREEN="\033[1;32m" |
| // More than https://github.com/about | |
| // Uses https://api.github.com/orgs/github/members as data source and fetches user data from the url field | |
| [ | |
| { | |
| "op": "core/column-addition-by-fetching-urls", | |
| "description": "Create column userData at index 1 by fetching URLs based on column url using expression grel:value", | |
| "engineConfig": { | |
| "facets": [], | |
| "mode": "row-based" | |
| }, |
sudo dseditgroup -o edit -a USERNAME -t user GROUPNAME
defaults write com.google.GmailNotifier AutocheckInterval EVERY_N_MINUTES
defaults delete com.google.GmailNotifier AutocheckInterval # to reset
| from itertools import chain, islice | |
| def chunk(seq, chunksize): | |
| """ Yields items from an iterator in iterable chunks.""" | |
| it = iter(seq) | |
| while True: | |
| yield chain([it.next()], islice(it, chunksize - 1)) | |
| if __name__ == '__main__': | |
| lst = ['a', 'b', 'c', 'd', 'e'] |
| git add -p | |
| git stash -p | |
| git reflog | |
| gitk --all `git reflog |cut -c1-7` | |
| git status -M --find-copies-hard | |
| git grep "supae" | |
| git log -S "supae" -p | |
| git log -P |
| export REQUEST_METHOD="GET"; | |
| export PATH_INFO="ws/keywords"; | |
| export QUERY_STRING="cid=523&tgid=54&begin=20100701&end=20100712"; | |
| perl ./cgi/seo2.cgi |
| CSS Editor | |
| Eclipse Web Developer Tools | |
| Google App Engine Java SDK | |
| Google Plugin for Eclipse | |
| Google Web Toolkit SDK | |
| PyDev for Eclipse | |
| WTP | |
| Apache MyFaces Trinidad Tag Support (Optional) | |
| Code Coverage - CodePro |
| 1) # vim /etc/exports: | |
| # What_to_share With_whom | |
| ABS_PATH IP(rw,all_squash,anonuid=XXX,anongid=YYY,insecure) | |
| # `all_squash` - turns on mapping. Each file created/modified on the client will be mapped to user | |
| # configured by `ananuid` and `anangid` on the server side. | |
| # `anonuid` - id of server side user of the changed files | |
| # `anangid` - gid of server side group of the changed files | |
| # `insecure` - lests in all requests form port higher then 1024 |