I hereby claim:
- I am synic on github.
- I am synic (https://keybase.io/synic) on keybase.
- I have a public key whose fingerprint is FBC2 35D2 7CB1 08FB ACAB 89C8 4D28 E1A3 91A5 1B0F
To claim this, I am signing this object:
[synic@manetheren neoclock (g:qfn*)]$ sensors | |
acpitz-virtual-0 | |
Adapter: Virtual device | |
temp1: +92.0°C (crit = +100.0°C) | |
coretemp-isa-0000 | |
Adapter: ISA adapter | |
Core 0: +91.0°C (high = +95.0°C, crit = +105.0°C) | |
Core 2: +93.0°C (high = +95.0°C, crit = +105.0°C) |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDP/WdCKQUYF7Z1qBrcELpgQxzgrpTsoQlS/edyQmsJk9BsJx8fpsSgFtaVUDt4f+MG0KjNWLR2bgfJvSYETol661QFMXE7IpgTy1jsDBdIqDN0CD8/BLDJgex6p4TMQ6e8PjdiCupWXXdeR2rkRGAFP39tVO1UUsS923O2MjXLo3H0KuiQQzNSC6D0BQGIMk7Z0Xm8NfZZR2ym/m6748zSmvii4AZDba6FXV/xHyfPaJbVHIRPADfHec6fAXAO39Q+erQ47Nbp4NGCmWU4xCmqfgljcA0MGzgjhMBX2qYlgt2ia3vZUOgv8hDf/Zc1Ebz7gf4tDA8AWtzXJaCI7mzj synic@be |
void setup_timer(void) { | |
rcc_periph_clock_enable(RCC_TIM3); | |
timer_reset(TIM3); | |
timer_set_mode(TIM3, TIM_CR1_CKD_CK_INT, TIM_CR1_CMS_EDGE, TIM_CR1_DIR_UP); | |
timer_set_prescaler(TIM3, 0); | |
timer_set_clock_division(TIM3, 0); | |
timer_set_period(TIM3, PERIOD); | |
timer_set_oc_mode(TIM3, TIM_OC1, TIM_OCM_PWM1); | |
timer_set_oc_polarity_high(TIM3, TIM_OC1); | |
/* timer_set_dma_on_compare_event(TIM3);*/ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="refresh" content="2"> | |
<title>Home Automation</title> | |
<script type='text/javascript'> | |
function GetSwitchAnalogData() { | |
nocache = "&nocache=" + Math.random() * 1000000; | |
var request = new XMLHttpRequest(); | |
request.onreadystatechange = function() { |
I hereby claim:
To claim this, I am signing this object:
0800029c <SetSysClock>: | |
800029c: b480 push {r7} | |
800029e: b083 sub sp, #12 | |
80002a0: af00 add r7, sp, #0 | |
80002a2: 2300 movs r3, #0 | |
80002a4: 607b str r3, [r7, #4] | |
80002a6: 2300 movs r3, #0 | |
80002a8: 603b str r3, [r7, #0] | |
80002aa: 4b21 ldr r3, [pc, #132] ; (8000330 <SetSysClock+0x94>) | |
80002ac: 2213 movs r2, #19 |
#!/usr/bin/env python | |
import os, sys | |
sys.path.append(os.getcwd()) | |
import logging | |
import rq | |
MAX_FAILURES = 3 |
class OAuth2Authentication(authentication.OAuth2Authentication): | |
def authenticate(self, request): | |
valid_request = super(OAuth2Authentication, self).authenticate(request) | |
is_valid = valid_request is not None |
""" | |
This is a test | |
* this line is a line, and it's really long and it should wrap, but because | |
it's a bulleted list, it should be indented. | |
""" |
def get_uptime(self, obj): | |
return get_device_uptime(obj, 24 * 7) |