Skip to content

Instantly share code, notes, and snippets.

View ambethia's full-sized avatar
🐼
PANDAS!

Jason L Perry ambethia

🐼
PANDAS!
View GitHub Profile
const map = [
[1, 0, 1, 0, 0, 0, 1, 1, 1, 1],
[0, 0, 1, 0, 1, 0, 1, 0, 0, 0],
[1, 1, 1, 1, 0, 0, 1, 0, 0, 0],
[1, 0, 0, 1, 0, 1, 0, 0, 0, 0],
[1, 1, 1, 1, 0, 0, 0, 1, 1, 1],
[0, 1, 0, 1, 0, 0, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 1, 1, 1, 0, 0],
[0, 0, 0, 1, 0, 0, 1, 1, 1, 0],
[1, 0, 1, 0, 1, 0, 0, 1, 0, 0],
const img = nativeImage.createFromBitmap(capture.data, {
width: capture.width,
height: capture.height,
})
fs.writeFile('screen.png', img.toPNG(), (err) => {
console.log({ err })
})
<script>
import { onMount } from 'svelte'
import { get } from '../data/api'
import Icon from './Icon'
export let collection
export let load
export let items = 20
let pages = {}
local ADDON, NS = ...
local LibCopyPaste = LibStub("LibCopyPaste-1.0")
local Njor = CreateFrame("Frame", ADDON .. "Frame")
Njor:SetScript(
"OnEvent",
function(self, event, ...)
if self[event] then
dOJ(daWskP2ffv2MGmBjDzq3Ks0VOk3wqDyP2ju2lQDtA)Q8tkkAyq63igiv0qHGgSsdNihuHY1ePJPQJdbwieQLsj0IPOulxOhsrvpfPLrupxIjQqyQuKjtP00bUieYNHQNrfUUOAJkeTvfsBwHQTtP4JuuYSOW0GOXjIht4TuvJMk9nfCskj3vGtROZlkFLIcRJs15Oem)Sjg7zQ1wzERnden2OwHXyYSjMAQRqfuy6l7WHdhoy6y5axsKPJbR1juDsNvBGXWeIYuZIIOrHXYKOmv2CPMlLPw2AExTsbWOnqfmjkJyMoc44DEfWyptrKoojkGMNewQbTzpRtqgJyMsLGcRgbJjpGYulBrKmkmwMeTWMySNnXypt9eDbCRVseUTQW6uXdUv2cHKrtymzM6j6c4wFLiCBvH1PIhC7JoGuoHXCWuprxa36Jhj5s2L6iiZ4wLiCBvH1PIBCRtPocY(GB)p9tFgdjt9eDbCRVseUTQW6uXdU9rhqkNWyPm1t0fWT(4rsUKDPocYmUvjc3wvyDQ4g36uQJGm5GB)p9tFglet9eDbuGiihQc4T(kr42QcRtfp42hfDib142hfDib142hfDib142hfDibjJnWuprxa36Jhj5s2L6iiZ4wLiCBvH1PIBCRtPocYCeC7)PF6Zyjm1t0fWT(kr42QcRtfp42hDaPCcJzbM6j6c4wF8ijxYUuhbzg3QeHBRkSovCJBDk1rqgYGB)p9tFg7rzQNOlGB9vIWTvfwNkEWTp6as5eg7FM6j6c4wF8ijxYUuhbzg3QeHBRkSovCJBDk1rqwAWT)N(PpJ9Ym1t0fWT(kr42QcRtfp42hDaPCctriPaSSfrcBIbm1AygcJWsHnXypt9eDbCRFyIT2lUZXbg3QeHBRkSovCJBDgMKxGeBGXGB)puObugtMPEIUaU1pmXw7DfyCRseUTQW6uXnU1zysEbsSbgdU9LrgkrMXCWuprxaficYHQaERFyIT2fGyn42)dfkb142hDaPCcdyQ1Wml
[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
<table>
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
</thead>
<tbody>
<tr>
[
{
"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 September 17, 2018 14:37
ActiveRecord Starter Kit
Metrics/LineLength:
Max: 120
AllCops:
TargetRubyVersion: 2.5
Exclude:
- 'db/schema.rb'
- 'db/migrate/*'
@ambethia
ambethia / goonies.md
Last active July 26, 2018 13:28
The Goonies

The Goonies

The Originals

Mikey

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

Mouth