Skip to content

Instantly share code, notes, and snippets.

View sandikodev's full-sized avatar
🚄
on the way

Sandiko sandikodev

🚄
on the way
View GitHub Profile

PlatformIO with Vim (neomake, clang, coc-vim, ale)

Requirements

PlatformIO

clangd

#include <Ethernet.h>
#include <SPI.h>
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192, 168, 0, 177 };
byte server[] = { 192,168, 0, 64}; // Google
String big_string="<?xml version='1.0' encoding='UTF-8'?>-<TextOverlay xmlns='http://www.hikvision.com/ver10/XMLSchema' version='1.0'><id>1</id><enabled>true</enabled><posX>0</posX><posY>96</posY><message>AAAAAA</message></TextOverlay>";
EthernetClient client;
void setup()
@sandikodev
sandikodev / hik cheatsheet
Last active November 4, 2022 05:10
cheatsheet
https://www.hikvision.com/content/dam/hikvision/en/support/download/how-to/ipc/How%20to%20Get%20IPC%20MJPEG%20Stream%20via%20HTTP%20Commands.pdf
https://www.hikvision.com/ueditor/net/upload/2017-05-26/df89f1cb-b905-4182-bdb0-661de58584c1.pdf
http://mega-avr.net/file/programmy/IP-camera/HIKVISION/2.SDK/ISAPI/HIKVISION%20ISAPI_2.0-RaCM%20Service.pdf
http://86.49.187.98/Hikvision/Jak%20na%20to/Kamery_DVR_NVR/How%20to%20integrate%20with%20Hikvision%20LPR%20function%20via%20ISAPI.pdf
ftp://ftp.luis.ru/Raznoe/LTV_SDK/LTV_IP_S-Series_API/ISAPI_2.0-PTZ%20Service.pdf
https://11936797612864389938.googlegroups.com/attach/4fbec897364cf/HUNT%20RTSP%20and%20HTTP%20urls.pdf?part=0.1&view=1&vt=ANaJVrHQtZY6rc7ss5P8_hPsEVoagPjQD-5pcKxIXCHiEoNn_sOCsAnV9jRxTekz3i2T19u1bYlYbIRU9JzZJBs7y8vo855cip2x5rNoB0tq5jviERXBNUM
http://en0.ch/2020/08/add-temperature-to-hikvision-camera-overlay/
324284193-HIKCGI-Image-Display-Function.pdf
@sandikodev
sandikodev / gt-report
Created January 22, 2021 16:54
report sementara dash gayatri
1. $DOMAIN/gayatri/maps
- geo tag maps memuat foto dan diskripsi(nama) akun terkait
- menu search query by:
-name
-nik
-
2. image laporan belum dapat termuat
$DOMAIN/gayatri/society-report/proccess
$DOMAIN/gayatri/society-report/in
@sandikodev
sandikodev / secure-mailserver-postfix-dovecot-letsencrypt-debian-jessie.md
Created December 23, 2020 21:32 — forked from jkullick/secure-mailserver-postfix-dovecot-letsencrypt-debian-jessie.md
Secure Mailserver with Postfix, Dovecot and Let's Encrypt on Debian Jessie

Prerequirements

Config Options

export FQDN="mail.example.org"
export DOMAIN="example.org"
export MAILBOX="user"
export DEBIAN_FRONTEND="noninteractive"
export A_RECORD=$(curl -sSL https://icanhazip.com)
"======[ r e a d m e f i r s t ]======
"check my keymap with :smap|xmap|nmap|amap|vmap / <C-w>/
"
"mode-prefix(1) = ctrl+w ==> [command]
"mode-prefix(2) = leader ==> [command]
"mode-leader = \
"mode-emmet = ctrl+a ==> [command]
"https://raw.githubusercontent.com/mattn/emmet-vim/master/TUTORIAL
"list of avaliable cmd ==> :command! [cmd_parent]
"
"======[ r e a d m e f i r s t ]======
"check my keymap with :smap|xmap|nmap|amap|vmap / <C-w>/
"
"mode-prefix(1) = ctrl+w ==> [command]
"mode-prefix(2) = leader ==> [command]
"mode-leader = \
"mode-emmet = ctrl+a ==> [command]
"https://raw.githubusercontent.com/mattn/emmet-vim/master/TUTORIAL
"list of avaliable cmd ==> :command! [cmd_parent]
"
@sandikodev
sandikodev / simplified-super-grid.css
Created November 5, 2020 21:22 — forked from fzn0x/simplified-super-grid.css
Simplified version of super-grid.css
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.container {
width: 100%;
padding: 0 15px;
margin: 0 auto;
@sandikodev
sandikodev / base.css
Created November 5, 2020 21:22 — forked from zuramai/base.css
Base Responsive Flex CSS Without Bootstrap
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins';
}
.row {
margin: 0 -15px;
@sandikodev
sandikodev / improved-lnd-bitcoind-install.md
Created October 23, 2020 18:09 — forked from bretton/improved-lnd-bitcoind-install.md
updated & improved guide to installing LND, Bitcoind, on Ubuntu 16.04 Server on testnet

2018-03-18: Updating of this guide is taking a backseat to the mainnet version at

Intro

This guide is specific to getting LND and bitcoind running on ubuntu 16.04 LTS for testnet.

It does not address mainnet, or using btcd, or neutrino.

Original installation guide: