I hereby claim:
- I am andmarios on github.
- I am andmarios (https://keybase.io/andmarios) on keybase.
- I have a public key whose fingerprint is 40D8 9BF3 3051 995B CA92 3BAC 4409 4792 7D87 B5DB
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| help() { | |
| cat <<EOF | |
| Options: | |
| - cc-disable | |
| Disable charging control | |
| - cc-home | |
| Charging control to Home mode (40%-70%) | |
| - cc-work |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Marios Andreopoulos, 2015 | |
| # A very simple bash script that goes into a git directory, counts lines of code | |
| # for a certain language and each commit and creates a plot. | |
| # $1 is path to git repository, $2 is language name as supported by cloc (e.g Go, Bourne Shell) | |
| # bash linesPerCommitPlot.sh my-repo Go | |
| # NEVER run it in your work directory. Make a temporary clone and use it there. |
| #!/usr/bin/env bash | |
| docker ps | while read DLINE | |
| do | |
| CONTAINER="$(echo $DLINE | grep -Eo "^[a-f0-9]{12,12}")" | |
| [[ ! -z "$CONTAINER" ]] && CIP="$(docker inspect $CONTAINER | grep IPAd | cut -d \" -f 4)" | |
| echo "$DLINE" | sed -e "s/[a-f0-9]\{12,12\}/$CIP/" | |
| done |
| #!/sbin/runscript | |
| # GitLab 5.2 and 5.3 init script for Gentoo Linux | |
| # see https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md | |
| GITLAB_BASE=/home/git/gitlab | |
| GITLAB_USER=git | |
| depend() { | |
| need net redis | |
| } |
| #!/sbin/runscript | |
| # GitLab 4.1 init script for Gentoo Linux | |
| # see https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md | |
| GITLAB_BASE=/home/gitlab/gitlab | |
| GITLAB_USER=gitlab | |
| depend() { | |
| need net redis | |
| } |
| #!/sbin/runscript | |
| # Gollum init script for Gentoo Linux | |
| GOLLUM_BASE=/home/wiki/OurWiki | |
| GOLLUM_USER=wiki | |
| GOLLUM_USER_HOME=/home/wiki | |
| depend() { | |
| need net | |
| } |