Skip to content

Instantly share code, notes, and snippets.

Piotr Wittchen pwittchen

Block or report user

Report or block pwittchen

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
@Geoyi
Geoyi / install virtualenv ubuntu 16.04.md
Created Sep 16, 2017 — forked from frfahim/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04
View install virtualenv ubuntu 16.04.md

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@okapies
okapies / t470s.md
Last active Sep 26, 2018
Ubuntu 16.04 on ThinkPad T470s
View t470s.md

This is a document describing how to install Ubuntu 16.04 LTS on ThinkPad T470s.

My Hardware

  • CPU: Intel Core i7-7600U (2.80GHz, 4MB cache)
  • Graphics: Intel HD Graphics 620
  • Display: 14” WQHD (2560 X 1440) IPS Non-Touch Anti-Glare
  • Memory: 24GB DDR4 2133 MHz (8GB Onboard + 16GB)
  • SSD: PCIe-NVMe 256G OPAL 2.0
  • Wireless: Intel Dual Band Wireless AC (2x2) 8265 Bluetooth 4.1
  • Fingerprint Reader
@mthenw
mthenw / README.md
Last active Sep 5, 2017
iTerm2 configuration
View README.md
View MainActivity.java
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@serkanh
serkanh / gist:23c73bdb1fc294ee9105f33ccc1f304e
Created Nov 14, 2016
Save tmux session via ascii cinema
View gist:23c73bdb1fc294ee9105f33ccc1f304e
asciinema rec -c "tmux attach -t 3"
@sniper7kills
sniper7kills / ELK-install.sh
Last active May 28, 2019
ELK-Install-Ubuntu-16.04
View ELK-install.sh
#/bin/bash
#Ask some info
echo -n "Enter ELK Server IP or FQDN: "
read eip
echo -n "Enter Admin Web Password: "
read adpwd
#Update System
sudo apt-get update
sudo apt-get upgrade -y
@jarun
jarun / Travis CI local install
Created Jun 5, 2016
How to install Travis CI locally on Ubuntu 16.04
View Travis CI local install
sudo apt install ruby ruby-dev
sudo gem install travis
# install path: /var/lib/gems/
@elliotchance
elliotchance / brainfuck.py
Created Jan 19, 2016
Write Your Own Brainfuck Compiler
View brainfuck.py
import sys
import ply.yacc as yacc
import ply.lex as lex
tokens = (
'INCREMENT',
'DECREMENT',
'SHIFT_LEFT',
'SHIFT_RIGHT',
'OUTPUT',
@JakeWharton
JakeWharton / Java6.java
Last active Mar 15, 2019
A comparison between non-capturing and capturing expressions across Java 6, Java 8, Java 8 with Retrolambda, Kotlin with native function expressions, and Kotlin with Java SAM expression.
View Java6.java
import java.util.Arrays;
class NonCapturing {
public static void main(String... args) {
run(new Runnable() {
@Override public void run() {
System.out.println("Hey!");
}
});
}
View 5 minute local Kubernetes Cluster on Mac
# Reference:
https://www.cloudgear.net/blog/2015/5-minutes-kubernetes-setup/
# install homebrew and cask
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install virtualbox
brew cask install virtualbox
# install dockertoolbox
You can’t perform that action at this time.