Skip to content

Instantly share code, notes, and snippets.

Avatar

Adrian Rollett acrollet

View GitHub Profile
@acrollet
acrollet / composer.json
Created Mar 14, 2018
Drupal 8 + BEE with patch for views daterange filters
View composer.json
{
"name": "drupal-composer/drupal-project",
"description": "Project template for Drupal 8 projects with composer",
"type": "project",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "",
"role": ""
}
@acrollet
acrollet / locustfile.py
Created Apr 6, 2017
Log in to Drupal 8 with locust.io
View locustfile.py
from locust import HttpLocust, TaskSet, task
from bs4 import BeautifulSoup
class WebsiteTasks(TaskSet):
def on_start(self):
"""
on_start is called when a Locust start before,
any task is scheduled
"""
self.login()
@acrollet
acrollet / 0_reuse_code.js
Created May 9, 2014
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
@acrollet
acrollet / UnfuddleToJira.java
Created Apr 24, 2014
Unfuddle to Jira, with comments
View UnfuddleToJira.java
// Original author Gabe Nell. Released under the Apache 2.0 License
// http://www.apache.org/licenses/LICENSE-2.0.html
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
You can’t perform that action at this time.