Skip to content

Instantly share code, notes, and snippets.

@jaksog
jaksog / cto_line.pine
Created November 16, 2023 20:47 — forked from basnijholt/cto_line.pine
CTO Line indicator for TradingView
//@version=4
study(title="CTO Line", shorttitle="CTO", overlay=true, resolution="")
smma(src, length) =>
smma = 0.0
smma := na(smma[1]) ? sma(src, length) : (smma[1] * (length - 1) + src) / length
smma
v1 = smma(hl2, 15)
m1 = smma(hl2, 19)
m2 = smma(hl2, 25)
v2 = smma(hl2, 29)
@jaksog
jaksog / pocketchip_debian10.md
Created June 13, 2023 10:39 — forked from luzhuomi/pocketchip_debian10.md
A tutorial to upgrade NXT pocket C.H.I.P to Debian Buster

Pocket Chip Debian 10 Upgrade Guide

The purpose of this tutorial is to walk through the required steps to upgrade NXT chip (or pocketchip) from debian jessie to debian buster.

If you would like to start your Chip from scratch, follow the steps in the Preparation section.

Preparation (Optional)

A linux host machine, recommended Ubuntu 18.04. However I managed to do it with 20.10 with some tweak.

@jaksog
jaksog / Tiny_Tachometer.c
Created December 1, 2016 13:24 — forked from hexagon5un/Tiny_Tachometer.c
PIC Code to Set 6 Pins With 3: http://wp.me/pk3lN-YHm
/*******************************************************************************
TINY TACHOMETER
TACOMETRO C/ PIC12F675 E LCD (M�TODO LPLEX - 3 FIOS)
METODO: LEITURA DO PERIODO