Skip to content

Instantly share code, notes, and snippets.

Volodymyr Shymanskyy vshymanskyy

Block or report user

Report or block vshymanskyy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Using your phone:
- Disable PIN code on the SIM card
- Check your balance
- Check that APN, User, Pass are correct and you have internet
Ensure the SIM card is correctly inserted into the board
Ensure that GSM antenna is firmly attached
NOTE: While GSM is connected to the Internet, WiFi can be used only in AP mode
View blynkmon.lua
#!/usr/bin/env lua
local socket = require("socket")
local use_ssl, ssl = pcall(require, "ssl")
local Blynk = require("blynk.socket")
local Timer = require("timer")
assert(#arg >= 1, "Please specify Auth Token")
local auth = arg[1]
vshymanskyy / M5Stack_Espruino.js
Last active May 16, 2019
M5Stack Espruino initialization example
View M5Stack_Espruino.js
Also, need to change in ILI9341pal.js:
var LCD_WIDTH = 320;
var LCD_HEIGHT = 240;
BTN1 = D39
BTN2 = D38
BTN3 = D37
SPKR = D25
# Requires Null Keyboard
# Author: Volodymyr Shymanskyy
brightness=$(adb shell settings get system screen_brightness)
ime=$(adb shell settings get secure default_input_method)




Red   - GC1 (D9)
Green - GC2 (D10)
Blue  - GC0 (D8)
vshymanskyy /
Last active Jul 28, 2019
Ubuntu Kubuntu Linux Setup

Ubuntu setup

KWin shortcuts - remove Ctrl+F3, Ctrl+F4

sudo apt update
sudo apt dist-upgrade

sudo apt install hardinfo i2c-tools acpi_call mesa-utils
sudo apt install curl wget tree nano mc htop cu
sudo apt install krusader meld yakuake

VirtualBox setup

VBoxManage modifyvm "OSX" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

    1280×720   (HD)
vshymanskyy / TypedBase64.js
Created Sep 25, 2017
TypedArray to base64 and back
View TypedBase64.js
input = new Float64Array([1,2,3,4])
encoded = Buffer.from(input.buffer).toString('base64')
buff = Buffer.from(encoded, 'base64');
decoded = new Float64Array(Uint8Array.from(buff).buffer)
vshymanskyy / StreamDebugger.ino
Last active Nov 29, 2016
This class wraps and Arduino Stream, and dumps all data to another Stream for debug purposes.
View StreamDebugger.ino
/* This class wraps and Arduino Stream,
* and dumps all data to another Stream for debug purposes.
* Usage:
* StreamDebugger StreamDbg(Serial1, Serial);
#ifndef StreamDebugger_h
#define StreamDebugger_h
View SerialXconnect.ino
* This utility allows you to cross-connect two serial channels
* using any Arduino-compatible device.
* This is usefull for:
* Checking wiring
* Converting baud rate
* Sending AT commands
* etc.
You can’t perform that action at this time.