Gist moved to real repository: https://github.com/cinderblock/RaspberryPi-Image-Generator
View pixelblaze-interface.ts
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: |
View zeit-ncc.d.ts
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; |
View LogarithmicRCSlider.tsx
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, |
View upgrade-rocket.chat.sh
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 |
View keybase.md
Keybase proof
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:
View dump.txt
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! |
View dump.txt
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! |
View dump.txt
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! |
View dump.txt
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