Skip to content

Instantly share code, notes, and snippets.

Working from home

Joe Chasinga jochasinga

Working from home
Block or report user

Report or block jochasinga

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
royshouvik /
Last active Jul 31, 2019
Describes how to setup remote debugging on an Android device using Chrome

Remote Debugging on Android with Chrome

The way your web content behaves on mobile can be dramatically different from the desktop experience. Remote debugging with Chrome DevTools lets you debug live content on your Android device from your development machine.

Debugging Chrome for Android using the Chrome Developer Tools

Remote debugging on Android supports:

  • Debugging websites in browser tabs.
  • Debugging WebViews in native Android apps.
denji /
Last active Oct 16, 2019 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples

Moved to git repository:

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
koistya /
Last active Aug 3, 2019
File and folder naming convention for React.js components

File and folder naming convention for React.js components

Directory Layout #1

staltz /
Last active Oct 16, 2019
The introduction to Reactive Programming you've been missing
DavidVaini / round.go
Created Apr 9, 2014
Arggh Golang does not include a round function in the standard math package. So I wrote a quick one.
View round.go
package main
import (
func Round(val float64, roundOn float64, places int ) (newVal float64) {
var round float64
pow := math.Pow(10, float64(places))
patrickleet / gist:6312627
Created Aug 22, 2013
meteor.js cheatsheet
View gist:6312627
// Assuming the following directory structure
// 1. Create a collection
snipe / flattr_markdown
Last active Sep 5, 2018
Markdown to add a Flattr button to your GitHub repo's Readme file
View flattr_markdown
[![Flattr this git repo](](
sporsh /
Created Oct 23, 2012
A Twisted example to demo deferreds, client/server protocols and endpoints
import time
from twisted.python import failure
from twisted.internet import reactor, defer, task
from twisted.internet.protocol import Protocol
# Define some messages for our protocol
(* Unbalanced Binary Tree *)
type 'a tree =
Node of 'a * 'a tree * 'a tree
| Leaf;;
(* e.g Node (5, Leaf, Leaf) *)
(* val insert : ’a -> ’a btree -> ’a btree = <fun> *)
let insert x s = Node (x, Leaf, s);;
zbroyar /
Created Mar 8, 2011
Sign a message with OCaml Cryptokit sha256 & RSA
let (>>) x f = f x ;;
let hash = hash_string (Hash.sha256()) ;;
let sign_of_message key msg =
msg >> hash >>
(pkcs1v1pad key) >>
(RSA.sign key) >>
You can’t perform that action at this time.