Skip to content

Instantly share code, notes, and snippets.

View iH8c0ff33's full-sized avatar

Daniele Monteleone iH8c0ff33

  • Turin, Italy
View GitHub Profile
Undefined symbols for architecture x86_64:
"_yajl_tree_get", referenced from:
_readConfig in server-214c03.o
"_yajl_tree_parse", referenced from:
_readConfig in server-214c03.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-------------------------------------------------------------------------------------------------------------------------------
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
@iH8c0ff33
iH8c0ff33 / code.py
Created August 19, 2015 16:45
CoC nonce scramble
class scramble7prng:
def __init__(self, seed):
self.ix= 0
self.buffer= [ 0 for i in range(624) ]
self.seedbuffer(seed)
def dumpbuffer(self):
for x in self.buffer:
print " %08x" % x,
print
def seedbuffer(self, seed):
string.split('find').join('replacewith');
@iH8c0ff33
iH8c0ff33 / pr.ino
Last active December 13, 2015 10:38
uint8_t prPin = 0;// Pin Fotoresistenza
uint8_t prTrigger = 50;// Se minore di questo trigger
// Programma
bool start = true;
unsigned long startTime = 0;
uint8_t count = 0;
void setup() {
pinMode(13, OUTPUT);
Serial.begin(9600);
delay(500);
lines = []
for line in open('Dati.txt').readlines():
lines.append(line.replace(',','.'))
file = open('Dati.txt', 'w')
for line in lines:
file.write(line)
mg_lwip_udp_recv_cb 0x3ffefd8c 192.168.1.1:49001 0x3ffef184 1 49
mg_if_recv_udp_cb 0x3ffefd8c 49
mg_add_conn 0x3ffeed8c 0x3fff0b44
mg_call 0x3fff0b44 proto ev=1 ev_data=0x3fff0b5c flags=1026 rmbl=0 smbl=0
mg_call 0x3fff0b44 after proto flags=1026 rmbl=0 smbl=0
mg_recv_common 0x3fff0b44 49 0
mg_call 0x3fff0b44 proto ev=3 ev_data=0x3ffffeb0 flags=1026 rmbl=49 smbl=0
handler ---- DNS packet from 192.168.1.1 (2 questions, 0 answers)
handler -- Q type 12 name _raop._tcp.local (QU) from 192.168.1.1
handler -- Q type 12 name _airplay._tcp.local (QU) from 192.168.1.1
#include "fw/src/mgos_app.h"
#include "fw/src/mgos_wifi.h"
#include "fw/src/mgos_i2c.h"
#include "fw/src/mgos_gpio.h"
#include "fw/src/mgos_timers.h"
#include "fw/src/mgos_hal.h"
#include "fw/src/mgos_bitbang.h"
#define ADDR 0x68
[Aug 16 00:06:01.327] add if
[Aug 16 00:06:01.329] esp_mgos_init2 empty 1.0 (20170815-205948/???)
[Aug 16 00:06:01.333] esp_mgos_init2 Mongoose OS 2017081520 (20170815-205948/master@f365a207)
[Aug 16 00:06:01.341] esp_mgos_init2 SDK 2.1.0(ce90efd); flash: 4M; RAM: 52680 total, 47592 free
[Aug 16 00:06:01.348] esp_print_reset_info Reset cause: 4 (soft reset)
[Aug 16 00:06:01.353] mgos_vfs_dev_open sysflash () -> 0x3fff0634
[Aug 16 00:06:01.357] mgos_vfs_mount Mount SPIFFS @ / (dev 0x3fff0634, opts {"addr": 32768, "size": 262144}) -> 0x3fff0644
[Aug 16 00:06:01.416] mgos_vfs_mount /: size 233681, used: 29367, free: 204314
[Aug 16 00:06:01.493] mgos_sys_config_init MAC: 5ECF7F1767A6
[Aug 16 00:06:01.498] mgos_sys_config_init WDT: 30 seconds
#0 0x4000065c in __muldi3 ()
#1 0x402714e1 in mpi_mul_hlp (i=i@entry=64, s=0x3fff31b4, d=0x3fff59d0, d@entry=0x3fff5994, b=b@entry=3682776023) at bignum.c:1139
#2 0x402711ae in mpi_montmul (A=A@entry=0x3ffff84c, B=B@entry=0x3ffff84c, N=N@entry=0x3ffefc5c, mm=mm@entry=1479185483, T=T@entry=0x3ffff798) at bignum.c:1574
#3 0x402600c0 in mbedtls_mpi_exp_mod (X=X@entry=0x3ffff84c, A=<optimized out>, A@entry=0x3ffff864, E=E@entry=0x3ffff810, N=N@entry=0x3ffefc5c, _RR=_RR@entry=0x3ffefca4) at bignum.c:1762
#4 0x402630a4 in mbedtls_rsa_private (ctx=0x3ffefc24, f_rng=0x40281c68 <mg_ssl_if_mbed_random>, p_rng=0x3ffeff0c, input=<optimized out>, output=output@entry=0x3ffff8b0 "\264\004\377?\002") at rsa.c:505
#5 0x40263603 in mbedtls_rsa_rsaes_pkcs1_v15_decrypt (ctx=<optimized out>, f_rng=<optimized out>, p_rng=<optimized out>, mode=1, olen=0x3ffffda0, input=<optimized out>,
output=output@entry=0x3ffffd40 "@\315\030\031\310\262\027\065\022\353\306;\b\a\270\023%\364\063I\220?a\334\016H&\224\247I&\374\303\376\257