View feather.txt
This is an unofficial pinout diagram of the Adafruit Feather | |
specification: | |
https://learn.adafruit.com/adafruit-feather/feather-specification | |
For more information about this diagram, see: | |
http://funwithsoftware.org/posts/2018-08-31-feather-ascii-art-pinout.html | |
+-------------------+ |
View Relay_DPDT_Panasonic_JW2.py
#!/usr/bin/env python3 | |
import sys | |
sys.path.append("/Users/ppelleti/src/kicad-footprint-generator") | |
from KicadModTree import * | |
footprint_name = "Relay_DPDT_Panasonic_JW2" | |
f = Footprint(footprint_name) |
View svg-to-dxf.pl
#!/usr/bin/perl -w | |
# svg-to-dxf.pl - convert SVG files to DXF files on Mac OS X | |
# by Patrick Pelletier, public domain (or cc0) | |
# based on the commands suggested here: | |
# https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_2D_formats | |
# assumes Inkscape.app is installed in /Applications | |
# and pstoedit is installed in PATH, such as via "brew install pstoedit" | |
use Cwd qw(abs_path); |
View Setup.hs
import Distribution.Simple | |
main = defaultMain |
View table.json
[ | |
{ | |
"Color": "Yes", | |
"Name": "Original 1000", | |
"Product ID": "1", | |
"Vendor ID": "1" | |
}, | |
{ | |
"Color": "Yes", | |
"Name": "Color 650", |
View simultaneous-ping-gc.txt
WhiteAndNerdy% ping 192.168.10.15 & ; dist/build/lifx/lifx ping -i 0225cd +RTS -S | |
[1] 39977 | |
PING 192.168.10.15 (192.168.10.15): 56 data bytes | |
Alloc Copied Live GC GC TOT TOT Page Flts | |
bytes bytes bytes user elap user elap | |
64 bytes from 192.168.10.15: icmp_seq=0 ttl=128 time=34.718 ms | |
64 bytes from 192.168.10.15: icmp_seq=1 ttl=128 time=22.805 ms | |
64 bytes from 192.168.10.15: icmp_seq=2 ttl=128 time=13.410 ms | |
64 bytes from 192.168.10.15: icmp_seq=3 ttl=128 time=47.288 ms | |
64 bytes from 192.168.10.15: icmp_seq=4 ttl=128 time=15.934 ms |
View simultaneous-ping.txt
WhiteAndNerdy% ping 192.168.10.15 & ; cabal run -- ping -i 0225cd | |
[1] 39944 | |
PING 192.168.10.15 (192.168.10.15): 56 data bytes | |
64 bytes from 192.168.10.15: icmp_seq=0 ttl=128 time=51.869 ms | |
Preprocessing executable 'lifx' for lifx-0.1.0.0... | |
64 bytes from 192.168.10.15: icmp_seq=1 ttl=128 time=85.007 ms | |
Running lifx... | |
64 bytes from 192.168.10.15: icmp_seq=2 ttl=128 time=14.840 ms | |
64 bytes from 192.168.10.15: icmp_seq=3 ttl=128 time=19.594 ms | |
64 bytes from 192.168.10.15: icmp_seq=4 ttl=128 time=9.691 ms |
View berp-test-failures.txt
:../test/regression/features/arithmetic/mult.test: [OK] | |
:../test/regression/features/arithmetic/mult_float_precision.test: [OK] | |
:../test/regression/features/arithmetic/plus.test: [OK] | |
:../test/regression/features/arithmetic/type_conversion.test: [OK] | |
:../test/regression/features/assignment/assign_multi.test: [OK] | |
:../test/regression/features/assignment/assign_subscript.test: [OK] | |
:../test/regression/features/assignment/assign_unpack.test: [Failed] | |
Expected stdout: | |
0 |
View leak.rb
#!/usr/bin/ruby | |
gem 'lifx' | |
require 'lifx' | |
start_time = Time.now.to_i | |
prev_objs = ObjectSpace.count_objects | |
lifx = LIFX::Client.lan | |
lifx.discover! |
NewerOlder