Skip to content

Instantly share code, notes, and snippets.

View csergiu's full-sized avatar

Serge csergiu

View GitHub Profile
@csergiu
csergiu / The Technical Interview Cheat Sheet.md
Created February 12, 2022 07:17 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@csergiu
csergiu / btc-eth-dca-buy.php
Created August 24, 2017 08:48 — forked from levelsio/btc-eth-dca-buy.php
This script runs daily and "Dollar Cost Average"-buys $40 BTC and $10 ETH per day
<?
//
// [ BUY BTC & ETH DAILY ON BITSTAMP ]
// by @levelsio
//
// 2017-08-23
//
// 1) buy $40/day BTC
// 2) buy $10/day ETH
//
@csergiu
csergiu / _mixins.scss
Created February 9, 2016 09:31
trim lines with css
@mixin giveMeEllipsis($lines, $lh) {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: $lines; /* number of lines to show */
line-height: $lh; /* fallback */
max-height: $lh*$lines; /* fallback */
}

The Slacker Programming Language v0.1

Data types:

  • shint: short integer, [-32767, +32767], word, from -(2 pow 15) to (2 pow 15) -1
  • char: char, byte, from -128 to 127

User defined data type: