sudo journalctl --vacuum-size=50M
Only keep 50mb of latest logs, and delete the rest.
Set max log file for journal, edit /etc/systemd/journald.conf
, set SystemMaxUse
to 50M
then save.
Restart service:
anjim | |
anjing | |
anjir | |
anjrit | |
anjrot | |
asu | |
babi | |
bacot | |
bajingan | |
banci |
<!DOCTYPE html> | |
<html> | |
<body> | |
<style> | |
body { | |
overflow: hidden; | |
} | |
</style> | |
<img id="scream" src="pic_the_scream.jpg" style="display:none;"> |
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar | |
import proguard.gradle.ProGuardTask | |
plugins { | |
id("application") | |
id("org.jetbrains.kotlin.jvm") version "1.6.0" | |
id("com.github.johnrengelman.shadow") version "7.1.0" | |
} |
Download from http://www.linux-usb.org/usb.ids and save as data.txt
Save this code below as parser.py
Run with python parser.py
Result -> usb.json
{ | |
"4621": "(AVL) DiTEST Fahrzeugdiagnose GmbH", | |
"3765": "@pos.com", | |
"3151": "01dB‐Stell", | |
"10737": "0XF8 Limited", | |
"8168": "103mm Tech", | |
"8219": "1064138 Ontario Ltd. O/A UNI‐TEC ELECTRONICS", | |
"4375": "11 WAVE TECHNOLOGY, INC.", | |
"4835": "1417188 Ontario Ltd.", | |
"5288": "1C Company", |
This is my Visual Studio Code settings, i use vscode especially for python development.
{ | |
"breadcrumbs.enabled": false, | |
"window.titleBarStyle": "custom", | |
"editor.renderWhitespace": "boundary", | |
"editor.insertSpaces": false, | |
"editor.smoothScrolling": true, | |
"workbench.colorTheme": "Community Material Theme High Contrast", | |
"workbench.iconTheme": "eq-material-theme-icons", | |
"workbench.colorCustomizations": { | |
"sideBar.background": "#192227", |