This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.6.2 | |
# -*- coding: utf-8 -*- | |
# run script from command line via python3 keyword_search_github_repositories.py | |
import click | |
import datetime | |
import time | |
from github import Github |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Placed into public domain by | |
anatoly techtonik <[email protected]> | |
Show HTML in GUI window through PyQt4/PySide. | |
[ ] position window at the center of the screen | |
(right now it is middle bottom) | |
[ ] implement lazy loading for PyQt4/PySide | |
""" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Import library | |
import json | |
# This is a python library for 'Text Processing Services', as the offcial site suggests. | |
import difflib | |
from difflib import SequenceMatcher | |
#Let's load the same data again | |
data = json.load(open("dictionary.json")) | |
#Run a Sequence Matcher |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib as hasher | |
import datetime as date | |
# Define what a Snakecoin block is | |
class Block: | |
def __init__(self, index, timestamp, data, previous_hash): | |
self.index = index | |
self.timestamp = timestamp | |
self.data = data | |
self.previous_hash = previous_hash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from flask import request | |
import json | |
import requests | |
import hashlib as hasher | |
import datetime as date | |
node = Flask(__name__) | |
# Define what a Snakecoin block is | |
class Block: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function transformer (ast) { | |
var svg_ast = { | |
tag : 'svg', | |
attr: { | |
width: 100, height: 100, viewBox: '0 0 100 100', | |
xmlns: 'http://www.w3.org/2000/svg', version: '1.1' | |
}, | |
body:[] | |
} | |