Сочетания клавиш для тех, кто хочет войти в IT и не только.
Содержание
#!/bin/bash | |
# Takes a photo and converts to a project text artifact. | |
# Just experimental for now. | |
set -euo pipefail | |
THISDIR="$(dirname "$0")" | |
#shellcheck disable=SC1091 | |
source "$THISDIR/.env" |
#!/bin/bash | |
BS=64M | |
DISK_ID=0x7788c428 | |
ROOT_DEV=/dev/mmcblk0 | |
BOOTFS_BACKUP=${ROOT_DEV}p3 | |
BOOTFS_TARGET=${ROOT_DEV}p1 | |
ROOTFS_BACKUP=${ROOT_DEV}p2 | |
ROOTFS_TARGET=${ROOT_DEV}p4 | |
if [ $EUID -ne 0 ]; then |
.container | |
img(src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/221808/sky.jpg").background | |
p.message all your dreams can come true<br>if you have the courage to pursue them | |
- for (i = 1; i <= 100; i++) | |
.circle-container | |
.circle |
Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.
Update system packages in Termux:
$ pkg update -y
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
(function (context, trackingId, options) { | |
const history = context.history; | |
const doc = document; | |
const nav = navigator || {}; | |
const storage = localStorage; | |
const encode = encodeURIComponent; | |
const pushState = history.pushState; | |
const typeException = 'exception'; | |
const generateId = () => Math.random().toString(36); | |
const getId = () => { |
{ | |
"name": "tf-js", | |
"version": "1.0.0", | |
"main": "script.js", | |
"license": "MIT", | |
"dependencies": { | |
"@tensorflow-models/mobilenet": "^0.2.2", | |
"@tensorflow/tfjs": "^0.12.3", | |
"@tensorflow/tfjs-node": "^0.1.9", | |
"jpeg-js": "^0.3.4" |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html