Skip to content

Instantly share code, notes, and snippets.

@samsol
samsol / UUID22.java
Created July 19, 2018 07:22
22 length UUID compactor
Replace (+, /) with (-, _)
import java.nio.ByteBuffer;
import java.util.Base64;
import java.util.UUID;
class UUID22 {
public static void main(String[] args) {
UUID uuid= UUID.randomUUID();
@samsol
samsol / Matrix.md
Created May 27, 2018 17:26 — forked from nadavrot/Matrix.md
Efficient matrix multiplication

High-Performance Matrix Multiplication

This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).

Intro

Matrix multiplication is a mathematical operation that defines the product of

@samsol
samsol / osx_install.sh
Created April 28, 2018 03:19 — forked from t-io/osx_install.sh
Install most of my Apps with homebrew & cask
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets