With Audio and Screen Sharing Enabled
Add the i386
architecture to the list of dpkg
architectures :
sudo dpkg --add-architecture i386
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main |
# Yubikey Udev Rule: running a bash script in case your Yubikey is inserted/removed | |
ACTION=="add", ENV{PRODUCT}=="1050/407/511", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/bin/pam-session-locker.sh unlock" | |
ACTION=="remove", ENV{PRODUCT}=="1050/407/511", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/bin/pam-session-locker.sh lock" |
//The global script scope | |
def ctx = context(scope: scriptScope()) | |
//What things can be on the script scope | |
contributor(ctx) { | |
method(name: 'pipeline', type: 'Object', params: [body: Closure]) | |
property(name: 'params', type: 'org.jenkinsci.plugins.workflow.cps.ParamsVariable') | |
property(name: 'env', type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl.Binder') | |
property(name: 'currentBuild', type: 'org.jenkinsci.plugins.workflow.cps.RunWrapperBinder') | |
property(name: 'scm', type: 'org.jenkinsci.plugins.workflow.multibranch.SCMVar') |
{ | |
title: JIRAIssue.fields.summary, | |
description: JIRAIssue.fields.description, | |
labels: [JIRAIssue.fields.issuetype.name], | |
created_at: JIRAIssue.fields.created, | |
updated_at: JIRAIssue.fields.updated, | |
done: issue.fields.status.statusCategory.name === 'Done' ? true : false, | |
assignee: jiraToGitlabUser(JIRAIssue.fields.assignee ), | |
reporter: jiraToGitlabUser(JIRAIssue.fields.reporter), | |
comments: JIRAComments.map(JIRAComment => ({ |
Configured for a Mac-like experience
Apple Magic Keyboard 2: Model A1644 (same as MLA22LL/A ?)
Mapping for Linux Mint 18 Cinnamon 64-bit
Find out how much memory each of the jupyter notebooks running on a server is using. Helpful for knowing which ones to shut down.
Original code from http://stackoverflow.com/questions/34685825/jupyter-notebook-memory-usage-for-each-notebook
You'll need to
pip install tabulate psutil pandas requests
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/' |
# Install QEMU OSX port with ARM support | |
sudo port install qemu +target_arm | |
export QEMU=$(which qemu-system-arm) | |
# Dowload kernel and export location | |
curl -OL \ | |
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
# Download filesystem and export location |
diff --git a/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml | |
index dbdae03..702d0ba 100644 | |
--- a/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml | |
+++ b/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml | |
@@ -22,7 +22,7 @@ | |
<changeSet id="00000000000001" author="jhipster"> | |
<createSequence sequenceName="SEQ_USER" startValue="1000" incrementBy="1"/> | |
<createTable tableName="JHI_USER"> | |
- <column name="id" type="bigint" autoIncrement="${autoIncrement}" defaultValueComputed="SEQ_USER.NEXTVAL"> | |
+ <column name="id" type="bigint" autoIncrement="${autoIncrement}"> |