I hereby claim:
- I am djumaka on github.
- I am djumaka (https://keybase.io/djumaka) on keybase.
- I have a public key ASCD7HiO_h7wPXZhYOzPCqneJXI1Jxp_AqQh_ShBax5k0wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
1MB flash sizee | |
sonoff header | |
1 - vcc 3v3 | |
2 - rx | |
3 - tx | |
4 - gnd |
<?php | |
$jsString = file_get_contents("./load_save_banner.js"); | |
preg_match("/^var (.*?) = (\[.*?\]);/i", $jsString, $output_array); | |
$varName = $output_array[1]; | |
$varData = eval('return '.$output_array[2].';'); | |
foreach($varData as $key => $val) { | |
$jsString = str_replace($varName.'['.$key.']', "\"".addslashes($val)."\"", $jsString); | |
} |
<?php | |
require "PHPMailer/PHPMailerAutoload.php"; | |
date_default_timezone_set('UTC'); | |
$server = 'your-jira.atlassian.net'; | |
$jiraname = 'jira.api.username'; | |
$jiraPassword = 'jira.api.username'; | |
$reportDate = date("Y/m/d"); | |
$assignees = array( | |
'jira.username' => array( |
<ifModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} !^/(img|js|app|css|robots\.txt|favicon\.ico)(.*)$ [NC] | |
RewriteRule ^ index.php [NC,L] | |
</ifModule> |
int ledPin = 13; | |
String cmd = ""; | |
String tmpCmd = ""; | |
boolean readCmd = false; | |
void setup () { | |
Serial.begin (9600); | |
pinMode(ledPin, OUTPUT); | |
} | |
void loop () { |