sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
import gql from 'graphql-tag' | |
const FRAGMENT_REPOSITORY = gql` | |
fragment repository on Repository { | |
name | |
url | |
createdAt | |
description | |
descriptionHTML | |
labels { |
// JS array equivalents to C# LINQ methods - by Dan B. | |
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version): | |
// Here's a simple array of "person" objects | |
var people = [ | |
{ name: "John", age: 20 }, | |
{ name: "Mary", age: 35 }, | |
{ name: "Arthur", age: 78 }, | |
{ name: "Mike", age: 27 }, |
# This config is based @karmi's answer on this Stackoverflow post: http://stackoverflow.com/a/14120342/12442 | |
# | |
# Run me with: | |
# | |
# $ nginx -c path/to/this/file | |
# | |
# All requests except GET are denied. | |
worker_processes 1; | |
pid nginx.pid; |