Put in ~/Library/LaunchAgents
.
launchctl load drew.screenshot.plist
#!/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, |
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 |
#!/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:
12 oz for two people: 0.75 pounds. The Norway atlantic salmon fillet at Whole Foods that’s $9.99 a pound
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)', |
(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:
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |