Skip to content

Instantly share code, notes, and snippets.

View aendra-rininsland's full-sized avatar
:shipit:
e'rry day I'm hustlin'

Ændra Rininsland aendra-rininsland

:shipit:
e'rry day I'm hustlin'
View GitHub Profile
@stucka
stucka / bluesky.md
Last active October 19, 2023 14:44
Getting started on Bluesky

Use this code at bsky dot app.

A good way to get started is to identify some of the nexus accounts, people near the center of your social groups on Twitter, then look for them on Bluesky. If you find them, you can follow them -- but consider also going through their lists of who they're following, and who they follow, to find more of your crowd. Think about whether you really want to follow them, instead of automatically following them. Consider repeating this step periodically as Bluesky grows, because you may find more of your people have snuck in.

There was a web site called Fedifinder that tried to find your Twitter crowd in both Mastodon and Bluesky. It's been down the last couple times I've tried it, alas.

LifeHacker referred me to a Chrome extension I haven't tried yet, which tries to identify your Twitter people on Bluesky so you can follow 'em: https://chrome.google.com/webstore/detail/sky-follower-bridge/behhbpbpmailcnfbjagknjngnfdojpko

Block liberally. Don't feed the trolls. Keep it from turnin

@1wheel
1wheel / README.md
Created January 21, 2017 00:11
ndjson-to-file

Trying to save a big blob of JSON that crashes JSON.stringify. Spliting into smaller arrays and saving works, but I can't figure out how to use a stream.

@Rich-Harris
Rich-Harris / please-include-a-repro.md
Last active April 29, 2024 15:08
Please include a repro

Please include a repro

You probably arrived here because of a curt message in response to an issue you filed on a repo that I contribute to. Sorry about that (particularly if you filed the issue long ago and have been waiting patiently for a response). Let me explain:

I work on a lot of different open source projects. I really do like building software that makes other people's lives easier, but it's crazy time-consuming. One of the most time-consuming parts is responding to issues. A lot of OSS maintainers will bend over backwards to try and understand your specific problem and diagnose it, to the point of setting up new test projects, fussing around with different Node versions, reading the documentation for build tools that we don't use, debugging problems in third party dependencies that appear to be involved in the problem... and so on. I've personally spent hundreds of hours of my free time doing these sorts of things to try and help people out, because I want to be a responsible maintainer and I

@JonCole
JonCole / WhatHappenedToMyDataInRedis.md
Last active October 28, 2019 19:43
What happened to my data in Redis?
@VandeurenGlenn
VandeurenGlenn / app.js
Created December 26, 2015 13:38
webcomponents feature detection
(function(document) {
'use strict';
// Feature detection
// Check if Web Components are supported
var webComponentsSupported = ('registerElement' in document
&& 'import' in document.createElement('link')
&& 'content' in document.createElement('template'));
// Load Web Components when not supported
if (!webComponentsSupported) {
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active May 6, 2024 12:29
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@StephanHoyer
StephanHoyer / github.js
Last active February 13, 2024 14:19
Commiting multiple files to github over API
'use strict';
var Octokat = require('octokat');
var extend = require('lodash/object/assign');
var defaults = {
branchName: 'master',
token: '',
username: '',
reponame: ''
/* Load Zepto as module */
module.exports = {
entry: "./app.js",
output: {
path: __dirname,
filename: "bundle.js"
},
module: {
loaders: [
{ test: /zepto(\.min)?\.js$/, loader: "exports?Zepto; delete window.$; delete window.Zepto;" },
@robhudson
robhudson / gist:3848832
Last active July 12, 2018 15:25
Quick way to set CORS headers on django-tastypie resources
class CORSResource(object):
"""
Adds CORS headers to resources that subclass this.
"""
def create_response(self, *args, **kwargs):
response = super(CORSResource, self).create_response(*args, **kwargs)
response['Access-Control-Allow-Origin'] = '*'
response['Access-Control-Allow-Headers'] = 'Content-Type'
return response
@jarek-foksa
jarek-foksa / gist:2648095
Last active April 26, 2020 09:59
SVGElement.prototype.innerHTML shim
// Important: You must serve your pages as XHTML for this shim to work,
// otherwise namespaced attributes and elements will get messed up.
Object.defineProperty(SVGElement.prototype, 'innerHTML', {
get: function() {
var $child, $node, $temp, _i, _len, _ref;
$temp = document.createElement('div');
$node = this.cloneNode(true);
_ref = $node.children;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
$child = _ref[_i];