Advanced Search
Search Results
255 total results found
shell: get version automatically
Try something like here:cd34.com/blog/programming/using-git-to-generate-an-automatic-version-number #!/bin/sh revisioncount="$(git log --oneline | wc -l | tr -d ' ')" projectversion="$(git describe --tags --long)" cleanversion=${projectversion%%-*} e...
git fetch / pull remote branch
If you don't created that branch but want to follow and fetch: git checkout --track origin/birtes_branch Shortcut: If the branch name you’re trying to checkout locally doesn’t exist and exactly matches a name on only one remote, git will create a tra...
Xcode error: libc++abi.dylib: terminating with uncaught exception of type NSException
While compile up from iOS 13 this fatal error may occur:libc++abi.dylib: terminating with uncaught exception of type NSExceptionIt's probably due to Selector(("statusBar")) in ViewController.swift as this is not allowed in iOS13 anymore.So try comment: if...
Disassembler
error4hack.com/best-ida-pro-alternativesGhidraGhidra is probably one of the best alternatives to IDA Pro. It is COMPLETELY FREE of cost and open source Software Reversing Engineering(SRE) tool developed by the NSA. Ghidra is a very powerful tool written in Jav...
git: flight rules or how to
This is a cook book for git use cases:github.com/k88hudson/git-flight-rules#i-want-to-start-a-local-repository
Parsing command-line arguments in shell
shellscript.sh/tips/getopts
Bash pitfalls; fails, mistakes
mywiki.wooledge.org/BashPitfallsTags: Shell, Terminal
Name in formulas
What not to assume regarding names:shinesolutions.com/2018/01/08/falsehoods-programmers-believe-about-names-with-examples
pipe stdout stderr redirect
|| visible in terminal || visible in file || existing Syntax || StdOut | StdErr || StdOut | StdErr || file ==========++==========+==========++==========+==========++=========== > || no | yes || yes | no ...
PHP: array beautifier online
phillihp.com/toolz/php-array-beautifier Excel to php array (not working very good)t.yctin.com/en/excel/to-php-array
find all files containing specific text / pattern
List the files containing pattern grep -ril ['PATH'] -e 'PATTERN' in current path: grep -ril ./ -e 'PATTERN' count them only: grep -ril ./ -e 'PATTERN' | wc -l where -r recursive lazy - read all files under each directory, recursively, following sym...
Markdown: keep whitespaces
If you want to preserve more then one whitespace in markdown you have to use non-breaking whitespaces.With OS X you create them with Alt/Opt + SpaceBe aware that Atom "Markdown Preview" ignores them. But in GitHub they will be shown.It works at https://simpel....
ARD-ZDF-Box: sync problem
Error messageDie heruntergeladene Datei ist leer, obwohl der Server (2 B) als Größe übermitteltSolutionIf the file is empty, e.g. an md, then there is a missmatch, because of the BOM. Write a letter into the file.
ssh connecting error: key differs
Message like this: Warning: the ED25519 host key for 'simpel.cc' differs from the key for the IP address '188.40.103.217' Offending key for IP in /Users/cox/.ssh/known_hosts:8 Matching host key in /Users/cox/.ssh/known_hosts:45 Are you sure you want to...
HTML create integrity hash for js javascript
Generate SRI hash with shell command cat FILENAME.js | openssl dgst -sha512 -binary | openssl base64 -A Generate SRI with PHP <?php $data = file_get_contents("https://URLtoJS.js"); echo base64_encode(hash("sha256", $data, true)); ?> Onl...
git: testing pull/merge requests
Before merge it seams to be a good idea to test it locally. So fetch first: git fetch origin pull/ID/head:NEWBRANCH None Copy Where ID is the number of the pull/merge request, e.g. 4 at: "ANSI interpretation usually requires echo -e #4"Then che...
Jitsi: activate record audio
https://community.jitsi.org/t/local-recording/14638https://github.com/jitsi/jitsi-meet/pull/3223https://github.com/ztl8702/jitsi-meet/issueshttps://blog.radiumz.org/en/article/loc ... jitsi-meetTo enable this feature add these lines to config.js: localRec...
terminal: count all files - including in sub folders
find DIR_NAME -type f | wc -l Explanation: -type f to include only files. | redirects find command's standard output to wc command's standard input. wc (short for word count) counts newlines, words and bytes on its input (docs). -l t...
Xcode: Update device support files wo update xcode
Currently I can't update Xcode because it needs a newer OS X version, I don't want to install.To work with newer iOS versions on iPad or iPhone you need new device support files. First have a look here:github.com/filsv/iPhoneOSDeviceSupport Download version...
wget website
Whole page: wget --mirror --convert-links --adjust-extension --page-requisites -e robots=off $WEBSITE wget \ --recursive \ --no-clobber \ --page-requisites \ --html-extension \ --convert-links \ --restrict-file-names=windo...