I hereby claim:
- I am arbinish on github.
- I am binish (https://keybase.io/binish) on keybase.
- I have a public key ASAX2cotT0JJWp6RLrGWveriSvuL1YWXsRftyO0uK-7WrAo
To claim this, I am signing this object:
package main | |
import ( | |
"embed" | |
"io/fs" | |
"log" | |
"net/http" | |
"os" | |
"strconv" | |
"time" |
from packaging import version | |
version.parse('38.4.205') < version.parse('38.4.215') |
from random import randint | |
from typing import List | |
class Board: | |
def __init__(self, length: int, width: int, bombs: int) -> List: | |
self.length = length | |
self.width = width | |
self.board = [] | |
for i in range(length): |
# -*- coding: utf-8 -*- | |
''' | |
python port for https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go | |
''' | |
import sys | |
import time | |
import random |
import pytz | |
from datetime import datetime | |
utcnow = datetime.utcnow() | |
# localized (with tzinfo) version | |
localized_utcnow = pytz.utc.localize(utcnow) | |
# find pacific time | |
pacific = pytz.timezone('US/Pacific') | |
pacific.normalize(localize_utcnow) |
== .css == | |
.postcard { | |
position: relative; | |
margin: 0 auto; | |
width: 400px; | |
height: 270px; | |
} | |
.postcard-front, | |
.postcard-back { |
I hereby claim:
To claim this, I am signing this object:
webpack = require('webpack'); | |
module.exports = { | |
entry: './main.js', | |
output: { | |
path: './', | |
filename: 'index.js' | |
}, | |
devServer: { | |
inline: true, |
/* | |
* Displays linux /proc/pid/stat in human-readable format | |
* | |
* Build: gcc -o procstat procstat.c | |
* Usage: procstat pid | |
* cat /proc/pid/stat | procstat | |
* | |
* Homepage: http://www.brokestream.com/procstat.html | |
* Version : 2009-03-05 | |
* |
class AttrStorage(dict): | |
def __init__(self, fields=None, **kwargs): | |
""" only allow keys defined in fields """ | |
self.fields = () | |
if fields: | |
self.fields = fields | |
super(AttrStorage, self).__init__(kwargs) | |
def __getitem__(self, name): |