Skip to content

Instantly share code, notes, and snippets.

View bmann's full-sized avatar

Boris Mann bmann

View GitHub Profile
@bmann
bmann / feed.json
Created September 30, 2018 03:23
JSON feeds for Jekyll to feed into MicroBlog
---
layout: null
permalink: /feed.json
---
{
"version": "https://jsonfeed.org/version/1",
"title": "{{ site.title | xml_escape }}",
"home_page_url": "{{ site.url }}{{ site.baseurl | absolute_url }}",
"feed_url": "{{ "/feed.json" | absolute_url }}",
"description": {{ site.description | jsonify }},
@bmann
bmann / 3box-verifiy.txt
Created January 14, 2019 18:42
3BOX Verify
did:muport:QmdFVsxhnyf9sGZ7ZSqN7J3SzY6pZgsY8YbahxAPwdRtPj
@bmann
bmann / register_interest.js
Created July 5, 2019 16:36
Tito Interested Users
jQuery.fn.shake = function(amount){
$(this).velocity('callout.shake')
}
jQuery(function(){
var callback
$('.register-interest-form').submit(function(){
name = $('#register-name').val()
email = $('#register-email').val()
if($.trim(name) != '' && $.trim(email) != '')
@bmann
bmann / index.html
Created July 24, 2019 00:12
Home page loop for BMC Blog
---
layout: archive
author_profile: true
---
<h3 class="archive__subtitle">Recent Blog Posts</h3>
{% assign postCounter = 0 %}
{% assign maxPosts = 3 %}
@bmann
bmann / ipfs
Last active March 13, 2020 07:40 — forked from jcouyang/ipfs
/etc/init.d/ipfs
#!/bin/sh
### BEGIN INIT INFO
# Provides: ipfs daemon
# Required-Start: $local_fs $remote_fs $network $syslog $named
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts the ipfs daemon
# Description: Starts the ipfs daemon using the start-stop-daemon
### END INIT INFO
did:3:kjzl6cwe1jw149bdjlbrqn646yoqsmhg7psdw9cxm5xhjvmkmt94epuas28cp27