Install the OpenSSL on Debian based systems
sudo apt-get install openssl
#!/bin/sh | |
head -c 32 /dev/urandom | openssl enc | xxd -p -c 32 |
#!/bin/sh | |
openssl passwd -1 -salt sXiKzkud password |
#!/bin/sh | |
echo -n "message to sign" | openssl dgst -sha256 -hmac "`cat key.bin`" -binary | base64 |
$ cat <<EOF > print.sh
#!/bin/bash
echo \$PWD
echo $PWD
EOF
package main | |
import ( | |
"fmt" | |
"github.com/jinzhu/gorm" | |
_ "github.com/jinzhu/gorm/dialects/postgres" | |
) | |
// Customer ... | |
type Customer struct { |
(assuming project is hosted on GitLab)
.gitlab-ci.yml
with the following content:image: node:6.9.1
pages:
artifacts:
paths:
Ripped off from adrianshort.org
$ git remote -v
origin https://github.com/hakimel/reveal.js.git (fetch)
origin https://github.com/hakimel/reveal.js.git (push)