This file contains hidden or 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 node | |
| require('dotenv').config(); | |
| const Twit = require('twit'); | |
| const yourScreenName = 'nuncamind'; | |
| const T = new Twit({ | |
| consumer_key: process.env.TWITTER_CONSUMER_KEY, | |
| consumer_secret: process.env.TWITTER_CONSUMER_SECRET, |
This file contains hidden or 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
| var one = new Array(267386880/2 - 1000).join('a') | |
| // This works on all devices/browsers, and uses IndexedDBShim as a final fallback | |
| var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB; | |
| // Open (or create) the database | |
| var open = indexedDB.open("MyDatabase", 1); | |
| // Create the schema |
This file contains hidden or 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 | |
| # I believe you need XCode installed to get sips/Rez/SetFile | |
| # Have an Icon.png in the current working directory | |
| # Resize it to 512 by 512 for some reason | |
| sips -z 512 512 Icon.png --out myIconResized.png | |
| # make it an .icns file | |
| sips -s format icns myIconResized.png --out myIcon.icns |
Put in ~/Library/LaunchAgents.
launchctl load drew.screenshot.plist
repo is here https://github.com/dtschust/fake-mastodon-instance/tree/c858a0d9427efc9c16a1c73bfcc0545bbdacb343
Best place to start looking is src/index.js, which is the express server that acts as a Mastodon instance.
In order to mirror a user from another service in a way that Mastodon recognizes, you must implement the following:
- Webfinger ( https://github.com/dtschust/fake-mastodon-instance/blob/c858a0d9427efc9c16a1c73bfcc0545bbdacb343/src/index.js#L488 )
- Example response: http://fake-mastodon-instance.herokuapp.com/.well-known/webfinger?resource=acct:nuncamind@fake-mastodon-instance.herokuapp.com
- Points to a user's profile page
- Note: my implementation assumes any user exists, you'll probably want to do some validation here to check if the user should exist first.
- User profile ( https://github.com/dtschust/fake-mastodon-instance/blob/c858a0d9427efc9c16a1c73bfcc0545bbdacb343/src/index.js#L488 )
12 oz for two people: 0.75 pounds. The Norway atlantic salmon fillet at Whole Foods that’s $9.99 a pound
- Rinse salmon and pat all sides with paper towel, cut fillets in half
- Put salt and pepper on salmon
- Sit out for 30 minutes
- At 15 minutes, preheat oven to 400 degrees Fahrenheit
- At 25 mins, start heating skillet (high heat, about a 6)
This file contains hidden or 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
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 12, | |
| // font family with optional fallbacks | |
| fontFamily: 'Monaco, "Roboto Mono for Powerline", Monaco, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
| // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
| cursorColor: 'rgba(248,28,229,0.8)', |
This file contains hidden or 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
| (function() { | |
| var script = document.createElement('script') | |
| script.onload = function() { | |
| var stats = new Stats() | |
| stats.showPanel(1) | |
| document.body.appendChild(stats.dom) | |
| requestAnimationFrame(function loop() { | |
| stats.update() | |
| requestAnimationFrame(loop) | |
| }) |
I hereby claim:
- I am dtschust on github.
- I am dtschust (https://keybase.io/dtschust) on keybase.
- I have a public key whose fingerprint is 1BF9 1040 5E2D 3644 CA92 4298 6A13 3FDD 55F3 FF82
To claim this, I am signing this object:
NewerOlder