Skip to content

Instantly share code, notes, and snippets.

View Umaaz's full-sized avatar
🌶️

Ben Donnelly Umaaz

🌶️
View GitHub Profile
for(var j = 0; j < chart.series.length; j++)
{
chart.series[j].setData(seriesData[j], false);
}
chart.yAxis[0].setExtremes(min, max, false);
chart.redraw();
@Umaaz
Umaaz / laradock_aliases.sh
Created February 12, 2020 08:26
A set of commands to help with laradock.
#!/bin/bash
# REPO_DIR should be the root directory that you want mounted into the docker.
# I have this script in the root of my laradock clone in ~/repo/laradock, and mount the directory ~/repo into the docker as /var/www/repo
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export REPO_DIR="$(dirname $DIR)"
alias composer='docker exec -it --user=laradock laradock_workspace_1 composer --working-dir=/var/www/${PWD:${#REPO_DIR}}'
alias php='docker exec -it --workdir=/var/www/${PWD:${#REPO_DIR}} --user=laradock laradock_workspace_1 php'
alias larastart='docker-compose -f ${REPO_DIR}/laradock/docker-compose.yml --project-directory=${REPO_DIR}/laradock up -d nginx'
import requests
from requests.auth import HTTPBasicAuth
import re
from StringIO import StringIO
JIRA_URL = 'https://your-jira-url.tld/'
JIRA_ACCOUNT = ('jira-username', 'jira-password')
# the JIRA project ID (short)
JIRA_PROJECT = 'PRO'
GITLAB_URL = 'http://your-gitlab-url.tld/'
@Umaaz
Umaaz / install.cs
Last active April 6, 2021 17:43
NerdVision Setup
dotnet add package NerdVision