Skip to content

Instantly share code, notes, and snippets.

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

Pranshu Srivastava rexagod

💭
I may be slow to respond.
View GitHub Profile

Google Summer of Code'19 Work Product: Isha Gupta

The GSoC period might be coming to an end, but the journey is not over yet. Here's the summary so far...

Project Details

@rexagod
rexagod / gsoc19-final-work-product.md
Last active February 27, 2020 20:17
The project was divided into two parts, namely, building a `matcher.js` library and revamping Public Lab's `Leaflet.DistortableImage` repository, a helper module for `Mapknitter`.

Google Summer of Code 2019 Public Lab Final Work Product: Pranshu Srivastava

Project Details

Project Description

matcher-core essentially employs the ORB(Oriented FAST and Rotated BRIEF) algorithm to mine patterns using the well-known [FAST(Features from Accelerated Segment Test)](http://homepages.inf.ed.ac.uk/

@getify
getify / better-web.md
Created March 12, 2019 13:19
Building That Better Web

Building That Better Web

In honor of the 30th anniversary of the web, I wanted to share a few thoughts about what a better web could aspire to be, and challenge us to move toward it.

The Worser Web

It's tempting to frame "better" simply in terms of improvement and progress, as in how far the web has come over the last 20+ years. As a developer, I like many others get all too excited about fancy new features like Service Workers, WebRTC, and yes, even CSS Grids. The pace of change is dizzying, but it feels like a great problem to have too many awesome features to learn and use!

So in one practical respect, a better web is one that empowers developers and users alike to express themselves and connect with others more fluently.

@Sixl-Daniel
Sixl-Daniel / 2019-https-localhost.md
Created November 18, 2020 09:37 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

const fs = require("fs");
setImmediate(() => {
process.stdout.write(`setImmediate (after poll phase)\n`);
process.nextTick(() => {
process.stdout.write(`nextTick (nested registered in setImmediate())\n`);
});
});
setTimeout(() => {
process.stdout.write(`setTimeout (timers phase)\n`);
@meribold
meribold / email-workflow-video-notes.md
Last active February 18, 2023 14:12
Notes regarding my "Email Workflow Demo" video
@mmalecki
mmalecki / nextTick.js
Created October 2, 2011 12:13
process.nextTick vs setTimeout(fn, 0)
for (var i = 0; i < 1024 * 1024; i++) {
process.nextTick(function () { Math.sqrt(i) } )
}
@datagrok
datagrok / vendoring.md
Last active November 3, 2023 17:37
"Vendoring" is a vile anti-pattern

"Vendoring" is a vile anti-pattern

What is "vendoring"?

From a comment on StackOverflow:

Vendoring is the moving of all 3rd party items such as plugins, gems and even rails into the /vendor directory. This is one method for ensuring that all files are deployed to the production server the same as the dev environment.

The activity described above, on its own, is fine. It merely describes the deployment location for various resources in an application.

@mmcdaris
mmcdaris / go_build_man.md
Last active March 21, 2024 09:59
going through the go build command

usage

go build: compiles the packages named by the import paths, along with their dependencies, the binary does not end up in $GOPATH/bin it gets created in the dirs

go build [-o output] [build flags] [packages]

If the [packages] are a list of .go files, build treats them as a list of source files specifying a single package.

@reachlin
reachlin / prometheus.yml
Created April 19, 2017 07:06
sample prometheus configuration explained
// For all the confusing Prometheus configuration and
// regular expressions,
// explained in examples.
// Remember, there are default values for each item if it's missing.
// regex is (.*),
// replacement is $1,
// separator is ;
// ,and action is replace