| #!/usr/bin/python | |
| ''' | |
| Python implementation of passcode hashing algorithm used on the Samsung Galaxy S4 GT-I9505 4.2.2 | |
| Correct PIN for hash and salt below is 1234. | |
| Get 40-character hash value in ascii hex format from file /data/system/password.key on the phone | |
| Get salt in signed numeric format by doing sqlite3 query SELECT value FROM locksettings WHERE name = 'lockscreen.password_salt' on /data/system/locksettings.db |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| KEYBINDINGS | |
| byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used). The common key bindings | |
| are: | |
| F2 - Create a new window | |
| F3 - Move to previous window | |
| F4 - Move to next window |
THE STATUS IS NO LONGER TRUE, WE HAVE ADDED OPERATION HOOKS SINCE THEN.
SEE http://docs.strongloop.com/display/LB/Operation+hooks
At the moment, LoopBack provides two kinds of hooks:
Notes have been moved here: https://github.com/shazow/learning-opengl
Old versions of the notes that were here are still available as revisions of this gist. Previous revision: https://gist.github.com/shazow/d869952642fe081466fa/70d92e7aac66be8ce9217b06d45fc6441af7b06c
| /* | |
| * Copyright (c) 2016 Martin Donath | |
| * | |
| * All rights reserved. No part of this computer program(s) may be used, | |
| * reproduced, stored in any retrieval system, or transmitted, in any form or | |
| * by any means, electronic, mechanical, photocopying, recording, or otherwise | |
| * without prior written permission. | |
| * | |
| * The above copyright notice and this permission notice shall be included in | |
| * all copies or substantial portions of the Software. |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.
| #!/bin/bash | |
| # | |
| # NOTE: specify the absolutepath to the directory to use when | |
| # loading a plugin. '~' expansion is supported. | |
| # | |
| chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins | |
| # |

