Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
// | |
// Write the mock request payload to a file for checking later... | |
// newWrite() is the important it to ensure you get a *new* file each time. | |
// | |
def filename = "C:\\MyScratchFolder\\soapUI projects\\Testing\\procon\\mock_po_activity_request.xml" | |
def file = new File(filename) | |
def w = file.newWriter() | |
w << mockRequest.requestContent | |
w.close() |
# Visualizing branch topology in git on the commandline | |
git log --graph --oneline --full-history --all | |
git log --graph --full-history --all --pretty=format:"%h%x09%d%x20%s" | |
# With colors in Bash: | |
git log --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s" |
from __future__ import print_function | |
import libsbml | |
import argparse | |
def _parser(): | |
parser = argparse.ArgumentParser(description="Parse stoichiometry matrix of SBML file") | |
parser.add_argument('file', metavar="filename", type=argparse.FileType('r'), | |
help="Filename of SBML file to parse") |
[alias] | |
recent = "!git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' | head -n 10" | |
co = checkout | |
cob = checkout -b | |
coo = !git fetch && git checkout | |
br = branch | |
brd = branch -d | |
brD = branch -D | |
merged = branch --merged | |
st = status |
#!/usr/bin/env python3 | |
# Get your files that Gmail block. Warning message: | |
# "Anti-virus warning - 1 attachment contains a virus or blocked file. Downloading this attachment is disabled." | |
# Based on: https://spapas.github.io/2014/10/23/retrieve-gmail-blocked-attachments/ | |
# Instructions: | |
# Go to your emails, click the arrow button in the top right, "Show original", then "Download Original". | |
# Move the files to the same directory as this program, then run it. | |
import sys |
<!doctype html> | |
<html ng-app="Demo"> | |
<head> | |
<meta charset="utf-8" /> | |
<title> | |
Creating A Simple Modal System In AngularJS | |
</title> | |
<link rel="stylesheet" type="text/css" href="./demo.css"></link> |
// Compiled by Igor Shults | |
// Last Updated: July 23, 2020 | |
GRAILS GROOVY SOURCE | |
4.1.0 2.5.14 https://github.com/grails/grails-core/blob/v4.1.0/gradle.properties | |
4.0.4 2.5.6 | |
4.0.3 2.5.6 | |
4.0.2 2.5.6 | |
4.0.1 2.5.6 | |
4.0.0 2.5.6 https://github.com/grails/grails-core/blob/v4.0.0/build.gradle |
#!/bin/bash | |
# successful "mvn clean install" or a variant thereof (e.g. -DskipTests) | |
# is typically required before running this script | |
REPOSITORY_ID=... | |
REPOSITORY_URL=... | |
mvn clean source:jar |
#!/bin/bash | |
brew install redis # Install Redis using Homebrew | |
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents # Enable Redis autostart | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist # Start Redis server via launchctl | |
# homebrew.mxcl.redis.plist contains reference to redis.conf file location: /usr/local/etc/redis.conf | |
redis-server /usr/local/etc/redis.conf # Start Redis server using configuration file, Ctrl+C to stop | |
redis-cli ping # Check if the Redis server is running |