Skip to content

Instantly share code, notes, and snippets.

Avatar

Max Albrecht eins78

View GitHub Profile
@eins78
eins78 / tutorial.md
Created Aug 4, 2018 — forked from swalkinshaw/tutorial.md
Designing a GraphQL API
View tutorial.md

Tutorial: Designing a GraphQL API

This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.

It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.

@eins78
eins78 / about-doctor-stats-plugin.md
Last active Feb 26, 2017
doctor stats plugin. install it on <professor.amiacyb.org> then click the "נקודות" box.
View about-doctor-stats-plugin.md

doctor stats plugin.

install it on http://professor.amiacyb.org then click the "נקודות" box.

install with bookmarklet here

or paste the JS code in the browser console, use a "userscripts" or "greasmonkey" browser extension, etc.

if installation was successful, the "נקודות" box will show a "?" pointer icon on mouse hover.

View react-hello.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="https://unpkg.com/react@15.3.1/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom@15.3.1/dist/react-dom.min.js"></script>
</head>
<body>
<div id="root"></div>
@eins78
eins78 / gist:8463493
Last active Jan 3, 2016
Re: The Next Phase of Node.js
View gist:8463493
From: "Max F. Albrecht" <1@178.is>
Subject: Re: [npm] Re: The Next Phase of Node.js
Date: Thu, 16 Jan 2014 22:07:09 +0100
To: "npm-@googlegroups.com" <npm-@googlegroups.com>
Am 15.01.2014 um 22:49 schrieb Isaac Schlueter <i@izs.me>:
> if you're happy with the current status quo, you can just take it easy and maybe eventually get a job where you use npm for > work stuff also :)
Hey, that's me! ;)
@eins78
eins78 / .gitignore
Last active Dec 20, 2015
flatiron-nconf-wtf
View .gitignore
/node_modules/
@eins78
eins78 / index.html
Last active Dec 20, 2015
boostrap scrollspy test
View index.html
// from <https://github.com/twbs/bootstrap-examples/blob/2998929b39eb3a4d587c6237d98095f9f5b0df2f/starter-template/starter-template.css>
body {
padding-top: 50px;
}
.starter-template {
padding: 40px 15px;
text-align: center;
}
@eins78
eins78 / backbone.pdf
Last active Dec 15, 2015
docco-pandoc for LaTeX output
View backbone.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eins78
eins78 / README.md
Created Nov 18, 2015 — forked from mbostock/.block
Radial Reingold–Tilford Tree
View README.md

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.

View startsl-nginx-step1.sh
APP=nginx
HOST=ars
CLASS=2
#echo "make key: $APP.$HOST.encrypted.key"
#openssl genrsa -des3 -out $APP.$HOST.encrypted.key 2048
echo "make CSR: $APP.$HOST.csr"
openssl req -new -key $APP.$HOST.encrypted.key -out $APP.$HOST.csr
You can’t perform that action at this time.