Skip to content

Instantly share code, notes, and snippets.

Eli elimelec

  • Sibiu, Romania
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am elimelec on github.
  • I am elimelec (https://keybase.io/elimelec) on keybase.
  • I have a public key whose fingerprint is 65C9 E369 4133 6B11 87D3 1B77 D966 F706 3703 5F71

To claim this, I am signing this object:

@elimelec
elimelec / CalculatorView.swift
Created Oct 7, 2016 — forked from natecook1000/CalculatorView.swift
An IBInspectable Calculator Construction Set
View CalculatorView.swift
// CalculatorView.swift
// as seen in http://nshipster.com/ibinspectable-ibdesignable/
//
// (c) 2015 Nate Cook, licensed under the MIT license
/// The alignment for drawing an String inside a bounding rectangle.
enum NCStringAlignment {
case LeftTop
case CenterTop
case RightTop
View Recursion.java
public class Recursion {
public static void findHome(int from) {
if (from < 0) throw new IllegalArgumentException("from = " + from);
if (from == 0) { //home = 0
return;
}
View cactigen
new string[]{
@"# Cache size",
@"-size (bytes) 134217728",
@"",
@"# Line size",
@"-block size (bytes) 64",
@"",
@"# To model Fully Associative cache, set associativity to zero",
@"-associativity 1",
@"",
You can’t perform that action at this time.