Programmargumente können entweder auf der Kommandozeile übergeben werden:
gdb --args ./prog arg1 arg2 arg3
oder als Teil des gdb-Befehls run
:
gdb ./prog
#!/usr/bin/env zsh | |
# _ _ | |
# (_)_ __ (_) ___ | |
# | \ \/ / | |/ _ \ | |
# | |> < _| | (_) | | |
# |_/_/\_(_)_|\___/ | |
# h@h-lo.me 20190927 144132 -0700 PDT 1569620492 d(-_- )b... | |
# Zsh implementation of the ix.io pastebin client. Now does more shit | |
# than the bash version ftw! | |
# |
#!/bin/sh | |
# | |
# This scripts checks the given list of packages if they have | |
# reverse dependencies (i.e. there are packages which depends on them). | |
# Dependencies that are on the list are excluded. | |
# | |
# Usage: $0 LIST | |
set -eu | |
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" |
.gem | |
.npm | |
cgi-bin | |
fcgi-bin | |
html | |
lib | |
man | |
share | |
tmp | |
**/node_modules |
surround.vim | |
= 20160519 = | |
:global /{pattern}/ [cmd] führt ex-Kommando cmd für alle Zeilen, die pattern erfüllen, aus | |
:vglobal ... die pattern nicht erfüllen ... | |
qaq löscht Register a | |
:g/pattern/yank A in Register a anhängen | |
"ap inhalt Register a einfügen | |
:g/pattern/[range] sort sortiert Bereich range |
#!/bin/bash | |
############################################################## | |
### RCLONE SYNC SCRIPT | |
############################################################## | |
### crontab -e every 4 hours: | |
# 0 */4 * * * root /root/scrpts/rclone_sync.sh >/dev/null 2>&1 | |
### Useful rclone commands: | |
# rclone config show |
#!/bin/sh | |
#Megasaturnv 2017-07-28 | |
#Url of the RSS feed | |
RSS_URL="" | |
##Commented version: | |
#Download the rss feed | |
curl --silent "$RSS_URL" | \ | |
#Only match lines with 'title>' or 'description>' |
https://archive.org/download/78_.-tam-za-vahom-2.-horicka-zelena_andrej-gellert_gbia0001742a/!.%20Tam%20Za%20Vahom;%202.%20Horicka%20Zelena%20-%20Andrej%20Gellert.mp3 | |
https://archive.org/download/78_1-a-dew-drop-2-rain-song_elizabeth-wheeler-sherman-gilchrist-smith_gbia0013545a/(1)%20A%20Dew%20Drop;%20(2)%20Rain%20Song%20-%20Elizabeth%20Wheeler.mp3 | |
https://archive.org/download/78_...must-suffer-for-the-one-mistake-i-made_peppermint-harris_gbia0001396b/...Must%20Suffer%20(For%20The%20One%20Mistake%20I%20Made)%20-%20Peppermint%20Harris.mp3 | |
https://archive.org/download/78_-and-mimi_art-lund-kennedy-simon-johnny-thompson_gbia0012786b/-And%20Mimi%20-%20Art%20Lund%20-%20Kennedy%20-%20Simon%20-%20Johnny%20Thompson.mp3 | |
https://archive.org/download/78_-tramp-along-the-highway_nelson-eddy-nathaniel-shilkret-and-orchestra-rida-johnson_gbia0011035b/…%20Tramp%20Along%20the%20Highway%20-%20Nelson%20Eddy%20-%20Nathaniel%20Shilkret%20and%20Orchestra.mp3 | |
https://archive.org/download/78_--and-mimi_frankie-carle-and-his-orchest |