# make bootable usb
λ dd if=<file> of=<device> bs=4M; sync
λ dd if=debian.iso of=/dev/sda1 bs=4M status=progress; sync
# tlp
# https://linrunner.de/en/
# add to **/etc/apt/sources.list**
# make bootable usb
λ dd if=<file> of=<device> bs=4M; sync
λ dd if=debian.iso of=/dev/sda1 bs=4M status=progress; sync
# tlp
# https://linrunner.de/en/
# add to **/etc/apt/sources.list**
var fs = require("fs") | |
var ssl_options = { | |
key: fs.readFileSync('privatekey.pem'), | |
cert: fs.readFileSync('certificate.pem') | |
}; | |
var port = process.env.PORT || 3000; | |
var express = require('express'); | |
var ejs = require('ejs'); | |
var passport = require('passport') |
Create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
named Scancode Map
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
or use PowerShell (run as Admin)
export const parallel = (tasks, fn) => Promise.all(tasks.map(task => fn(task))); | |
export const serial = (tasks, fn) => tasks.reduce((promise, task) => promise.then(previous => fn(task, previous)), Promise.resolve(null)); | |
export const concurrent = async (tasks, fn, limit = 8) => { | |
const chunks = Array.from(Array(Math.ceil(tasks.length / limit))).map((x, i) => tasks.slice(i * limit, i * limit + limit)); | |
for (const chunk of chunks) { | |
await Promise.all(chunk.map((task) => fn(task))); | |
} | |
}; |
$ rofi -modi "window,windowcd,drun,run,ssh,combi,keys" -show drun -theme Monokai -theme-str "window { border: 10; border-color: #161616; }" -font "Source Code Pro Bold 10" -help | |
# # # # # # # # # # # # # # # # # # # # # # # # | |
rofi usage: | |
rofi [-options ...] | |
Command line only options: | |
-no-config Do not load configuration, use default values. | |
-v,-version Print the version number and exit. |
. | |
.. | |
........ | |
@ | |
* | |
*.* | |
*.*.* | |
🎠|