Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View infominer33's full-sized avatar

⧉ infominer infominer33

View GitHub Profile
@infominer33
infominer33 / blockchain-id2.toml
Created February 26, 2023 07:53
Blockchain Identity Resources 2
["Remme Auth"]
Link = ["https://remme.io/","https://github.com/Remmeauth"]
Description = "Using a Hyperledger Sawtooth foundation, Remme implements a DPKI. Its blockchain playing the role of CA and supporting X.509 certificates either signed by the user, or an organization."
Tags = ["blockchain-id","dpki","sawtooth","x-509"]
["Juru"]
Link = ["https://juru.io/","https://github.com/juru-identity/dbh17"]
Description = "Juru Core is an open platform where you can securely store and manage your Identity and Reputation.\n\nToday Juru Core is built on Hyperledger Fabric and BigChainDB, and runs on a permissioned private blockchain. The contributing nodes are hosted by all major banks, which act as reputable gatekeeper.\n\nIt represents your identity and reputation using a smart contract, attributes can be added by the identity owner and are stored in hash form. Attributes and endorsements are formed of field sets, merkle-root hashes are used to allow sharing and verification of partial data"
Tags = ["blockchain-id"
@infominer33
infominer33 / blockchain-id.toml
Last active February 26, 2023 07:51
Blockchain Identity Resources
["Tykn: Extended Overview"]
Link = ["https://docs.google.com/document/d/1pNRO6aOb5eK4s8PVv7yS4x9TkqrGglCJ4jebU1F3Yzo/edit#"]
Description = "So far, we have identified three (3) key issues that we are seeking to resolve:\n\n1. Paper-based identification leading to costly paper trails, fraud and low interoperability of vital records, not to mention the 230 million invisible children around the globe, and the lack of both social and financial inclusion amongst vulnerable populations.\n2.Lack of resilience in identifying documents due to heavy centralisation leading to weakened communities when struck by man-made or natural disasters.\n3.Insufficient knowledge of Blockchain/Distributed Ledger Technologies within the government, municipalities and (non-)governmental organisations."
Tags = ["tykn","sovrin","self-sovereign","blockchain-id","did","indy","permissioned","documentation","humanitarian"]
["The Future of Resilient Identity"]
Link = ["https://tykn.tech/"]
Description = "At Tykn, we help NGOs and government
@infominer33
infominer33 / extract_metadata.py
Last active June 30, 2022 08:15
Extract metadata (title, description, image) from list of links using python
# https://github.com/lethain/extraction
import extraction
import requests
import csv
#### Open CSV + Write Column Names
fname = 'links.csv'
csvFile = open(fname, 'w+')
csvWriter = csv.writer(csvFile)
@infominer33
infominer33 / export-list-tw.py
Created March 6, 2021 03:51
Export twitter list members (JSON)
#!/usr/bin/env python
# encoding: utf-8
import tweepy # https://github.com/tweepy/tweepy
TWITTER_C_KEY = # your consumer_key here
TWITTER_C_SECRET = # your consumer_secret here
TWITTER_A_KEY = # your app access_token here
@infominer33
infominer33 / gist:2d6eb1daa6e0a6bda666b54a22f7905c
Last active January 2, 2021 03:25
Specify ssh key for repository
I think you could have multiple entries in ssh config for github, as long as you give it a different hostname and specify the hostname in git config according to which key you want to use.
https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-on-git/18839540
https://gist.github.com/jexchan/2351996
# SSH-ADD
`ssh-add ~/.ssh/infoid_rsa`
`ssh-add ~/.ssh/infobot_id`
@infominer33
infominer33 / haproxy.cfg
Last active January 8, 2022 16:54
identosphere.net haproxy load balancer fission + apache config w staticman
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
stats timeout 30s
user haproxy
group haproxy
daemon
log 127.0.0.1:514 local0 info
@infominer33
infominer33 / simplified-output.json
Created May 11, 2020 02:38
trimmed for readability - Google Video Intelligence Speech Transcription JSON output
"speechTranscriptions": [
{
"alternatives": [
{
"transcript": "Hi, my name is Melinda Smith from Noble works. The leading provider of Enneagram workshops in Australia. This video is part of a series about this ancient tool for personality profiling and development called the Enneagram. We've partnered with Port Stephens Council in New South Wales, Australia to share our learnings about the value of using the",
"confidence": 0.8937098,
"words": [
{
"startTime": "6.400s",
"endTime": "6.900s",
@infominer33
infominer33 / jq-output.json
Last active May 10, 2020 12:54
example output using jq to process Google Video Intelligence API JSON output
{
"time": "6.400s",
"segment": "Hi, my name is Melinda Smith from Noble works. The leading provider of Enneagram workshops in Australia. This video is part of a series about this ancient tool for personality profiling and development called the Enneagram. We've partnered with Port Stephens Council in New South Wales, Australia to share our learnings about the value of using the"
}
{
"time": "30s",
"segment": " Any Graham as a tool for personal and organizational transformation in the workplace, the council has made a significant commitment during the past decade to develop staff to be the best. They can be by using the Enneagram self. Awareness is a key leadership competency self-aware people transform themselves and their organization in this episode. We'll be talking about the Enneagram type 1. I'm here with Steve."
}
{
"time": "60s",
@infominer33
infominer33 / output.json
Last active May 10, 2020 13:55
Google Cloud API - Video Intelligence - Speech to Text - Sample Json Output
{
"name": "projects/516577691191/locations/us-west1/operations/6281505566413794394",
"metadata": {
"@type": "type.googleapis.com/google.cloud.videointelligence.v1.AnnotateVideoProgress",
"annotationProgress": [
{
"inputUri": "/buketz/Enneagram-Type-1.mp3",
"progressPercent": 100,
"startTime": "2020-05-10T10:29:46.371711Z",
"updateTime": "2020-05-10T10:32:12.422537Z"
@infominer33
infominer33 / github-repo-portfolio.html
Last active April 15, 2019 01:05
Github repo portfolio
<!-- requires git2.css and normalize.css makes a
makes a page like this: https://i.imgur.com/0oXmD6C.png -->
<div class="col-9 float-left pl-2">
<div class="position-relative">
<div class="mt-4">
<div>
<div class="d-inline-flex flex-justify-between flex-items-baseline width-full mb-2">
<h2 class="mb-1 h4">Current Projects</h2>
</div>
<ol class="pinned-items-list mb-4">