Skip to content

Instantly share code, notes, and snippets.

View prysmakou's full-sized avatar

Aliaksandr Prysmakou prysmakou

View GitHub Profile
@prysmakou
prysmakou / dockerhub-v2-api-organization.sh
Created May 18, 2021 05:33 — forked from kizbitz/dockerhub-v2-api-organization.sh
Get the list of images and tags for a Docker Hub organization account
#!/bin/bash
# Example for the Docker Hub V2 API
# Returns all images and tags associated with a Docker Hub organization account.
# Requires 'jq': https://stedolan.github.io/jq/
# set username, password, and organization
UNAME=""
UPASS=""
ORG=""
@prysmakou
prysmakou / TerminalVim.scpt
Created April 23, 2020 08:18 — forked from charlietran/TerminalVim.scpt
Open file in iTerm vim for MacOS Sierra
-- TerminalVim.app
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm
-- To use this script:
-- 1. Open Automator and create a new Application
-- 2. Add the "Run Applescript" action
-- 3. Paste this script into the Run Applescript section
-- 4. Save the application as TerminalVim.app in your Applications folder
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default
@prysmakou
prysmakou / release_copy.rb
Created April 19, 2016 09:20 — forked from voelzmo/release_copy.rb
bosh release copy script
#!/usr/bin/env ruby
require "cli"
require "cli/release"
require "cli/blob_manager"
require "blobstore_client"
require "cli/versions/versions_index"
require 'optparse'
@prysmakou
prysmakou / bosh-cheatsheet.md
Created April 14, 2016 08:59 — forked from allomov-altoros/bosh-cheatsheet.md
BOSH CLI cheatsheet

BOSH command line interface cheatsheet

Intraduction

BOSH is a powerfull tool to install and manage. You can find docks on https://bosh.io/docs. Consider using bosh-init tool to install to a cloud of your choise MicroBOSH instance (MicroBOSH is a single VM BOSH installation, it has everything that you need to deploy and manage).

Installing

BOSH command line interface is implemented as ruby gem, you'll need to have ruby 2.1.x to run it. To install you can run gem install bosh_cli and gem update bosh_cli to update to a newer version. To install BOSH director to your cloud use tool that is called bosh-init, see details here [https://bosh.io/docs/install-bosh-init.html].