Update your apt stuff in a pretty and informative way
Put this code in your .zsh
file:
update_stuff() {
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontFamily": "JetBrains Mono", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.rulers": [80, 120], | |
"editor.tabSize": 2, | |
"editor.minimap.enabled": false, |
const path = require('path') | |
const { promises: fs } = require('fs') | |
const DIR = '.' | |
const spacesRegex = /\s/g | |
;(async () => { | |
try { | |
const files = await fs.readdir(DIR) |
const fakeRequest = (response = {}, delay = 1000) => | |
new Promise((resolve) => setTimeout(() => resolve(response), delay)) |
Dart 25 hrs 53 mins ██████████████████▊░░ 89.5% | |
JavaScript 2 hrs 18 mins █▋░░░░░░░░░░░░░░░░░░░ 8.0% | |
HTML 24 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.4% | |
Other 14 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.8% | |
TypeScript 2 mins ░░░░░░░░░░░░░░░░░░░░░ 0.1% |
class Xablau { | |
const Xablau(this.id, [this.completedAt]); | |
final int id; | |
final DateTime? completedAt; | |
@override | |
String toString() => 'Xablau($id, $completedAt)'; | |
} |