This file contains 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
diff --git a/recovery/create_sdrawkcab_ts.py b/recovery/create_sdrawkcab_ts.py | |
new file mode 100755 | |
index 0000000..1402833 | |
--- /dev/null | |
+++ b/recovery/create_sdrawkcab_ts.py | |
@@ -0,0 +1,27 @@ | |
+#!/usr/bin/env python | |
+import re | |
+import os | |
+ |
This file contains 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
#!/usr/bin/env python2.7 | |
# script by Alex Eames http://RasPi.tv | |
# explained here... | |
# http://raspi.tv/2013/controlled-shutdown-duration-test-of-pi-model-a-with-2-cell-lipo | |
# DO NOT use this script without a Voltage divider or other means of | |
# reducing battery voltage to the ADC. This is exaplained on the above blog page | |
import time | |
import os | |
import subprocess | |
import smtplib |
This file contains 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
#!/usr/bin/env python | |
import cap1xxx | |
import random | |
import time | |
""" | |
4 3 2 | |
5 7 1 |
This file contains 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
#!/usr/bin/env python | |
import RPi.GPIO as GPIO | |
import sys | |
from signal import pause | |
def button_pressed(channel): | |
print("Button %d was pressed" % channel) | |
if len(sys.argv) < 2: | |
print("No port numbers were supplied!") |
This file contains 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
#!/usr/bin/env python | |
from __future__ import print_function | |
import requests | |
import re | |
import os | |
github_project = 'resin-io/etcher' | |
releases_url = 'https://github.com/' + github_project + '/releases' | |
aws_url = 'https://resin-production-downloads.s3.amazonaws.com/etcher' |
This file contains 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
#!/bin/bash | |
### | |
# Copyright 2017 resin.io | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
diff --git a/main.c b/main.c | |
index e8e9b59..28475f0 100755 | |
--- a/main.c | |
+++ b/main.c | |
@@ -5,6 +5,22 @@ | |
#include <unistd.h> | |
+#include <sys/time.h> | |
+ |
This file contains 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
#!/bin/bash | |
### | |
# Copyright 2017 resin.io | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
#!/usr/bin/python | |
# A super-simple standalone script (which makes various assumptions, and does no | |
# verification) to show how easily .bmap files can be parsed. | |
# It only supports uncompressed images, and if the image is named mydata.img it | |
# assumes the bmap is named mydata.bmap | |
# MIT License | |
# | |
# Copyright (c) 2018 Andrew Scheller |
OlderNewer