I hereby claim:
- I am mullnerz on github.
- I am mullnerzoltan (https://keybase.io/mullnerzoltan) on keybase.
- I have a public key whose fingerprint is 05E9 48A2 D5D8 6710 E11B C1A7 1040 6E76 685A D017
To claim this, I am signing this object:
| local ret_status="%(?:%{$fg_bold[green]%}$:%{$fg_bold[red]%}$)" | |
| PROMPT=' | |
| %{$terminfo[bold]$fg[blue]%}# %{$reset_color%}\ | |
| %(#,%{$bg[yellow]%}%{$fg[black]%}%n%{$reset_color%},%{$terminfo[bold]$fg[blue]%}%n)\ | |
| %{$terminfo[bold]$fg[white]%}@\ | |
| %{$terminfo[bold]$fg[green]%}%m\ | |
| %{$terminfo[bold]$fg[white]%}:\ | |
| %{$terminfo[bold]$fg[yellow]%}%~%{$reset_color%} \ | |
| $(git_prompt_info) | |
| \ |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Get GitLab API URL from project URL | |
| GITLAB_API_URL="$(echo $CI_PROJECT_URL | cut -d'/' -f1,2,3)/api/v4" | |
| # Query running pipelines for the same branch, | |
| # process + filter them, | |
| # finally cancel them with another API call |
| #!/usr/bin/env bash | |
| set -ex | |
| sudo apt-get purge -y "open-vm-*" | |
| mkdir -p /tmp/install-vmware-tools && rm -rf /tmp/install-vmware-tools/* && cd /tmp/install-vmware-tools | |
| wget https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.6/2684343/packages/com.vmware.fusion.tools.linux.zip.tar | |
| tar -xvf com.vmware.fusion.tools.linux.zip.tar |
I hereby claim:
To claim this, I am signing this object:
| !/bin/bash | |
| #Delete all containers | |
| docker rm $(docker ps -a -q) | |
| #Delete all images | |
| docker rmi $(docker images -q) |
| #!/bin/bash | |
| # replication delay threshold | |
| TH_SECONDS_BEHIND=60 | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| SERVER=$(hostname -f) | |
| ERRORS=() |
| docker-machine rm default | |
| docker-machine create --driver virtualbox --virtualbox-disk-size "40960" --virtualbox-cpu-count "4" --virtualbox-memory "4096" default |
| # originated from: | |
| # https://perfp.wordpress.com/2010/08/25/mass-converting-video-files-using-powershell-and-handbrake/ | |
| $outdir = "C:\Temp\convert-avi" | |
| [Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath | |
| $files = Get-Childitem -Recurse -Include "*.avi" | |
| foreach ($file in $files) { | |
| $subpath = $file.DirectoryName.Replace((Get-Location -PSProvider FileSystem).ProviderPath , "") | |
| $destdir = $outdir + $subpath |
| curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
| php wp-cli.phar --info | |
| chmod +x wp-cli.phar | |
| sudo mv wp-cli.phar /usr/local/bin/wp | |
| wp --info | |
| wp core download | |
| #export DB_NAME=awesome ; export DB_USERNAME=awesome ; export DB_PASSWORD=123 |
| create database if not exists `${DB_NAME}`; | |
| grant all privileges on `${DB_NAME}`.* TO `${DB_USERNAME}`@`localhost` identified by '123'; | |
| grant all privileges on `${DB_NAME}`.* TO `${DB_USERNAME}`@`%` identified by '123'; | |
| mysql --force --user ${DB_USERNAME} --password ${DB_PASSWORD} ${DB_NAME} < ${DB_NAME}.sql |