Skip to content

Instantly share code, notes, and snippets.

Avatar

Danylo Hlynskyi danbst

  • Ivano-Frankivsk, Ukraine
View GitHub Profile
@danbst
danbst / 0_reuse_code.js
Created Aug 2, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@danbst
danbst / phabricator.nix
Last active Jan 19, 2017 — forked from thoughtpolice/phabricator.nix
Extensive Phabricator module for NixOS (with Nginx frontend support)
View phabricator.nix
# based on https://gist.github.com/thoughtpolice/1faff37f0a17e1ab291d
# updated for nixos-16.09
/*
Example usage (in configuration.nix):
services.phabricator = {
enable = true;
baseURI = "https://phabricator.example.org";
baseFilesURI = config.services.phabricator.baseURI;
rootDir = "/var/phabricator";