This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
RUN \ | |
apt-get update \ | |
&& apt-get -y install gettext-base \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
ENV VALUE=foo | |
ENV VALUE1=boo | |
COPY config.txt source_config.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a | |
my ~/.vimrc for preserving global defaults and only changing one option: | |
source $VIMRUNTIME/defaults.vim | |
set mouse-=a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TF=`mktemp` && wget "https://hndl.urbackup.org/Client/2.0.36/UrBackup%20Client%20Linux%202.0.36.sh" -O $TF && sh $TF; rm $TF | |
urbackupclientctl add-backupdir -x -f -d /home | |
urbackupclientctl add-backupdir -x -f -d /root | |
urbackupclientctl add-backupdir -x -f -d /etc | |
urbackupclientctl add-backupdir -x -f -d /var | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.github.com/repos/atom/atom/stargazers -H 'Accept: application/vnd.github.v3.star+json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
require 'mysql2' | |
DB_NAME = 'bench_mroonga' | |
DB_USERNAME = 'username' | |
DB_USERPASS = 'password' | |
TABLE_NAME = 'benches' | |
insert_cols = ['none', 'mysql', 'mroonga'].join(', ') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
JAVA_HOME=${1-text} | |
[ $# -eq 0 ] && { echo "Usage: sudo $0 \$(/usr/libexec/java_home -v '1.8*')" ; exit 1; } | |
KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts | |
wget https://letsencrypt.org/certs/letsencryptauthorityx1.der | |
wget https://letsencrypt.org/certs/letsencryptauthorityx2.der |
Please visit https://asistencia.in/blogs/1-mysql-5-5-installation-guide
Thank you
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/gitlab/gitlab.rb | |
gitlab_rails['gitlab_email_from'] = "support@owndomain.at" | |
gitlab_rails['smtp_enable'] = true | |
gitlab_rails['smtp_address'] = "smtp.gmail.com" | |
gitlab_rails['smtp_port'] = 587 | |
gitlab_rails['smtp_user_name'] = "account@owndomain.at" | |
gitlab_rails['smtp_password'] = "NicePassword" | |
gitlab_rails['smtp_domain'] = "owndomain.at" | |
gitlab_rails['smtp_authentication'] = :plain |