Skip to content

Instantly share code, notes, and snippets.

View kuk's full-sized avatar

Alexander Kukushkin kuk

View GitHub Profile
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "code",
"execution_count": 105,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
import re
import sys
from subprocess import Popen, PIPE
from multiprocessing import Pool
PDS_BASE = 'http://aws-publicdatasets.s3.amazonaws.com/'
WARC_PATHS = {
'2014-12': 'common-crawl/crawl-data/CC-MAIN-2014-52/warc.paths.gz',
'2015-07': 'common-crawl/crawl-data/CC-MAIN-2015-32/warc.paths.gz'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
import os
import fcntl
import errno
import sys
import time
import shlex
import signal
@kuk
kuk / test_tickets.txt
Created November 5, 2011 15:51
Ticker solver
1000
3 4 6 6 6 8 10
2 2 5 5 5 9 15
1 1 2 4 7 9 4
2 4 4 7 7 7 58
3 5 8 8 8 9 9
3 3 3 7 7 7 3
1 3 5 5 7 9 17
1 1 3 3 3 5 4
3 4 5 5 5 8 17
@kuk
kuk / lab3_report.org
Created November 3, 2011 10:05
os adm lab3 report start

1

1

1

mount -o remount,rw /boot

2

Appended “edd=off” to title of first entery

3

Copied first entery modified title, appended “single”

4

Generated md5 with /sbin/grub-md5-.. . Added password –md5 <hash> to common params

1000
3 4 6 6 6 8 10
2 2 5 5 5 9 15
1 1 2 4 7 9 4
2 4 4 7 7 7 58
3 5 8 8 8 9 9
3 3 3 7 7 7 3
1 3 5 5 7 9 17
1 1 3 3 3 5 4
3 4 5 5 5 8 17