cat /proc/sys/net/bridge/bridge-nf-call-iptables
sysctl vm.swappiness=0
swapoff -a
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'yaml' | |
# UNSET Proxy | |
ENV['http_proxy'] = '' | |
ENV['https_proxy'] = '' |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: tf-wide-deep-census-pod | |
spec: | |
containers: | |
- image: <insert-image> | |
command: ["/bin/sh"] | |
args: ["-c", "/usr/bin/time python ./wide_deep.py --model_type=wide_deep --train_epochs=500 --epochs_between_eval=500 --batch_size=32561"] | |
name: tf-wide-deep-census |
FROM centos:centos6 | |
MAINTAINER linaction | |
RUN /bin/cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime | |
RUN yum -y install httpd php php-mysql mysql-server tar wget php-gd | |
WORKDIR /tmp/ | |
RUN wget https://ja.wordpress.org/latest-ja.tar.gz | |
RUN tar xvfz ./latest-ja.tar.gz | |
RUN rm -f ./latest-ja.tar.gz | |
RUN cp -rpf wordpress/* /var/www/html/ | |
RUN cp /var/www/html/wp-config-sample.php /var/www/html/wp-config.php |
# This file is a template, and might need editing before it works on your project. | |
# Official docker image. | |
image: docker:latest | |
services: | |
- docker:dind | |
stages: | |
- build |
RTR3InitEx failed with rc=-1912 (rc=-1912) | |
The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing | |
'/sbin/vboxconfig' | |
may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox. | |
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. |
sudo gitlab-ctl hup unicorn | |
sudo gitlab-ctl hup sidekiq |
#!/bin/env perl | |
# pachi | |
# | |
# This script find out process currently swapped by /proc/$PID/status | |
use strict; | |
use warnings; | |
# When you want to debug, you should exec "export SCRIPT_DEBUG=1". | |
my $debug = $ENV{SCRIPT_DEBUG} ? 1 : 0; | |