Skip to content

Instantly share code, notes, and snippets.

View besmirzanaj's full-sized avatar

Besmir Zanaj besmirzanaj

  • Toronto, ON
View GitHub Profile
@besmirzanaj
besmirzanaj / gist:44285988853ee171d3a219ea07ea1c7d
Created March 18, 2021 21:27 — forked from DanHam/gist:f2c860e925b269782c6f037798e08372
How to set up for and use Packer's Amazon Import post-processor
Packer has the ability to import Virtualbox OVA artifacts into AWS
using Amazons Import/Export feature. There are a number of prerequisites,
the setup of which are detailed below.
1. Create an S3 bucket to hold uploaded temporary build artifacts
$ aws s3 mb s3://my-organisation.com-eu-west-1-vmimport-bucket --region eu-west-1
make_bucket: s3://my-organisation.com-eu-west-1-vmimport-bucket/

An Ansible summary

Patterns

  • all (or *)
  • hostname: foo.example.com
  • groupname: webservers
  • or: webservers:dbserver
  • exclude: webserver:!phoenix
  • intersection: webservers:&staging
@besmirzanaj
besmirzanaj / docker-learning-ref.note.md
Created May 30, 2018 03:51 — forked from aursu/docker-learning-ref.note.md
URLs related to docker (Training, Examples etc)
@besmirzanaj
besmirzanaj / bash-cheatsheet.sh
Created August 31, 2017 15:17 — 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
@besmirzanaj
besmirzanaj / reclaimWindows10.ps1
Created March 16, 2017 11:12 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1