Skip to content

Instantly share code, notes, and snippets.

🐼
PANDAS!

Jason L Perry ambethia

🐼
PANDAS!
View GitHub Profile
View gist:d0452d4be6e3402f0a0fe080c2eb4882
dOJ(daWskP2ffv2MGmBjDzq3Ks0VOk3wqDyP2ju2lQDtA)Q8tkkAyq63igiv0qHGgSsdNihuHY1ePJPQJdbwieQLsj0IPOulxOhsrvpfPLrupxIjQqyQuKjtP00bUieYNHQNrfUUOAJkeTvfsBwHQTtP4JuuYSOW0GOXjIht4TuvJMk9nfCskj3vGtROZlkFLIcRJs15Oem)Sjg7zQ1wzERnden2OwHXyYSjMAQRqfuy6l7WHdhoy6y5axsKPJbR1juDsNvBGXWeIYuZIIOrHXYKOmv2CPMlLPw2AExTsbWOnqfmjkJyMoc44DEfWyptrKoojkGMNewQbTzpRtqgJyMsLGcRgbJjpGYulBrKmkmwMeTWMySNnXypt9eDbCRVseUTQW6uXdUv2cHKrtymzM6j6c4wFLiCBvH1PIhC7JoGuoHXCWuprxa36Jhj5s2L6iiZ4wLiCBvH1PIBCRtPocY(GB)p9tFgdjt9eDbCRVseUTQW6uXdU9rhqkNWyPm1t0fWT(4rsUKDPocYmUvjc3wvyDQ4g36uQJGm5GB)p9tFglet9eDbuGiihQc4T(kr42QcRtfp42hfDib142hfDib142hfDib142hfDibjJnWuprxa36Jhj5s2L6iiZ4wLiCBvH1PIBCRtPocYCeC7)PF6Zyjm1t0fWT(kr42QcRtfp42hDaPCcJzbM6j6c4wF8ijxYUuhbzg3QeHBRkSovCJBDk1rqgYGB)p9tFg7rzQNOlGB9vIWTvfwNkEWTp6as5eg7FM6j6c4wF8ijxYUuhbzg3QeHBRkSovCJBDk1rqwAWT)N(PpJ9Ym1t0fWT(kr42QcRtfp42hDaPCctriPaSSfrcBIbm1AygcJWsHnXypt9eDbCRFyIT2lUZXbg3QeHBRkSovCJBDgMKxGeBGXGB)puObugtMPEIUaU1pmXw7DfyCRseUTQW6uXnU1zysEbsSbgdU9LrgkrMXCWuprxaficYHQaERFyIT2fGyn42)dfkb142hDaPCcdyQ1Wml
View printer.cfg
[mcu]
serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
[mcu z]
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_9573534363335151D012-if00
pin_map: arduino
restart_method: arduino
[printer]
kinematics: corexy
@ambethia
ambethia / seeds.rb
Created Sep 15, 2009
Using environment specific yaml fixtures as seed data in Rails 2.3.4
View seeds.rb
# == Using environment specific yaml fixtures as seed data in Rails 2.3.4
#
# Setup your directory structure like below:
#
# -- RAILS_ROOT
# `-- db
# |-- seeds
# | |-- development
# | | |-- books.yml
# | | `-- users.yml
View table.html
<table>
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
View adventure-time.json
[
{
"name": "Finn the Human",
"image": "http://i.cdn.turner.com/v5cache/CARTOON/site/Images/i18/propd_at_char_finn.png",
"details": "Finn is a silly kid who wants to become a great hero one day. He might not look too tough, but if there's evil around, he'll slay it. That's his deal."
},
{
"name": "Jake the Dog",
"image": "http://i.cdn.turner.com/v5cache/CARTOON/site/Images/i18/propd_at_char_jake.png",
"details": "Finn's best friend is a wise, old dog with a big heart. Jake has the magical ability to stretch and grow. When evil's not running amok, he plays viola with his girlfriend, Lady Rainicorn."
@ambethia
ambethia / .rubocop.yml
Created Sep 17, 2018
ActiveRecord Starter Kit
View .rubocop.yml
Metrics/LineLength:
Max: 120
AllCops:
TargetRubyVersion: 2.5
Exclude:
- 'db/schema.rb'
- 'db/migrate/*'
@ambethia
ambethia / bitcoin-network.py
Last active Aug 6, 2018
NyanCoin settings for P2Pool
View bitcoin-network.py
nyancoin=math.Object(
P2P_PREFIX='fbc0b8db'.decode('hex'), # TODO: I think you can find it in main.cpp at pchMessageStart[4]=... Using this specific value as the P2P_PREFIX fixed the problem for me.
P2P_PORT=17778,
ADDRESS_VERSION=21,
RPC_PORT=17779,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'nyancoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*100000000, # TODO: SUBSIDY_FUNC can be found in the source code, specifically in main.cpp, search for nSubsidy, you'll find a line that looks a lot like nSubsidy >>= (nHeight / 8400000);
@ambethia
ambethia / high.txt
Last active Aug 6, 2018
TSM Battle Pet Group
View high.txt
p:836:25:2,p:1226:25:2,p:204:25:2,p:251:25:2,p:235:25:2,p:333:25:2,p:153:25:2,p:1198:25:2,p:195:25:2,p:211:25:2,p:1196:25:2,p:1040:25:2,p:141:25:2,p:118:25:2,p:1197:25:2,p:194:25:2,p:262:25:2,p:144:25:2,p:158:25:2,p:47:25:2,p:261:25:2,p:95:25:2,p:1146:25:2,p:125:25:2,p:1321:25:2,p:292:25:2,p:164:25:2,p:1276:25:2,p:319:25:2,p:87:25:2,p:132:25:2,p:86:25:2,p:206:25:2,p:85:25:2,p:1061:25:2,p:293:25:2,p:1154:25:2,p:1153:25:2,p:1233:25:2,p:306:25:2,p:142:25:2,p:1177:25:2,p:89:25:2,p:1335:25:2,p:229:25:2,p:40:25:2,p:1155:25:2,p:162:25:2,p:167:25:2,p:1150:25:2,p:55:25:2,p:1320:25:2,p:175:25:2,p:1329:25:2,p:1348:25:2,p:157:25:2,p:311:25:2,p:1344:25:2,p:159:25:2,p:136:25:2,p:1183:25:2,p:1243:25:2,p:1228:25:2,p:59:25:2,p:127:25:2,p:630:25:2,p:58:25:2,p:652:25:2,p:1200:25:2,p:1063:25:2,p:241:25:2,p:848:25:2,p:1337:25:2,p:289:25:2,p:201:25:2,p:57:25:2,p:78:25:2,p:44:25:2,p:51:25:2,p:77:25:2,p:114:25:2,p:1346:25:2,p:190:25:2,p:52:25:2,p:267:25:2,p:75:25:2,p:792:25:2,p:239:25:2,p:200:25:2,p:834:25:2,p:847:25:2,p:1151:25:2,p
View adventure-time.json
[
{
"name": "Finn the Human",
"image": "http://i.cdn.turner.com/v5cache/CARTOON/site/Images/i18/propd_at_char_finn.png",
"details": "Finn is a silly kid who wants to become a great hero one day. He might not look too tough, but if there's evil around, he'll slay it. That's his deal."
},
{
"name": "Jake the Dog",
"image": "http://i.cdn.turner.com/v5cache/CARTOON/site/Images/i18/propd_at_char_jake.png",
"details": "Finn's best friend is a wise, old dog with a big heart. Jake has the magical ability to stretch and grow. When evil's not running amok, he plays viola with his girlfriend, Lady Rainicorn."
@ambethia
ambethia / goonies.md
Last active Jul 26, 2018
The Goonies
View goonies.md

The Goonies

The Originals

Mikey

Mikey is 5the leader of the Goonies. His family lives in the "goon docks" area of Astoria, OR.

Mouth

You can’t perform that action at this time.