currency | usage | lang | repository | fork/base |
---|---|---|---|---|
BTC | C++ | https://github.com/bitcoin/bitcoin | ||
ETH | go | https://github.com/ethereum/go-ethereum | ||
Ripple | C++ | https://github.com/ripple/rippled | ||
NEM | Java | closed source | ||
Ethereum Classic | go | same as ETH | ||
Litecoin | C++ | https://github.com/litecoin-project/litecoin | BTC | |
Dash | C++ | https://github.com/dashpay/dash | BTC |
This file contains 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
ffmpeg -y -r 30 -i "./render_%%06d.png" -start_number 10011 -vcodec libx264 -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -r 30 ./rendered.mp4 |
This file contains 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
# coding: utf-8 | |
import logging | |
import traceback | |
import argparse | |
import time | |
from logging.handlers import RotatingFileHandler | |
from contextlib import contextmanager | |
logger = logging.getLogger(__name__) |
This file contains 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 python | |
# (c) 2015 Productize <[email protected]> | |
# edited by Drunkar <[email protected]> | |
import os | |
import sys | |
import copy | |
import collections | |
import codecs |
This file contains 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
/* | |
This is a smaller variant of the new Lato2, serving compressed woff2 files. | |
Currently: TS-Only | |
Clients needs to have Lato2 pref turned ON. | |
The payload is 50% smaller. However, woff2 is not yet well supported, | |
so we're still providing the woff as fallback. |
This file contains 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
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#define OLED_RESET 4 | |
Adafruit_SSD1306 display(OLED_RESET); | |
#define NUMFLAKES 10 | |
#define XPOS 0 |
This file contains 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
/* | |
64 x 48 OLED version of: | |
https://www.mgo-tec.com/blog-entry-31.html | |
*/ | |
#include <Wire.h> | |
#define OLED_ADDR (0x3C) //OLED address 製品に記載の数値は7bitなので、8bitに変換して1bit右へずらした値(78>>3c) | |
byte DotB1[8]={ | |
B00000000, |
This file contains 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
// https://github.com/netlabtoolkit/VarSpeedServo | |
#include <VarSpeedServo.h> | |
VarSpeedServo myservo1; | |
VarSpeedServo myservo2; | |
VarSpeedServo myservo3; | |
void setup() { | |
myservo1.attach(9); | |
myservo2.attach(10); |
This file contains 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
.markdown-preview { | |
@c_border: #666; // border-color | |
max-width: 900px; | |
margin: 0 auto; | |
padding: 25px; | |
color: black; | |
hr { | |
margin: 50px 0; | |
background-color: transparent; |
This file contains 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 argparse | |
parser = argparse.ArgumentParser(description="argparse template.") | |
parser.add_argument("-i", "--input", type=str, required=True, help="Required: Input file.") | |
parser.add_argument("-o", "--output", type=str, required=True, help="Required: Output file.") | |
parser.add_argument("-s", "--simulate", action="store_true", help="Simulate flag.") | |
args = parser.parse_args() |