Skip to content

Instantly share code, notes, and snippets.

View jywarren's full-sized avatar

Jeffrey Warren jywarren

View GitHub Profile
https://mapknitter.org/profile/007sonic
https://mapknitter.org/profile/025091
https://mapknitter.org/profile/100kristine
https://mapknitter.org/profile/101dmart
https://mapknitter.org/profile/1260730865
https://mapknitter.org/profile/1800injured
https://mapknitter.org/profile/21karrottapioca
https://mapknitter.org/profile/2903
https://mapknitter.org/profile/2peanut1
https://mapknitter.org/profile/3136114
https://mapknitter.org/maps/--10
https://mapknitter.org/maps/--12
https://mapknitter.org/maps/--13
https://mapknitter.org/maps/--14
https://mapknitter.org/maps/--15
https://mapknitter.org/maps/--17
https://mapknitter.org/maps/--19
https://mapknitter.org/maps/--21
https://mapknitter.org/maps/--22
https://mapknitter.org/maps/--23
https://mapknitter.org/maps/rimac
https://mapknitter.org/maps/mit
https://mapknitter.org/maps/mit-night
https://mapknitter.org/maps/google-campus
https://mapknitter.org/maps/duinen
https://mapknitter.org/maps/cantagallo
https://mapknitter.org/maps/deathstar-plans
https://mapknitter.org/maps/bcds
https://mapknitter.org/maps/santa-marta
https://mapknitter.org/maps/sdjf
output = File.open('public/maps2.txt',"w")
output << Map.joins(:warpables).where(password: '').distinct.col
lect(&:slug).join(',')
output.close
{"textures":[{"source":0,"sampler":0},{"source":1,"sampler":0},{"source":2,"sampler":0}],"skins":[{"name":"AvatarRoot","joints":[40,39,6,5,2,3,4,22,9,8,7,12,11,10,15,14,13,18,17,16,21,20,19,38,25,24,23,28,27,26,31,30,29,34,33,32,37,36,35],"inverseBindMatrices":11}],"scenes":[{"nodes":[1,47],"name":"Scene"}],"scene":0,"samplers":[{"minFilter":9987,"magFilter":9729}],"nodes":[{"rotation":[-0.7071067690849304,0,0,0.7071067690849304],"name":"Light_Orientation.001_Orientation","extensions":{"KHR_lights_punctual":{"light":0}}},{"name":"Light_Orientation.001","children":[0]},{"translation":[-0.06142770126461983,0.05949225276708603,0.13090287148952484],"scale":[1,0.9999998211860657,0.9999999403953552],"rotation":[5.396385915901192e-8,0.6993563771247864,0.7147731184959412,5.279993331441801e-8],"name":"RightEye","isBone":true},{"translation":[0.06142747774720192,0.059492480009794235,0.13090330362319946],"scale":[1,0.9999998211860657,0.9999999403953552],"rotation":[5.396385915901192e-8,0.6993563771247864,0.7147731184959
/* For a Nano Data Logger logging data from a Plantower 5003 particle sensor
@file NanoVOC7330v1.0.ino
Plantower 5003 code based on https://learn.adafruit.com/pm25-air-quality-sensor/arduino-code
Does not use a library for the Plantower 7003
C. Fastie 11/2018
Jeffrey Yoo Warren 09/2019
*/
#include <SdFat.h> // https://github.com/greiman/SdFat/
#include <SPI.h>
// On Leonardo/Micro or others with hardware serial, use those!
// uncomment this line:
// #define pmsSerial Serial1
// For UNO and others without hardware serial, we must use software serial...
// pin #2 is IN from sensor (TX pin on sensor), leave pin #3 disconnected
// comment these two lines if using hardware serial
#include <SoftwareSerial.h>
SoftwareSerial pmsSerial(2, 3);
<!-- insert this code into a PL wiki page to create a modal popup -->
<link rel="stylesheet" href="https://idurar.github.io/vanilla-js-modal/src/modal.css" />
<script src="https://idurar.github.io/vanilla-js-modal/src/modal.js"></script>
<div id="idContent" style="display:none">
<h3>Asking for your help</h3>
<p>Are you a teacher in New Orleans?</p>
<div class="container"><div class="row">
<div class="col-6">
# /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="ieee80211", ACTION=="add|change", ATTR{macaddress}=="b8:27:eb:ff:ff:ff", KERNEL=="phy0", \
RUN+="/sbin/iw phy phy0 interface add ap0 type __ap", \
RUN+="/bin/ip link set ap0 address b8:27:eb:ff:ff:ff"
@jywarren
jywarren / saved-replies.md
Last active April 13, 2021 21:37
My current "saved replies" on GitHub -- for first-timers-only engagement

GitHub lets you save boilerplate comment replies -- not because we need to be robots, but because sometimes it's hard to be extra kind when you're darting back and forth through lots of issues, and briefly checking in on people throughout the day!

You can add these to your account here: https://github.com/settings/replies

I license these CC-Zero and release them Public Domain, and if you have others to add to this list, please fork and ping me!

Also note that the titles below are just what show in your menu - they're not actually part of the reply.

Are you stuck?