I hereby claim:
- I am jackmc on github.
- I am jackmc (https://keybase.io/jackmc) on keybase.
- I have a public key whose fingerprint is 2C45 DF69 F561 C0F6 322B 6FF8 0CC6 1C99 E5CE AE91
To claim this, I am signing this object:
| bold=`tput bold` | |
| normal=`tput sgr0` | |
| touch .errors | |
| for d in */ | |
| do | |
| echo "Processing $d" | |
| cd "$d" | |
| if [ -d .git ] | |
| then |
| def fractional_add(bits): | |
| accum = 0 | |
| for i, bit in enumerate(reversed(bits)): | |
| accum += 1/(2**(i+1)) | |
| return accum |
I hereby claim:
To claim this, I am signing this object:
| <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> | |
| <meta name="ProgId" content="Word.Document"> | |
| <meta name="Generator" content="Microsoft Word 14"> | |
| <meta name="Originator" content="Microsoft Word 14"> | |
| <link rel="File-List" href="http://www2.usfirst.org/2013comp/Events/ONTO/matchresults_files/filelist.xml"> | |
| <link rel="Edit-Time-Data" href="http://www2.usfirst.org/2013comp/Events/ONTO/matchresults_files/editdata.mso"> | |
| <!--[if !mso]> | |
| <style> | |
| v\:* {behavior:url(#default#VML);} |
| ## AWS | |
| # Amazon Web Services (No Header Required) | |
| # from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
| http://169.254.169.254/latest/user-data | |
| http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] | |
| http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME] | |
| http://169.254.169.254/latest/meta-data/ami-id | |
| http://169.254.169.254/latest/meta-data/reservation-id | |
| http://169.254.169.254/latest/meta-data/hostname | |
| http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| int main() { | |
| uint32_t input_bytes[4]; | |
| uint32_t first_item, second_item, third_item, fourth_item; | |
| bool values_match_rules = false; | |
| for (first_item = 0; first_item < 255; first_item++) { |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| int main() { | |
| uint32_t input_bytes[4]; | |
| uint32_t x_pos = 0, y_pos = 0; | |
| bool values_match_rules = false; | |
| for (x_pos = 0; x_pos < 255; x_pos++) { |
These are some rough steps for setting up Windows dual-boot on the Steam Deck. Please note that this may or may not work, since I didn't follow this exact path and did a lot of experimentation to land on these recommendations.
Things you need:
| require 'rexml' | |
| require 'json' | |
| $stdout.sync = true | |
| class State < Struct.new(:cells, :selection) | |
| def initialize | |
| state = REXML::Functions.json_parse(File.read("state.json")) | |
| @cells = state[:@cells].map do |key, value| | |
| [REXML::Functions.json_parse(key.to_s), value] |