This file contains hidden or 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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>Emacs</appname> | |
<equal>org.gnu.Emacs</equal> | |
</appdef> | |
<appdef> | |
<appname>Terminal</appname> | |
<equal>com.apple.Terminal</equal> | |
</appdef> |
This file contains hidden or 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
# nsd のディレクトリに移動 | |
cd /etc/nsd3 | |
# 鍵のディレクトリを作成 | |
mkdir keys | |
# KSK を作成 | |
ldns -k -a RSASHA256 -b 2048 hoge.com | |
# ZSK を作成 |
This file contains hidden or 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 | |
ROOT=$GOPATH/src/github.com/hironobu-s/conoha-ojs | |
OS=("linux" "darwin" "windows") | |
ARCH=("386" "amd64" "386") | |
cd $ROOT | |
rm -fr $ROOT/release/build/* |
This file contains hidden or 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 | |
NAME="ここに仮想マシン名を書く" | |
RAM=4096 | |
DISKPATH=[ディスクイメージのパスを書く] | |
ISOPATH=[ISOイメージのパスを書く」 | |
VCPUS=4 | |
virt-install \ | |
--connect qemu:///system \ |
This file contains hidden or 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
# swift post testcontainer | |
# swift list | |
testcontainer | |
# swift post -m "Temp-Url-Key:testkey" | |
# swift stat | |
Account: nc_********************************* | |
Containers: 1 | |
Objects: 0 | |
Bytes: 0 | |
Containers in policy "policy-0": 1 |
This file contains hidden or 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
+--------------------------------------+---------+------+----------+----------------+ | |
| ID | Name | vCPU | RAM (Mo) | Disk size (Go) | | |
+--------------------------------------+---------+------+----------+----------------+ | |
| 294639c7-72ba-43a5-8ff2-513c8995b869 | g-2gb | 3 | 2048 | 50 | | |
| 3aa001cd-95b6-46c9-a91e-e62d6f7f06a3 | g-16gb | 8 | 16384 | 50 | | |
| 62e8fb4b-6a26-46cd-be13-e5bbf5614d15 | g-4gb | 4 | 4096 | 50 | | |
| 7eea7469-0d85-4f82-8050-6ae742394681 | g-1gb | 2 | 1024 | 50 | | |
| 965affd4-d9e8-4ffb-b9a9-624d63e2d83f | g-8gb | 6 | 8192 | 50 | | |
| a20905c6-3733-46c4-81cc-458c7dca1bae | g-32gb | 12 | 32768 | 50 | | |
| c2a97b05-1b4b-4038-bbcb-343201659279 | g-64gb | 24 | 65536 | 50 | |
This file contains hidden or 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
+--------------------------------------+--------------------------------------------+------------+-----------+--------------+---------------+ | |
| ID | Name | Visibility | Size (Mo) | Min RAM (Go) | Min Disk (Go) | | |
+--------------------------------------+--------------------------------------------+------------+-----------+--------------+---------------+ | |
| b2e06d42-4c68-4792-87c4-e6faff3c5c0c | vmi-drupal-8.4.2-centos-7.4-amd64-20gb | public | 2534 | 0 | 20 | | |
| ae172d73-d16c-42b7-bc32-41b40ca40e63 | vmi-drupal-8.4.2-centos-7.4-amd64 | public | 2534 | 0 | 50 | | |
| 9b70032f-c486-4fd9-9e00-e7899d336406 | vmi-minecraft-1.12.2-centos-7.4 | public | 2207 | 0 | 50 | [50/732] | |
| 95450a81-8194-4ff2-aab6-4f2595da56bb | vmi-centos-7.4-amd64-20gb | public | 1739 |
This file contains hidden or 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
<?php | |
use OpenCloud\OpenStack; | |
use OpenCloud\Networking\Resource\NetworkInterface;; | |
use Guzzle\Http\Exception\ClientErrorResponseException; | |
use Guzzle\Http\Exception\BadResponseException; | |
use OpenCloud\Compute\Resource\Server; | |
require_once __DIR__ . '/vendor/autoload.php'; |
This file contains hidden or 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
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"os/signal" | |
"syscall" |
This file contains hidden or 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
echo 'Acquire::http::Proxy "http://172.16.0.1:3142/";' > /etc/apt/apt.conf.d/02-apt-proxy |
OlderNewer