User contributions for Admin
Jump to navigation
Jump to search
25 February 2024
- 05:1905:19, 25 February 2024 diff hist 0 Csv-iteration No edit summary current
- 05:1105:11, 25 February 2024 diff hist −10 Csv-iteration No edit summary
- 05:1005:10, 25 February 2024 diff hist +439 N Csv-iteration Created page with " <pre> #!/bin/sh # process a comma-separated list of values ITEMLIST="apples,pears" ITEMCOUNT=1 STATUS=0 while true do ARGCNT="$" ARGCNT=$ARGCNT$ITEMCOUNT ITEMNAME=`echo $ITEMLIST | awk -F \, "{print $ARGCNT}"` if test -z "$ITEMNAME" then ITEMCOUNT=$((ITEMCOUNT - 1)) break else # item name found, do something with it echo "Item $ITEMCOUNT = $ITEMNAME" ITEMCOUNT=$((ITEMCOUNT + 1)) fi done </pre>"
- 05:1005:10, 25 February 2024 diff hist +87 N Bash-examples Created page with "Collection of somewhat useful scrips I found that do things in bash. csv-iteration" current
- 05:0905:09, 25 February 2024 diff hist +19 Linux info No edit summary
24 February 2024
- 07:1107:11, 24 February 2024 diff hist −35 What are the chances No edit summary current
- 07:1107:11, 24 February 2024 diff hist +35 What are the chances No edit summary
- 07:1107:11, 24 February 2024 diff hist 0 N File:What are the chances.jpg No edit summary current
- 07:0707:07, 24 February 2024 diff hist +33 N What are the chances Created page with "Infographic: What are the chances"
- 07:0607:06, 24 February 2024 diff hist +26 Oddities No edit summary current
13 February 2024
- 22:4722:47, 13 February 2024 diff hist +215 Setting global variables No edit summary current
- 22:4422:44, 13 February 2024 diff hist +205 N Setting global variables Created page with " ===Global User Name=== Get the current global user name: <pre> git config --global user.name "Mona Lisa" </pre> Set the current global user name: <pre> git config --global user.name "Mona Lisa" </pre>"
- 22:4322:43, 13 February 2024 diff hist +30 Git No edit summary current
9 February 2024
- 03:1303:13, 9 February 2024 diff hist +535 Branches No edit summary current
- 03:0403:04, 9 February 2024 diff hist +92 Branches No edit summary
- 03:0203:02, 9 February 2024 diff hist +176 Branches No edit summary
- 02:5802:58, 9 February 2024 diff hist −26 Branches No edit summary
- 02:5702:57, 9 February 2024 diff hist −2 Branches No edit summary
- 02:5702:57, 9 February 2024 diff hist +666 Branches No edit summary
- 02:4702:47, 9 February 2024 diff hist +275 Branches No edit summary
- 02:4002:40, 9 February 2024 diff hist +306 Branches No edit summary
- 02:3402:34, 9 February 2024 diff hist +250 Branches No edit summary
- 02:1602:16, 9 February 2024 diff hist +159 Branches No edit summary
- 02:1302:13, 9 February 2024 diff hist +181 Branches No edit summary
- 02:0902:09, 9 February 2024 diff hist +2 Branches No edit summary
- 02:0902:09, 9 February 2024 diff hist +37 Branches No edit summary
- 02:0702:07, 9 February 2024 diff hist −12 Branches No edit summary
- 02:0302:03, 9 February 2024 diff hist +71 Branches No edit summary
- 02:0202:02, 9 February 2024 diff hist +190 Branches No edit summary
- 01:5701:57, 9 February 2024 diff hist +136 Branches No edit summary
- 01:5501:55, 9 February 2024 diff hist +30 Branches No edit summary
- 01:5401:54, 9 February 2024 diff hist +61 Branches No edit summary
- 01:5301:53, 9 February 2024 diff hist +54 Branches No edit summary
- 01:5101:51, 9 February 2024 diff hist +244 Branches No edit summary
- 01:4801:48, 9 February 2024 diff hist +65 Branches No edit summary
- 01:4701:47, 9 February 2024 diff hist +11 Branches No edit summary
- 01:4701:47, 9 February 2024 diff hist +33 Branches No edit summary
- 01:4501:45, 9 February 2024 diff hist +18 N Branches Created page with " Git branch model:"
- 01:4401:44, 9 February 2024 diff hist +14 Git No edit summary
- 01:4201:42, 9 February 2024 diff hist −31 Bash git-prompt No edit summary current
- 01:4201:42, 9 February 2024 diff hist −6 Bash git-prompt No edit summary
- 01:4201:42, 9 February 2024 diff hist +410 N Bash git-prompt Created page with " ---automatically change the prompt when you're in a git directory--- <pre> ---[~/.bashrc]--- # uncomment these 5 lines to automatically show a different PS1 prompt when you enter a git directory GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 GIT_PS1_SHOWCOLORHINTS=true PROMPT_COMMAND='__git_ps1 "\u@\h:\w" "\\\$ "' source /usr/lib/git-core/git-sh-prompt ---[]--- </pre>"
- 01:4001:40, 9 February 2024 diff hist +21 Git No edit summary
- 01:3601:36, 9 February 2024 diff hist +669 N Setting aliases Created page with " <pre> creating an alias will probably save you a lot of time typing in long commands to create an alias either create one from the commandline or edit ~/.gitconfig on the commandline: git config --global alias.hist 'log --graph --all --oneline' NOTE: omitting '--global' will only set this alias for this repository editing the config file: --- [alias] hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --all --oneline --date=short --- or..." current
- 01:3601:36, 9 February 2024 diff hist +21 Git No edit summary
- 01:3501:35, 9 February 2024 diff hist +1 Creating a git repository from an existing project No edit summary current
- 01:3501:35, 9 February 2024 diff hist −58 Creating a git repository from an existing project No edit summary
- 01:3401:34, 9 February 2024 diff hist +1,023 N Creating a git repository from an existing project Created page with " ===creating a git repository from an existing project=== Assuming a project in ~/myproject containing all sorts of files and directories <pre> In the below example we use a local project called 'myproject' and upload it to the git server. - if the existing local 'myproject' isn't initialised with git yet, then do so now: $ git init $ git add . $ git commit -m "initial commit" - clone 'myproject' from your local project into a new local di..."
- 01:3401:34, 9 February 2024 diff hist −968 Git Replaced content with " Creating a git repository from an existing project" Tag: Replaced
- 01:3401:34, 9 February 2024 diff hist +884 Git No edit summary