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
| public JSONObject getDevices() throws ConnectionException { | |
| return get(ALLOWED_UNITS); | |
| } | |
| public JSONObject getDownstream() throws ConnectionException { | |
| return get(downstream()); | |
| } | |
| public JSONObject getDownstream(String device) throws ConnectionException{ | |
| return get(downstream(device)); |
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
| <?XML version="1.1" encoding="UTF-8"?> | |
| <!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
| <!--Last edited by Ukelele version 2.1.5 on 2011-10-05 at 16:36 (GMT+01:00)--> | |
| <keyboard group="126" id="0" name="Swiss German Keyboard - Flashingpumpkin" maxout="9"> | |
| <layouts> | |
| <layout first="0" last="17" modifiers="Modifiers" mapSet="ANSI"/> | |
| <layout first="18" last="18" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="21" last="23" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="30" last="30" modifiers="Modifiers" mapSet="JIS"/> | |
| <layout first="33" last="33" modifiers="Modifiers" mapSet="JIS"/> |
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
| # Modified from: http://stackoverflow.com/questions/489277/script-to-convert-mysql-dump-sql-file-into-format-that-can-be-imported-into-sqlit | |
| # Dump: mysqldump -u root -p --compatible=ansi <DatabaseName> > db.sql | |
| # Convert & import: mysql_to_sqlite.sh db.sql | sqlite3 db.sqlite | |
| # This works on my setup - you might have to modified the pipes! | |
| #!/bin/bash | |
| if [ "$1" == "-h" ]; |
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
| function _bash_git_status(){ | |
| [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo " *" | |
| } | |
| function _bash_git(){ | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ ~\1$(_bash_git_status)/' | |
| } | |
| function _virtual_env_name(){ | |
| [[ $(basename $VIRTUAL_ENV 2>/dev/null) ]] && echo "($(basename $VIRTUAL_ENV))" | |
| } | |
| function prompt(){ |
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
| <div style="display: none;"> | |
| <form action="." method="post" name="save-user"></form> | |
| </div> | |
| <script type="text/javascript"> | |
| $('form[name=save-user]').submit(); | |
| </script> |
NewerOlder