Skip to content

Instantly share code, notes, and snippets.

tempest.api.compute.flavors.test_flavors.FlavorsV2TestJSON.test_list_flavors[id-e36c0eaa-dff5-4082-ad1f-3f9a80aa3f59,smoke]
tempest.api.compute.flavors.test_flavors.FlavorsV2TestJSON.test_list_flavors_with_detail[id-6e85fde4-b3cd-4137-ab72-ed5f418e8c24]
tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_create_delete_image[id-3731d080-d4c5-4872-b41a-64d0d0021314]
tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_create_image_specify_multibyte_character_image_name[id-3b7c6fe4-dfe7-477c-9243-b06359db51e6]
tempest.api.compute.keypairs.test_keypairs_v22.KeyPairsV22TestJSON.test_keypairsv22_create_list_show_with_type[id-89d59d43-f735-441a-abcf-0601727f47b6]
tempest.api.compute.security_groups.test_security_groups.SecurityGroupsTestJSON.test_list_security_groups_by_server[id-79517d60-535a-438f-af3d-e6feab1cbea7]
tempest.api.compute.security_groups.test_security_groups.SecurityGroupsTestJSON.test_security_group_create_get_delete[id-ecc0da4a-2117-48af-91af-993cca
@depressiveRobot
depressiveRobot / osx-intellij-set-path.sh
Last active April 30, 2019 20:36
Modifies the app package to start IntelliJ IDEA inside a shell with a custom PATH environment variable
#!/bin/sh
if [ "$#" -lt 2 ]; then
echo "Too few arguments\n"
echo "Usage: $0 'PATH TO INTELLIJ IDEA APP' 'PATH_VALUE'" >&2
exit 1
fi
if [ "$#" -gt 2 ]; then
echo "Too many arguments\n"
echo "Usage: $0 'PATH TO INTELLIJ IDEA APP' 'PATH_VALUE'" >&2
@depressiveRobot
depressiveRobot / open_url_in_chrome.txt
Created March 3, 2015 18:53
Open URL in Google Chrome. Switches to tab if already open or creates a new one.
# source: http://superuser.com/a/692131/424541
on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running
set chromeRunning to is_running("Google Chrome")
if chromeRunning then
tell application "Google Chrome"
set i to 0
@depressiveRobot
depressiveRobot / Makefile
Last active October 17, 2017 16:07 — forked from rcmachado/Makefile
Help target for self-documentation of a Makefile
.PHONY: # add tasks here to avoid timestamp checks
default: help
# Based on https://gist.github.com/prwhite/8168133#comment-1313022
## Another dummy task
dummy-task:
echo dummy
## This help screen
@depressiveRobot
depressiveRobot / git-function.sh
Last active June 6, 2020 13:21
bash function to override git init/clone commands
function git() {
for i do
lastArgument=$i # last argument can be the directory or the repository url
done
/usr/local/bin/git $@
if [[ $? -eq 0 ]] # only show prompt if git command was successful
then
@depressiveRobot
depressiveRobot / git-email-prompt.sh
Last active June 6, 2020 13:21
prompt for email address to use for current git repository
#!/bin/bash
# bash prompt which asks for email address
# to configure for current git repository
# set your available emails
MAILS=(private@example.com work@example.com phd@example.com)
# prompt for email
echo
@depressiveRobot
depressiveRobot / shell_script_template.sh
Created October 16, 2014 10:02
A template for shell-based command-line scripts
#!/bin/bash
set -e
# credits: http://agateau.com/2014/template-for-shell-based-command-line-scripts/
PROGNAME=$(basename $0)
foo=""
bar=""
delete=0
output="-"