These instructions were performed on a RaspberryPI 2 with a proper heatsink.
- Follow these instructions to install NOOBS with a Mac.
- Choose "Raspbian" from the selected options when installing.
| import os | |
| import json | |
| def path_to_dict(path): | |
| d = {'name': os.path.basename(path)} | |
| if os.path.isdir(path): | |
| d['type'] = "directory" | |
| d['children'] = [path_to_dict(os.path.join(path,x)) for x in os.listdir\ | |
| (path)] | |
| else: |
These instructions were performed on a RaspberryPI 2 with a proper heatsink.
Seeing how SteamIDs have changed recently, I thought I'd write a Gist to help others (including myself!) decypher how to convert these from one format to the other in Python. First, let's go over basics to convert a 64bit CommunityID into a SteamID:
steamid64ident = 76561197960265728
def commid_to_steamid(commid):
steamid = []
steamid.append('STEAM_0:')
steamidacct = int(commid) - steamid64ident
| # This gist is compatible with Ansible 1.x . | |
| # For Ansible 2.x , please check out: | |
| # - https://gist.github.com/dmsimard/cd706de198c85a8255f6 | |
| # - https://github.com/n0ts/ansible-human_log | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| class DictionaryUtility: | |
| """ | |
| Utility methods for dealing with dictionaries. | |
| """ | |
| @staticmethod | |
| def to_object(item): | |
| """ | |
| Convert a dictionary to an object (recursive). | |
| """ | |
| def convert(item): |
| The MIT License (MIT) | |
| Copyright (c) 2013 Michael E. Cotterell | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| /* Solarized Dark | |
| For use with Jekyll and Pygments | |
| http://ethanschoonover.com/solarized | |
| SOLARIZED HEX ROLE | |
| --------- -------- ------------------------------------------ | |
| base03 #002b36 background | |
| base01 #586e75 comments / secondary content |
This describes my basic Arch Linux installation on my Chromebook Pixel.
Note: I'm a coward, so I installed Arch to an SD card instead of wiping out the existing SSD.
| const int c = 261; | |
| const int d = 294; | |
| const int e = 329; | |
| const int f = 349; | |
| const int g = 391; | |
| const int gS = 415; | |
| const int a = 440; | |
| const int aS = 455; | |
| const int b = 466; | |
| const int cH = 523; |
| This playbook has been removed as it is now very outdated. |