I hereby claim:
- I am saikpr on github.
- I am sainyam (https://keybase.io/sainyam) on keybase.
- I have a public key ASD5LPLpW0j7C0_QGALIYpghYnTZ3uS_zNwu4e--yU8AUwo
To claim this, I am signing this object:
| --- | |
| version: '3' | |
| services: | |
| transmission: | |
| image: haugene/transmission-openvpn:latest-arm64 | |
| container_name: transmission | |
| environment: | |
| - PUID=1000 | |
| - PGID=1000 | |
| - TZ=America/New_York |
| diff --git a/internal/repository/packer_manager.go b/internal/repository/packer_manager.go | |
| index 4884e088..0be8ee34 100644 | |
| --- a/internal/repository/packer_manager.go | |
| +++ b/internal/repository/packer_manager.go | |
| @@ -36,7 +36,7 @@ type packerManager struct { | |
| packers []*Packer | |
| } | |
| -const minPackSize = 4 * 1024 * 1024 | |
| +const minPackSize = 128 * 1024 * 1024 |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045769] zsh invoked oom-killer: gfp_mask=0x7080c0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), nodemask=(null), order=1, oom_score_adj=0 | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045793] zsh cpuset=/ mems_allowed=0 | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045824] CPU: 2 PID: 2442 Comm: zsh Tainted: G C 4.19.50-v7l+ #895 | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045829] Hardware name: BCM2835 | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045883] [<c0212c80>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24) | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045913] [<c020d49c>] (show_stack) from [<c0978f60>] (dump_stack+0xd4/0x118) | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045944] [<c0978f60>] (dump_stack) from [<c033f0c0>] (dump_header+0x80/0x250) | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045958] [<c033f0c0>] (dump_header) from [<c033e438>] (oom_kill_process+0x358/0x3a8) | |
| Jul 3 03:20:08 raspberrypi kernel: [37994.045970] [<c033e438>] (oom_kill_process) from [< |
| import csv | |
| import argparse | |
| import io | |
| import tqdm | |
| import subprocess | |
| from subprocess import DEVNULL | |
| def main(lastpass_filename): | |
| names = set() |
I hereby claim:
To claim this, I am signing this object:
| {"lastUpload":"2019-06-29T01:27:27.342Z","extensionVersion":"v3.3.1"} |
| This version maintains these invariants: | |
| good < bad | |
| !isBad(good) | |
| isBad(bad) | |
| i.e. it keeps pushing good and bad together until they are adjacent to each other. | |
| ["Good","Good","Good","Good","Good","Bad","Bad","Bad","Bad","Bad"] | |
| to find the last "Good" | |
| int findBadRev(unsigned int good, unsigned int bad) |
| def firstBadVersion(arr, target, low, high): | |
| """ | |
| :type n: int | |
| :rtype: int | |
| """ | |
| while low!=high: | |
| mid = (high + low)/2 | |
| if arr[mid]>=target: | |
| high = mid | |
| else: |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from flask import Flask, jsonify | |
| #creating a Flask object | |
| simple_api = Flask(__name__, static_folder='static') | |
| #adding route | |
| @simple_api.route("/hello/<user_name>",methods = ["GET"]) |