Skip to content

Instantly share code, notes, and snippets.

View ceremcem's full-sized avatar

Cerem Cem ASLAN ceremcem

View GitHub Profile
Time [s] Packet ID MOSI MISO
0.81563 0 0x1A 0x00
0.81567875 0 0x07 0x0C
0.81610175 1 0x02 0x07
0.8161505 1 0x00 0x00
0.816457 2 0x04 0x00
0.81650575 2 0xF7 0x02
0.8168125 3 0x08 0xF7
0.81686125 3 0x7F 0x04
0.81717 4 0x14 0x7F
Time [s] Packet ID MOSI MISO
0.303055 0 0x1A 0x00
0.30312275 1 0x07 0x0C
0.30462875 2 0x02 0x03
0.3046855 3 0x00 0x00
0.30586175 4 0x04 0x00
0.30591625 5 0xF7 0x02
0.30816125 6 0x08 0x00
0.3082155 7 0x7F 0x04
0.31223675 8 0x14 0x7F
{sleep} = require \aea
rfid = void
stm = yes
esp12 = no
setup = ->
// Generated by LiveScript 1.4.0
var sleep, rfid, stm, esp12, setup, rfidTest, run, onInit;
sleep = require('aea').sleep;
rfid = void 8;
stm = true;
esp12 = false;
setup = function(){
var spiPins, cs;
if (stm && !esp12) {
console.log("----- this is STM32-DISCOVERY");
/**
By Steve Hanov
Released to the public domain
*/
/* CJSON.stringify() to convert from objects to string
CJSON.parse() to convert from string to objects.
More documentation is pending.

Add following lines to /etc/rc.local:

USER="myusername"
su ${USER} -c '/home/${USER}/apps/run'

Place a file at /home/myusername/apps/run with the following content:

How Samba was written
---------------------
Andrew Tridgell
August 2003
Method 1:
---------
edit-this:
gedit Makefile &
untar:
tar -xvf *.tgz
download:
wget https://github.com/jeelabs/esp-link/releases/download/v2.1.7/esp-link-v2.1.7.tgz
make untar
This file has been truncated, but you can view the full file.
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch Loaded plugins: css-brunch, javascript-brunch, less-brunch, livescript-brunch
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'app' received event 'addDir'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'test' received event 'addDir'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'vendor' received event 'addDir'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'package.json' received event 'add'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'config.coffee' received event 'add'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'app/assets' received event 'addDir'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'app/jade_asset' received event 'addDir'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'app/modules' received event 'addDir'
Thu, 24 Mar 2016 04:44:35 GMT brunch:watch File 'app/partials' received event 'addDir'
This file has been truncated, but you can view the full file.
Wed, 23 Mar 2016 13:49:53 GMT brunch:watch Loaded plugins: css-brunch, jade-static-brunch, javascript-brunch, less-brunch, livescript-brunch
Wed, 23 Mar 2016 13:49:53 GMT brunch:file-list Reading 'node_modules/jade-static-brunch/node_modules/jade/runtime.js'
Wed, 23 Mar 2016 13:49:53 GMT brunch:watch File 'app' received event 'addDir'
Wed, 23 Mar 2016 13:49:54 GMT brunch:watch File 'test' received event 'addDir'
Wed, 23 Mar 2016 13:49:54 GMT brunch:watch File 'vendor' received event 'addDir'
Wed, 23 Mar 2016 13:49:54 GMT brunch:watch File 'package.json' received event 'add'
Wed, 23 Mar 2016 13:49:54 GMT brunch:watch File 'config.coffee' received event 'add'
Reading { [Error: ENOENT: no such file or directory, open 'node_modules/jade-static-brunch/node_modules/jade/runtime.js']
errno: -2,
code: 'ENOENT',