Skip to content

Instantly share code, notes, and snippets.

Andre Kuzmicheff kuzmicheff

Block or report user

Report or block kuzmicheff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kuzmicheff /
Last active Jul 19, 2018
Create Windows 10 installer on USB drive in macOS 10.13 High Sierra


  1. An empty USB drive with 8Gb or greater capacity. The drive must be formatted in the FAT32 (MS-DOS) file system. A non-empty drive will be formatted as part of the process and existing data will be lost.
  2. Windows 10 creation tool. When on a Mac computer, the tool is downloadable as an .iso disk image from the Microsoft's website.
  3. Terminal. The application is located in Macintosh HD > Applications > Utilities >


  1. Mount the disk image containing the creation tool by double clicking on it.
  2. Run diskutil list which lists all connected internal and external drives.
  3. Run diskutil eraseDisk MS-DOS "WINDOWS10" MBR disk2. The disk2 is the name of the USB drive from the results of diskutil list and is dependent on the number of drives connected to the system.
  4. Run cp -rp /Volumes/CCCOMA_X64FRE_EN-US_DV9/* /Volumes/WINDOWS10 to copy the contents of the .iso disk image to the USB
kuzmicheff /
Created Mar 21, 2018
Docker intro: notes and commands
## List Docker CLI commands
docker container --help
## Display Docker version and info
docker --version
docker version
docker info
## Execute Docker image
kuzmicheff /
Created Nov 6, 2017
How to generate a self-signed TLS (SSL) certificate on Amazon Linux

Execute the following commands from the folder in which the certificate files need to be stored.

  1. openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
  2. openssl rsa -passin pass:x -in server.pass.key -out server.key
  3. rm server.pass.key
  4. openssl req -new -key server.key -out server.csr
  5. openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
kuzmicheff / array-intersection.js
Created Sep 16, 2017
Array intersection in JavaScript
View array-intersection.js
var arrayIntersection = function(firstArray, secondArray) {
var outputArray = [];
firstArray.forEach(function(firstArrayItem) {
secondArray.forEach(function(secondArrayItem) {
if (secondArrayItem === firstArrayItem) {
if (outputArray.length !== 0) {
if (outputArray.indexOf(secondArrayItem) === -1) {
kuzmicheff / greeter.html
Created Sep 16, 2017
Simple greeter in TypeScript
View greeter.html
<title>TypeScript Greeter</title>
<script src="greeter.js"></script>
kuzmicheff / clockCtrl.js
Created Sep 16, 2017
Simple clock in AngularJS
View clockCtrl.js
var app = angular.module("myApp", []);
app.controller("myCtrl", function($scope, $interval) {
$scope.theTime = new Date().toLocaleTimeString();
$interval(function() {
$scope.theTime = new Date().toLocaleTimeString();
}, 1000);
kuzmicheff / observer.js
Created Sep 16, 2017
Observer pattern implementation in JavaScript
View observer.js
function Click() {
this.handlers = []; // observers
Click.prototype = {
subscribe: function(fn) {
You can’t perform that action at this time.