Skip to content

Instantly share code, notes, and snippets.

start-diagnose-(4574) exited at 0s, got signals:
winedevice.exe(2804) exited at 84.115767s, got signals: 9(84.115744)
winedevice.exe(2808) exited at 84.115768s, got signals: 9(84.115750)
winedevice.exe(2805) exited at 84.115769s, got signals: 9(84.115747)
winedevice.exe(2809) exited at 84.115770s, got signals: 9(84.115753)
winedevice.exe(2802) exited at 84.115784s, got signals: 9(84.115727)
kworker/dying(2183) exited at 84.116642s, got signals:
kworker/dying(3926) exited at 84.116657s, got signals:
winedevice.exe(2810) exited at 84.120088s, got signals: 9(84.115764)
systemd( 591) exited at 84.126492s, got signals:
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.9.14-arch1-1] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue
Device Model: WDC WD10EZEX-60WN4A1
Serial Number: WD-WCC6Y5AU47FH
LU WWN Device Id: 5 0014ee 267cfc618
Firmware Version: 03.01A03
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
@hubutui
hubutui / Makefile
Created November 7, 2020 13:16
PKGBUILD for olex2
# $HeadURL$
# $LastChangedDate$
# $LastChangedRevision$
# $LastChangedBy$
# $Id$
# #############################################################################
# Makefile for compiling, linking, installing and updating olex2
# This currently doesn't check the ld paths or libs
#
###############################################################################
unknown OID 28: failed to recognize type of 'relfrozenxid'. It will be treated as String.
unknown OID 1034: failed to recognize type of 'relacl'. It will be treated as String.
unknown OID 194: failed to recognize type of 'relpartbound'. It will be treated as String.
ArgumentError: Already running on PID:446 (or pid=/opt/gitlab/var/unicorn/unicorn.pid is stale)
/opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:205:in `pid='
/opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:137:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/unicorn-5.4.1/bin/unicorn:126:in `<top (required)>'
/opt/gitlab/embedded/bin/unicorn:23:in `load'
/opt/gitlab/embedded/bin/unicorn:23:in `<top (required)>'
ArgumentError: Already running on PID:446 (or pid=/opt/gitlab/var/unicorn/unicorn.pid is stale)
gitlab
date,stream,content
2020-05-20 02:05:17,stdout,127.0.0.1 - - [20/May/2020:02:05:16 +0000] "GET /help HTTP/1.1" 200 84074 "" "curl/7.59.0-DEV"
2020-05-20 02:05:17,stdout,==> /var/log/gitlab/nginx/gitlab_access.log <==
2020-05-20 02:05:17,stdout,
2020-05-20 02:05:17,stdout,"{\"correlation_id\":\"WW3sD80FpI9\",\"duration_ms\":2222,\"host\":\"localhost\",\"level\":\"info\",\"method\":\"GET\",\"msg\":\"access\",\"proto\":\"HTTP/1.1\",\"referrer\":\"\",\"remote_addr\":\"127.0.0.1:0\",\"remote_ip\":\"127.0.0.1\",\"status\":200,\"system\":\"http\",\"time\":\"2020-05-20T02:05:16Z\",\"uri\":\"/help\",\"user_agent\":\"curl/7.59.0-DEV\",\"written_bytes\":83975}
"
# Maintainer: Butui Hu <hot123tea123@gmail.com>
pkgname=netron
pkgver=2.9.8
pkgrel=1
pkgdesc="Visualizer for deep learning and machine learning models "
arch=('x86_64')
url='https://github.com/lutzroeder/Netron'
license=('MIT')
depends=('electron' 'python' 'nodejs')
@hubutui
hubutui / labelme2voc-parallel.py
Created March 23, 2019 08:23
speed up labelme2voc via simple parallel
#!/usr/bin/env python
from __future__ import print_function
from multiprocessing.dummy import Pool as ThreadPool
import argparse
import glob
import json
import os
import os.path as osp
@hubutui
hubutui / PKGBUILD
Created March 20, 2019 13:45
python-apex-git
# Maintainer: Butui Hu <hot123tea123@gmail.com>
pkgname=python-apex-git
pkgver=r376.bd0db55
pkgrel=1
pkgdesc="A PyTorch Extension for easy mixed precision and distributed training in PyTorch"
arch=('x86_64')
url="https://github.com/NVIDIA/apex"
license=('BSD')
depends=(cuda python-pytorch-cuda)
@hubutui
hubutui / pytorch-mnist-resnet18.py
Created February 24, 2019 15:08
pytorch mnist resen18
from __future__ import print_function
import argparse
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from torchvision import datasets, transforms, models
class Net(nn.Module):
@hubutui
hubutui / fcitx.log
Created February 19, 2019 06:56
fcixt log
# 系统信息:
1. `uname -a`:
Linux ArchLinux 4.20.10-arch1-1-ARCH #1 SMP PREEMPT Fri Feb 15 17:49:06 UTC 2019 x86_64 GNU/Linux
2. `lsb_release`:
`lsb_release` 未找到.
3. `/etc/lsb-release`: