- Apply for Personnummer (via yourself)
- Get employee card (via reception)
- Design and order business cards (via Svetlana)
import requests | |
import json | |
from tqdm.notebook import tqdm | |
import time | |
import multiprocessing as mp | |
import datetime | |
import pandas as pd | |
import itertools | |
def convert_gerrit_timestamp_to_datetime(s): |
def diffuse_information(G: nx.MultiGraph, seed: list, beta: float=1.0, case='best_case'): | |
informed_nodes = {n: None for n in seed} | |
changed = True | |
while changed: | |
for u, v, dt in G.edges(nbunch=informed_nodes, data='diffusion_time'): | |
changed = False | |
if informed_nodes[u] == None or informed_nodes[u] < dt[case]: # shall we | |
if random.random() < beta: | |
if v not in informed_nodes or dt[case] < informed_nodes[v]: |
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"time" |
#!/bin/bash | |
# Texpad 1.7 Build script to build with latexmk | |
tempdir="$(dirname "${TEXPAD_ROOTFILE}")/.texpadtmp"; | |
latexmk -pdf -interaction=nonstopmode -outdir="${tempdir}" -file-line-error -synctex=1 "${TEXPAD_ROOTFILE}"; | |
#mv "${tempdir}/$(basename "${TEXPAD_ROOTFILE}")" . |
curl -o response_1.txt -k "https://android-review.googlesource.com/changes/?q=change:I78c787fd5dd09fc7700f3093341532fe23f20eb8&o=DETAILED_LABELS" | |
curl -o response_2.txt -k "https://android-review.googlesource.com/changes/I78c787fd5dd09fc7700f3093341532fe23f20eb8/detail" |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"encoding/gob" | |
"fmt" | |
"os" | |
) | |
func writeGob(file_path string, object interface{}) error { | |
file, err := os.Create(file_path) |