Skip to content

Instantly share code, notes, and snippets.

View sotsugov's full-sized avatar

igor sotsugov

View GitHub Profile
@sotsugov
sotsugov / Pandas and Seaborn.ipynb
Created February 24, 2017 09:19 — forked from 5agado/Pandas and Seaborn.ipynb
Data Manipulation and Visualization with Pandas and Seaborn — A Practical Introduction
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@sotsugov
sotsugov / reclaimWindows10.ps1
Created January 8, 2017 09:54 — 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 <[email protected]>
# 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
@sotsugov
sotsugov / codestyle.xml
Last active February 23, 2016 12:22
PyCharm Code Style
<code_scheme name="Nexmo">
<option name="RIGHT_MARGIN" value="100" />
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="Python">
<option name="WRAP_LONG_LINES" value="true" />
<option name="WRAP_ON_TYPING" value="1" />
</codeStyleSettings>
@sotsugov
sotsugov / spec.md
Last active October 18, 2016 12:03
Software Engineer in Test

QA Test Engineer

Come grow your career at Nexmo with our QA Engineering team. QA at Nexmo is at the center of everything we do. If you want to create product that changes the world and is committed 100% to customer success — this is the place. Great product. Great people. Great team. Great opportunity. We are looking for highly motivated technical talent that will step up and have an impact.

You will:

  • Work towards improving test automation framework and maintain scalable data sets
  • Develop and contribute to long-term technical solutions and strategies of the engineering department
  • Advocate technical solutions and execute ideas without waiting for, or requiring intervention from others
  • Produce automation scripts in Python (pytest), Java unit testing (jUnit), load and performance testing (e.g. jMeter)
  • Work throughout the entire development cycle together with other technical and non-technical teams participating in product delivery
  • Deliver best quality products and features in shortest period
@sotsugov
sotsugov / puzzle.md
Last active November 9, 2015 10:54
Einstein's Riddle

There is a street with five houses all in a row. Each house has a person with a different name and each house is painted a different colour. Each homeowner drinks a different type of beverage, owns a different type of pet and reads a different type of newspaper.

  • Jez lives in the red house.
  • Liz keeps corgis as pets.
  • Vlad drinks vodka.
  • The green house is on the immediate left of the white house.
  • The green house's owner drinks coffee.
  • The owner who reads the Morning Star keeps a golden eagle.
@sotsugov
sotsugov / celery-crontab.py
Last active August 29, 2015 14:28 — forked from alexanderjulo/celery-crontab.py
celery crontab example
from celery.schedules import crontab
from flask.ext.celery import Celery
CELERYBEAT_SCHEDULE = {
# executes every night at 4:15
'every-night': {
'task': 'user.checkaccounts',
'schedule': crontab(hour=4, minute=20)
}
}
@sotsugov
sotsugov / The Technical Interview Cheat Sheet.md
Last active November 27, 2018 15:38 — 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.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

Array

Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
[29 Mar 2010: An expanded and annotated version of this is available on my website at http://www.thebraidytester.com/downloads/YouAreNotDoneYet.pdf.]
Accessibility
Check the following MSAA property settings for every control on every dialog, command bar, and other UI feature: NAME, ROLE, STATE, VALUE, KBSHORTCUT, and DEFACTION
Change values in edit boxes and verify those values are reflected in the MSAA property set
Run in high contrast mode
Run in large font mode
Run with Sound Sentry
Run with sticky keys and other mouse key settings
#! /usr/bin/env python
import redis
import random
import pylibmc
import sys
r = redis.Redis(host = 'localhost', port = 6389)
mc = pylibmc.Client(['localhost:11222'])