Skip to content

Instantly share code, notes, and snippets.

Łukasz Żarnowiecki dolohow

  • Cracow, Poland
Block or report user

Report or block dolohow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5495458035be535425b5710a8368915c
Sun 17 May 2020 02:21:25 PM EDT [10/9229]
Basic System Information:
---------------------------------
Processor : AMD Ryzen 7 3700X 8-Core Processor
CPU cores : 1 @ 3593.250 MHz
AES-NI : ✔ Enabled
View gist:bd8462b63b661f8d4bd7cbc291310b4d
Basic System Information:
---------------------------------
Processor : QEMU Virtual CPU version (cpu64-rhel6)
CPU cores : 1 @ 3399.998 MHz
AES-NI : ❌ Disabled
VM-x/AMD-V : ❌ Disabled
RAM : 487M
Swap : 511M
Disk : 9.4G
View gist:aa273fbf558ca86a4036a7869d2e3837
Basic System Information:
---------------------------------
Processor : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
CPU cores : 1 @ 2294.608 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 989Mi
Swap : 0B
Disk : 25G
View gist:f80b33f4ac908ea7ab40e55a27a21f61
Basic System Information: [8/82]
---------------------------------
Processor : Common KVM processor
CPU cores : 2 @ 2666.760 MHz
AES-NI : ❌ Disabled
VM-x/AMD-V : ❌ Disabled
RAM : 1.9Gi
Swap : 0B
Disk : 20G
@dolohow
dolohow / usa.py
Created Jan 6, 2020
Price of importing car in USA
View usa.py
from pylab import *
car_price_from_auction = list(range(0, 10001, 500))
dollar_cost = 3.97
euro_cost = 4.39
euro_to_dollar = 1.11
pln_to_usd = 0.25
def total_cost(car_price_from_auction):
@dolohow
dolohow / ctest.txt
Last active Feb 19, 2019
Oracle test for Solaris team
View ctest.txt
> 1) Write a C (C99) program which reads a standard input and prints each line in reversed order. Assume '\n' as line separator. Do not assume limit of number of character per line. Example:
>
> $ printf "123\nhello\n" | ./a.out
> 321
> olleh
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
View paranthesis_parser.py
def parse(string):
tokens = []
for char in string:
try:
if char == '(':
tokens.append('(')
elif char == '[':
tokens.append('[')
elif char == ']':
if tokens.pop() != '[':
@dolohow
dolohow / lspci
Created Dec 15, 2018
lspci Huawei Matebook D 14 Ryzen
View lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15d0
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15d1
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 25
@dolohow
dolohow / subtitles_download.py
Last active Feb 18, 2019
subtitles_download.py
View subtitles_download.py
#!/usr/bin/python2
import random
import string
import md5
import chardet
import sys
import urllib
import os
import glob
View allegro.js
// ==UserScript==
// @name Auction script
// @version 0.1
// @description Improve auction services experience
// @author Łukasz Żarnowiecki
// @grant GM_registerMenuCommand
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @match *://allegro.pl/*
// @match *://*.ebay.pl/*
You can’t perform that action at this time.