This gist contain working data for the post 'Nativefier. How create native applications'
https://blog.rpsl.info/2020/05/nativefier-how-create-native-application/
This gist contain working data for the post 'Nativefier. How create native applications'
https://blog.rpsl.info/2020/05/nativefier-how-create-native-application/
<?php | |
$hosts = [ | |
'host1:port1', | |
'host2:port2', | |
]; | |
foreach($hosts as $host){ | |
list($host, $port) = explode(':', $host); | |
echo sprintf("-- %s:%d \n", $host, $port); |
cropdetect can be used to provide the parameters for the crop filter. In this example the first 90 seconds is skipped and 10 frames are processed:
$ ffmpeg -ss 90 -i input.mp4 -vframes 10 -vf cropdetect -f null -
...
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:215 t:0.215000 crop=1280:720:0:0
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:257 t:0.257000 crop=1280:720:0:0
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:299 t:0.299000 crop=1280:720:0:0
Технический писатель (англ. technical writer, technical author) — специалист, занимающийся документированием в рамках решения технических задач, в частности разработки программного обеспечения. wiki
Отсюда следует основное отличие технического писателя от обычного писателя - он умеет лаконично и ёмко выражать свои мысли.
brew install aspell --with-lang-ru | |
mkdir -p ~/your-work-directory/aspell && aspell -l ru dump master | aspell -l ru expand | tr ' ' '\n' > ~/your-work-directory/aspell/russian.dic | |
Затем в IDE: Settings->Editor->Spelling->Dictionaries->Custom Dictionaries | |
Добавляем ~/your-work-directory/aspell |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# Install: | |
# cp ./.git/hooks/commit-msg ./.git/hooks/commit-msg.old 2>/dev/null; curl https://gist.githubusercontent.com/Rpsl/4dabaa7120f8a5e08b918a6171aef832/raw > ./.git/hooks/commit-msg && chmod +x ./.git/hooks/commit-msg | |
import sys | |
import os | |
import re | |
from subprocess import check_output |
var browser = require('airplay').createBrowser(2); | |
var resolve = require('soundcloud-resolve'); | |
browser.on('deviceOnline', function(device) { | |
console.log('device online: ' + device.id); | |
if(device.info_.name == 'SysadmTV') { | |
console.log(device) |
tell application "Finder" | |
-- get desktop dimensions (dw = desktop width; dh = desktop height) | |
set db to bounds of window of desktop | |
set {dw, dh} to {item 3 of db, item 4 of db} | |
end tell | |
tell application "System Events" | |
repeat with proc in application processes | |
tell proc | |
repeat with win in windows |
cd ~/Library/Application\ Support/WebIde100/NativeNeighbourhood/classes/org/intellij/plugins/nativeNeighbourhood/icons/macosx | |
echo '#!/bin/sh | |
# | |
# !!!This is only for iTerm 2.9 and above!!! | |
# | |
# Reveal a directory in the Terminal. | |
# | |
# The script takes one argument, the qualified name of a directory. | |
# |