Gist moved to real repository: https://github.com/cinderblock/RaspberryPi-Image-Generator
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 { State } from '../shared/State'; | |
import SerialPort from 'serialport'; | |
import { promisify } from 'util'; | |
/** | |
* This file is for communicating with a PixelBlaze Expander board. | |
* | |
* This should basically match what is found here: https://github.com/simap/pixelblaze_output_expander | |
* | |
* Cameron's summary of the packet format: |
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
declare module '@zeit/ncc' { | |
/** | |
* Options except watch. | |
*/ | |
type Options = { | |
/** | |
* Provide a custom cache path or disable caching. | |
*/ | |
cache?: string | false; |
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 * as React from 'react'; | |
import Slider, { SliderProps } from 'rc-slider'; | |
type NumberMap = (x: number) => number; | |
type Map = number | boolean | { axisFromReal: NumberMap; realFromAxis: NumberMap }; | |
export default function LogarithmicRCSlider({ | |
map, | |
steps, |
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
#!/bin/bash | |
# USAGE: `./update-rocket.chat.sh` as regular user with sudo permissions | |
# Make script fail on any error | |
set -e | |
# Ensure that we're working inside of /opt | |
cd /opt |
I hereby claim:
- I am cinderblock on github.
- I am cinderblock (https://keybase.io/cinderblock) on keybase.
- I have a public key whose fingerprint is 1D56 4A6F 3E7C ED26 EF82 FFE8 989F 41E6 74E7 795F
To claim this, I am signing this object:
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
Hello world! |
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
Hello world! |
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
Hello world! |
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
Hello world! |
NewerOlder