Skip to content

Instantly share code, notes, and snippets.

View just-boris's full-sized avatar
💭
I may be slow to respond.

Boris Serdiuk just-boris

💭
I may be slow to respond.
View GitHub Profile
@just-boris
just-boris / .gitignore
Last active August 8, 2020 11:24
Shadow DOM as a React component: https://dist-bpvbyiobiw.now.sh
.cache
dist
node_modules
@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

@RReverser
RReverser / index.js
Last active September 6, 2015 11:53
jsunderhood tutorial
#!/usr/bin/env node
var fs = require('fs');
var acorn = require('./parser');
var transform = require('./transform');
var escodegen = require('escodegen');
var filename = process.argv[2];
if (!filename) {
console.log('Usage: transpile filename.js');
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Vadim subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="blogs" title="blogs">
<outline type="rss" text="Pony Foo" title="Pony Foo" xmlUrl="http://ponyfoo.com/articles/feed" htmlUrl="http://ponyfoo.com"/>
<outline type="rss" text="Jeffrey Zeldman" title="Jeffrey Zeldman" xmlUrl="http://www.zeldman.com/feed/" htmlUrl="http://www.zeldman.com"/>
@joshblack
joshblack / babel-types.md
Last active January 1, 2021 23:44
Documentation of all the Babel type methods

Babel Types

Hopefully will be documentation of unclear methods available for Babel Types

  • is
  • isType
  • shallowEqual
  • appendToMemberExpression
  • prependToMemberExpression
  • ensureBlock
var _ = require('underscore');
var Backbone = require('backbone');
var cheerio = require('cheerio');
var request = require('request');
Backbone.ajax = function(options) {
options.json = true;
return request(options, function(error, result) {
if (error) {
@mbostock
mbostock / .block
Last active March 19, 2024 07:45
Wrapping Long Labels
license: gpl-3.0
@xenozauros
xenozauros / fetch_news.py
Last active December 23, 2015 06:29
Simple script to collect news from vkontakte. It can be used to find some rent or sales news in your own city
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import json
import urllib2
from urllib import urlencode
import json
import os
import os.path
import sys
@rbackhouse
rbackhouse / V8JavaBridgeExample.java
Created March 20, 2011 22:29
Example demonstrating using the V8 Java Bridge to run javascript with a callback into java
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.Map;
import org.dojotoolkit.json.JSONParser;
import org.dojotoolkit.json.JSONSerializer;
import org.dojotoolkit.rt.v8.V8Exception;
import org.dojotoolkit.rt.v8.V8JavaBridge;