Skip to content

Instantly share code, notes, and snippets.

View apetrovYa's full-sized avatar
🏠
Working from home

Andrei Petrov apetrovYa

🏠
Working from home
View GitHub Profile
@apetrovYa
apetrovYa / dockerhub-v2-api-user.sh
Created June 8, 2018 14:53 — forked from kizbitz/dockerhub-v2-api-user.sh
Get the list of images and tags for a Docker Hub user account.
#!/bin/bash
# Example for the Docker Hub V2 API
# Returns all imagas and tags associated with a Docker Hub user account.
# Requires 'jq': https://stedolan.github.io/jq/
# set username and password
UNAME=""
UPASS=""

Keybase proof

I hereby claim:

  • I am apetrovya on github.
  • I am apetrov (https://keybase.io/apetrov) on keybase.
  • I have a public key ASBvgmkymOyJmgVfYH6wn68ukmzZvsUDefe4Ug7K0BFu4go

To claim this, I am signing this object:

@apetrovYa
apetrovYa / nginx.conf.default
Created December 22, 2016 13:28 — forked from nishantmodak/nginx.conf.default
Default Nginx Conf
#user nobody;
#Defines which Linux system user will own and run the Nginx server
worker_processes 1;
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores.
#error_log logs/error.log; #error_log logs/error.log notice;
#Specifies the file where server logs.
@apetrovYa
apetrovYa / bash-cheatsheet.sh
Created December 9, 2016 12:26 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04