Skip to content

Instantly share code, notes, and snippets.

View pidgin
+FROM ubuntu:14.04
+
+
+
+sudo docker run --privileged=true -v /home/pidgin:/home -ti -e="DISPLAY" -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" <<id>>
+
+
+
+RUN sudo apt-get update -y
View double_hashing.cpp
#ifndef DOUBLEHASING_H
#define DOUBLEHASHING_H
#include <iostream>
#include "Container.h"
#include <cmath>
class DoubleHashingEmptyException : public ContainerException
{
public:
virtual const char *what() const throw()
View gist:56269dee40ead297c383a660d9cfdfc5
let hexToByte x =
match x with
| '0' -> 0uy
| '1' -> 1uy
| '2' -> 2uy
| '3' -> 3uy
| '4' -> 4uy
| '5' -> 5uy
| '6' -> 6uy
| '7' -> 7uy
View pidgin-docker
sudo docker run --privileged=true -ti -e DISPLAY=unix$DISPLAY -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" -v /dev/snd:/dev/snd -v /dev/snd/pcmC0D0p:/dev/snd/pcmC0D0p -v /dev/snd/pcmC1D0c:/dev/snd/pcmC1D0c -v /dev/snd/controlC0:/dev/snd/controlC0 -v /dev/snd/controlC1:/dev/snd/controlC1 -e PULSE_SERVER=tcp:localhost:4713 -e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` --group-add $(getent group audio | cut -d: -f3) -v /dev/bus/usb:/dev/bus/usb -v /dev/snd/pcmC0D0p:/dev/snd/pcmC0D0p -v /dev/snd/pcmC1D0c:/dev/snd/pcmC1D0c -v /dev/snd/controlC0:/dev/snd/controlC0 -v /dev/snd/controlC1:/dev/snd/controlC1 --group-add audio wklm/pidgin
View gist:da5dd95ddfa94df6a94b7d24cbcbfe6b
[wojtek@nuc-cda-student gh]$ git log 1b127bec421389183a5cf48299fc36d207f59863..HEAD
commit 2b216a518bab794b5dd50bd491f6aefb3ee944c8
Author: Jakub Adam <jakub.adam@ktknet.cz>
Date: Wed Jun 29 14:07:18 2016 +0200
appshare: add debug messages for when "Show presentation" is clicked
commit c078e3a0a4b7932cc90d54a18ab55ca2ce2c3b80
Author: Jakub Adam <jakub.adam@ktknet.cz>
Date: Wed Jun 15 14:19:22 2016 +0200
View gist:19c67dd66a73e8817eacaec14726afb0
https://copr-be.cloud.fedoraproject.org/results/dwmw2/sipecollab/fedora-21-x86_64/
View dbs_pr_downloader.py
import wget
import time
from datetime import date, timedelta
dmy = 20170424
while True:
try:
t=time.strptime(str(dmy),'%Y%m%d')
newdate=date(t.tm_year,t.tm_mon,t.tm_mday)+timedelta(1)
View heya.fs
open Suave
open Suave.Successful
open Suave.Filters
open Suave.Operators
open FSharp.Data
open System
open Apache.NMS.ActiveMQ
let factory = ConnectionFactory "tcp://wk:32779"
@wklm
wklm / Top 50 Universities List.md
Created Jun 18, 2017 — forked from Tims101/Top 50 Universities List.md
Top 50 Computer Science Universities
View Top 50 Universities List.md

Universities

Massachusetts Institute of Technology (MIT)

###phd###

  • MIT Graduate Admissions link
  • PhD Program - MIT Sloan School of Management link
  • MIT - Massachusetts Institute of Technology link
  • to view contact information for all departments. - MIT link