Skip to content

Instantly share code, notes, and snippets.

Saviour Gidi saviour123

Block or report user

Report or block saviour123

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
import com.fazecast.jSerialComm.SerialPort;
public class clean {
public static void main(String[] args) {
SerialPort[] ttyPort = SerialPort.getCommPorts();
for (SerialPort i: ttyPort) {
saviour123 /
Created Jun 1, 2017 — forked from bonzanini/
Elasticsearch/Python test
curl -XPOST http://localhost:9200/test/articles/1 -d '{
"content": "The quick brown fox"
curl -XPOST http://localhost:9200/test/articles/2 -d '{
"content": "What does the fox say?"
curl -XPOST http://localhost:9200/test/articles/3 -d '{
"content": "The quick brown fox jumped over the lazy dog"
curl -XPOST http://localhost:9200/test/articles/4 -d '{
saviour123 /
Created Dec 21, 2016
Simple Static blog generator.
from flask import Flask, render_template, flash, url_for
import markdown
import os
from werkzeug import cached_property
from flask_flatpages import FlatPages
import yaml
DEBUG = True
def autoIncrement(something):
global rec
pStart = 1 #adjust start value, if req'd
pInterval = 1 #adjust interval value, if req'd
if (rec == 0):
rec = pStart
rec = rec + pInterval
saviour123 / index.html
Created Jul 31, 2016 — forked from d3noob/index.html
leaflet.js map with line and options
View index.html
<!DOCTYPE html>
<title>Simple Leaflet Map</title>
<meta charset="utf-8" />
saviour123 /
Last active Feb 18, 2016
This python script prints out all words that have no 'e' in them from the word.txt
The words.txt file is located here. Thnaks so much for your help so far.
View mySimpleform
##flasin script
from flask import Flask, render_template, request
app = Flask(__name__)
#create a db
DATABASE = 'flaskr.db'
DEBUG = True
SECRET_KEY = 'development key'
You can’t perform that action at this time.