Advanced Search
Search Results
258 total results found
html + css: prevent zooming on iOS while tapping fast
Fast tapping on iOS device is like double click. To prevent zooming fill into css: :root { touch-action: pan-x pan-y; height: 100% } If it's not working on :root try html.Source: https://stackoverflow.com/a/60516252/13334678
shell: list all repo url of given repo folder list
#! /bin/sh set -eu filename="${HOME}/Downloads/repos.txt" while read line do printf "${line} || " && cd "${line}" && git config --get remote.origin.url && cd .. done < $filename
list all folders on current path
To list all folders in current folder: find $(pwd) -type d -d 1 or (faster): ls -d $(pwd)/*/
git: make alias to open github in browser
Make an alias hub for git: git config --global alias.hub '!f() { open "$(git ls-remote --get-url $(git config --get branch.$(git branch --show-current).remote) | sed '"'"'s|git@github.com:\(.*\)$|https://github.com/\1|'"'"' | sed '"'"'s|\.git$||'"'"')/"; }; f...
git: login with deploy key
Generate a new ssh key: ssh-keygen -t ed25519 -C "git@simpel.cc" Name it like "id_github_server". Adding your ssh key to the ssh-agent: eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_github_server Prepare ssh config: vim ~/.ssh/con...
git - error: src refspec main does not match any
I made a repo on github and did git init on folder. Then I git remote add origin REPO and git branch -M main. Then I tried git push -u origin main. Error says: error: src refspec main does not match any error: failed to push some refs to REPO None Co...
SSO für phpBB
Single Sign On für das phpBB-Forum mit OpenID Connect OAuth Server by DnC an der Azure AD: oa.dnc.global/web/-en-.html?page=unarticle&id_article=110&lang=en
Report Phishing and Malware
decentsecurity.com/#/malware-web-and-phishing-investigation orGotPhish.com
wget im NDR
wget hat verschiedene Problem, aus dem NDR raus zu kommen. Man kann aber curl entsprechend konfiguieren: curl --proxy http://ndrprx01.ndr-net.de:8080 --proxy-user USERNAME:PW -O https://simpel.cc/index.php
ffmpeg MXF aus- und einpacken
Nicks ProTools-Skript # Auspacken ffmpeg -i MXFfile \ -map 0:a:0 -c copy a1.wav \ -map 0:a:1 -c copy a2.wav \ -map 0:a:2 -c copy a3.wav \ -map 0:a:3 -c copy a4.wav \ -map 0:a:4 -c copy a5.wav \ -map 0:a:5 -c cop...
Nicks ProTools-Skripte
AppDelegate -- -- AppDelegate.applescript -- macNDR Tool -- -- Created by Jan- Niklas Würpel on 21.03.19. -- Copyright © 2019 Jan- Niklas Würpel. All rights reserved. -- script AppDelegate property parent : class "NSObject" -- IBOutlets pr...
MXF OP1a XDCAM HD mit ffmpeg
XDCAM HD im Container Material Exchange Format (MXF) OP1a mit dem Codec XDCAM HD 422 1080i25 könnte mit FFmpeg folgendermaßen realisiert werden: ffmpeg −i <inputFile> \ −pix_fmt yuv422p −vcodec mpeg2video −non_linear_quant 1 \ −flags ildct+ilme ...
css on iOS not reloading / developer mode
If developing a webpage css changes often not refreshed on iOS Safari at iPad/iPhone. The difficult way for inspecting specific webpage can be found here:apple.stackexchange.com/questions/74797/can-i-force-a-cache-refresh-in-safari-running-on-ios. tl;dr: ...
${var?} and &&: Two simple tips for shell commands in tech docs
tl;dr: Use error-if-unset ${placeholders?} and join commands with && to make it easier and safer to copy-paste shell commands from technical documentation. As typically placeholders in shell lines often are named PLACEHOLDER, $PLACEHOLDER or <PLACEHOLDER> thi...
Create exact size of an image
I want a picture with exactly 5 MB, what are 5.000.000 Bytes. truncate -s 5000000 size.png It fills the image with zeros up to the wanted size.
JavaScript: copy array without reference
A pure Clone of an array: var arrCopy = JSON.parse(JSON.stringify(arrOriginal)); Now you can change things in arrCopy without changing it in arrOriginal.
watch file modified: .gitconfig
Something is modifying my global .gitconfig /Users/cox/.dotfiles/.gitconfig. It deletes "name" and "email" values. To watch when it is happenig I let launchd watch modification of this file. I have a plist file for launchd with the arguments. This file is ~/...
NDR Gast-Zugang
Im Prodforum-Tagesschau findet sich eine Lösung für den ständigen Abbruch des Gastzugang-Problems: Prodforum - f=107&t=10502 NDR WLAN-Hotspot: Kein automatischer Login auf Iphone Ich habe das Thema heute mit Dienstleister zur Sprache gebracht, dass als Ipho...
guesslang: guess programming language
Guesslang detects the programming language of a given source code: echo ' package main import "fmt" func main() { fmt.Println("My mascot is a gopher and Google loves me. Who am I?") } ' | guesslang # ⟶ Programming language: Go Guessl...
pandoc: terminal converter docx markdown
Example: pandoc -o output.md input.docx Or use it online: https://pandoc.org/try Manual (https://pandoc.org/index.html):If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert between the...