- TPS65216
- TL;DR
- Pros: cheap, bonus LDO
- Cons: inefficient, large footprint, no NVM
- 3 x buck @ 1.8A, 1 x buck/boost @ 1.6A, 1 x LDO
- 6 x 6mm QFN package
- Push button monitor
- TL;DR
- No internal NVM, needs to be configured on boot
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 bash | |
mkdir -p temp | |
cd temp | |
# Export gerbers | |
kicad-cli pcb export gerbers ../pcbname.kicad_pcb -l F.Cu,B.Cu,F.Paste,B.Paste,F.SilkS,B.SilkS,F.Mask,B.Mask,Edge.Cuts | |
# Generate SVGs | |
tracespace -L *.* |
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
#--------------------------------------------------------------------------------- | |
# devkitPPC rules for building with Clang | |
# | |
# How to use: | |
# - Copy this file into your DEVKITPPC path: | |
# cp wii_clang_rules $DEVKITPPC | |
# | |
# - Link Clang into your DEVKITPPC path: | |
# ln -s `which clang` $DEVKITPPC/bin/powerpc-eabi-clang | |
# |
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
// // cur_evnt_full.begin format | |
// { | |
// "day":12, | |
// "month":9, | |
// "year":2019, | |
// "hour24":15, | |
// "hour12":3, | |
// "minutes":0, | |
// "ampm":"pm", | |
// // offset in minutes from now, |
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
// | |
// Simple pub/sub using redis and server-sent events (EventSource) | |
// | |
// Usage: | |
// | |
// // Attach the middleware | |
// redisSse = require("redis-sse"); | |
// app.use(redisSse({redis: yourRedisClient})); | |
// | |
// // Set up a subscription to a channel in your route |
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/sh | |
NGINX_VERSION=1.3.8 | |
TMP_PATH=/tmp | |
# Fetch and extract Nginx | |
cd $TMP_PATH | |
wget http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz | |
tar xvfz nginx-$NGINX_VERSION.tar.gz | |
cd nginx-$NGINX_VERSION |
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
server { | |
listen 443 ssl spdy default_server; | |
server_name example.com; | |
ssl_certificate /etc/ssl/certs/my.ssl.crt; | |
ssl_certificate_key /etc/ssl/private/my.ssl.key; | |
root /mysite/current/public; | |
passenger_enabled on; |
NewerOlder