Skip to content

Instantly share code, notes, and snippets.

@jmolivas
jmolivas / crawl-drupal-jsonapi.sh
Created June 12, 2020 19:20 — forked from KalleVuorjoki/crawl-drupal-jsonapi.sh
Script to crawl Drupal JSON:API endpoint to local filesystem.
#!/bin/bash
##
# Script to crawl Drupal JSON:API endpoint to local filesystem.
#
# Assumes endpoint to be /jsonapi and uses basic auth.
#
# Requirements:
# ag - https://github.com/ggreer/the_silver_searcher
# jq - https://github.com/stedolan/jq
@jmolivas
jmolivas / 0_reuse_code.js
Created January 15, 2014 17:28
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console