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
# files generated by pfn/android-sdk-plugin | |
# | |
# From http://www.scala-sbt.org/release/docs/Getting-Started/Directories.html#configuring-version-control | |
target/ |
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
[Unit] | |
After=docker.service | |
[Service] | |
WorkingDirectory=/var/lib/drone | |
Environment="DRONED_OPTS=--port=:80" | |
EnvironmentFile=/etc/default/drone | |
ExecStart=/bin/sh -c "exec droned $DRONED_OPTS" | |
ExecStop=/bin/kill $MAINPID | |
Restart=on-failure |
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
# https://github.com/dotcloud/docker/blob/master/contrib/init/systemd/docker.service | |
[Unit] | |
Description=Docker Application Container Engine | |
Documentation=http://docs.docker.com | |
After=network.target | |
[Service] | |
ExecStart=/bin/sh -c 'exec docker -d' | |
ExecStop=/bin/kill $MAINPID |
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 | |
ARCH=$(dpkg --print-architecture) | |
for pkg_spec; do | |
pkg_name=${pkg_spec%%:*} | |
pkg_arch=${pkg_spec##*:} | |
if [ "$pkg_name" = "$pkg_arch" ]; then | |
# no pkg_arch | |
if dpkg -l ${pkg_name}:all >/dev/null 2>&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
# https://github.com/ZacharyDuBois/DigitalOcean-Speed-Test-CLI | |
curl -sSL https://i.destroy.tokyo/dostcli | env -u http_proxy -u https_proxy bash -s - 10mb |
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
[Service] | |
EnvironmentFile=-/etc/default/docker | |
# To modify the ExecStart configuration, specify an empty configuration followed by a new configuration | |
# | |
# See: | |
# - systemd.service(5) | |
# - http://docs.docker.com/engine/articles/systemd/#custom-docker-daemon-options | |
ExecStart= | |
ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_OPTS |
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 | |
prefix="$(dirname $0)/.." | |
sharedir="$prefix/share/sshproxy" | |
key="$sharedir/sshproxy-key" | |
exec env AUTOSSH_GATETIME=0 autossh -D 9898 -N -i "$key" -l sshproxy "$@" |
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) 2016, ZHANG Weiyi <dochang@gmail.com> | |
# | |
# This file is NOT part of Ansible | |
from __future__ import (absolute_import, division, print_function) | |
__metaclass_ = type | |
import subprocess | |
from ansible.errors import AnsibleError | |
from ansible.plugins.lookup import LookupBase |
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/python | |
# -*- coding: utf-8 -*- | |
# (c) 2015, ZHANG Weiyi <dochang@gmail.com> | |
# | |
# This module is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
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/python | |
# -*- coding: utf-8 -*- | |
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> | |
# | |
# This file is part of Ansible | |
# | |
# Ansible is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
OlderNewer