Skip to content

Instantly share code, notes, and snippets.

Avatar
😄
indeed...!

arun.jayapal deostroll

😄
indeed...!
View GitHub Profile
@deostroll
deostroll / x11vnc_server_on_startup.md
Last active Sep 20, 2020 — forked from YourFriendCaspian/x11vnc_server_on_startup.txt
Configure your system to have x11vnc running at startup.
View x11vnc_server_on_startup.md

Ubuntu 15.04 – Configure your system to have x11vnc running at startup.

Hello World,

If you are following us, you probably remember that we wrote already a post about this topic (see Ubuntu 14.10 – Configure your sytem to have x11vnc running at startup). Since Ubuntu 15.04 is using systemd, the instructions found in the previous post are not applicable anymore. Some of our readers had issues after upgrading to Ubuntu 15.04. The x11VNC is not running at startup anymore.

View serial_experiments2.ino
#include <SoftwareSerial.h>
SoftwareSerial skbd(D1, D2); //RX. TX
#include <dummy.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
skbd.begin(9600);
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
:root {
--radius: 7px;
--border-string: 2px solid hotpink;
View swagger.json
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "mylbproj1"
},
"basePath": "/api",
"paths": {
"/Users/{id}/accessTokens/{fk}": {
"get": {
@deostroll
deostroll / wait-pid.sh
Created Dec 14, 2017
script to wait for a particular pid - bash
View wait-pid.sh
#!/bin/bash
pid=$1
me="$(basename $0)($$):"
echo "$me"
if [ -z "$pid" ]
then
echo "$me a PID is required as an argument" >&2
exit 2
fi
View README.md

Differences in trace output

@deostroll
deostroll / README.md
Last active Nov 12, 2017
simple alarm system
View README.md

Here is the source code for my simple alarm system:

Scripts for the wemos wifi mini:

boot.py
main.py
httpclient.py

Scripts for the web server:

@deostroll
deostroll / .eslintrc
Created Jun 22, 2017 — forked from Javiani/.eslintrc
.eslintrc
View .eslintrc
{
"rules": {
"indent": [2,"tab"],
"quotes": [2,"single"],
"linebreak-style": [2,"unix"],
"semi": [2,"never"],
"no-unused-vars": ["error", { "vars": "all", "args": "none" }]
},
"env": {
"es6": true,
@deostroll
deostroll / .jshintrc
Created Jun 15, 2017
sample jshintrc file
View .jshintrc
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
View dictionary.txt
This file has been truncated, but you can view the full file.
AA
AAH
AAHED
AAHING
AAHS
AAL
AALII
AALIIS
AALS