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
version: '2' | |
services: | |
db-data: | |
image: busybox:latest | |
volumes: | |
- /var/lib/mysql | |
zabbix-db: | |
image: monitoringartist/zabbix-db-mariadb | |
environment: | |
- MARIADB_USER=zabbix |
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
# ==== Emojis ==== | |
# 🎨 :art: Improving structure / format of the code. | |
# ⚡️ :zap: Improving performance. | |
# 🔥 :fire: Removing code or files. | |
# 🐛 :bug: Fixing a bug. | |
# 🚑 :ambulance: Critical hotfix. | |
# ✨ :sparkles: Introducing new features. | |
# 📝 :memo: Writing docs. | |
# 🚀 :rocket: Deploying stuff. |
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/sh | |
set -e | |
if [ ! `which envchain` ]; then | |
echo 'envchain not found' | |
exit 1 | |
fi | |
if [ $# -ne 1 ]; then |
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
#!/usr/bin/env ruby | |
WORK_DIR = ENV['HOME']+'/tmp/latexit/' | |
FILE_NAME = 'tmp' | |
eq = `pbpaste`.strip | |
if eq.size > 100 | |
puts 'Number of characters should be less than 100' | |
exit 1 | |
end |
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
c=0;s=0;Array.prototype.forEach.call(document.querySelectorAll('.tableSet01 tr'),function(e,i){t=e.childNodes[6].innerText;if(isFinite(t)){s+=Number(t);c++}});alert(s/c); |
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
%% | |
%% IEEEtran.cls 2015/08/26 version V1.8b | |
%% | |
%% This is the IEEEtran LaTeX class for authors of the Institute of | |
%% Electrical and Electronics Engineers (IEEE) Transactions journals and | |
%% conferences. | |
%% | |
%% Support sites: | |
%% http://www.michaelshell.org/tex/ieeetran/ | |
%% http://www.ctan.org/pkg/ieeetran |
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
%%% | |
%% ieicej.cls (pLaTeX2e) | |
%% for the Transactions of the Institute of Electronics, Information | |
%% and Communication Engineers by ULS and Company, 1999-2015. | |
%% E-mail: [email protected], [email protected] | |
\NeedsTeXFormat{pLaTeX2e} | |
\ProvidesClass{ieicej} | |
%%[1999/04/28 v1.0 for Transactions of IEICE] | |
%%[1999/07/12 v1.0 new release for Transactions of IEICE] | |
%%[2000/11/02 v1.1 for Transactions of IEICE] |
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
# frozen_string_literal: true | |
# A sample Gemfile | |
source "https://rubygems.org" | |
gem "mechanize" |
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
#!/usr/bin/env bash | |
MACHINE=default | |
IMAGE=texlive2015 | |
if docker-machine ls | grep $MACHINE | grep -q "Runnning"; then | |
docker-machine start $MACHINE | |
fi | |
docker ps 2> /dev/null | |
if [ $? -ne 0 ]; then | |
eval $(docker-machine env $MACHINE) |