- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use IO::Socket::INET; | |
| use Getopt::Long; | |
| my $port = 7003; | |
| my $host = '127.0.0.1'; | |
| my $timeout = 10; |
| <?php | |
| /** | |
| * UUID class | |
| * | |
| * The following class generates VALID RFC 4122 COMPLIANT | |
| * Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
| * | |
| * UUIDs generated validates using OSSP UUID Tool, and output | |
| * for named-based UUIDs are exactly the same. This is a pure | |
| * PHP implementation. |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/hex" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" |
| package main | |
| import ( | |
| "bytes" | |
| "exec" | |
| "log" | |
| "os" | |
| ) | |
| // Pipeline strings together the given exec.Cmd commands in a similar fashion |
| - hosts: localhost | |
| connection: local | |
| vars: | |
| role: common | |
| tasks: | |
| - name: create directories for ansible files. | |
| file: path={{ item }} state=directory | |
| with_items: | |
| - group_vars | |
| - host_vars |
| --- | |
| # This playbook deploys the AWX application (database, web and worker) to a | |
| # single server. | |
| - hosts: all | |
| tasks: | |
| - name: group hosts by distribution | |
| group_by: key="{{ ansible_distribution }}-{{ ansible_distribution_version }}" | |
| - hosts: RHEL-6*:CentOS-6*:SL-6* |
| 日時: | 2025-05-13 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.3 |
| URL: | https://shiguredo.jp/ |
言語
| --- | |
| - hosts: all | |
| gather_facts: no | |
| sudo: no | |
| tasks: | |
| - name: run ssh-keyscan to add keys to known_hosts | |
| local_action: shell ssh-keyscan {{ ansible_ssh_host }} >> ~/.ssh/known_hosts |
| # This is what I have so far. The Go 1.2 installation doesn't seem to be correct so it's still breaking. | |
| rm -rf /usr/local/go/src/pkg/appengine | |
| rm -rf /usr/local/go/src/pkg/appengine_internal | |
| rm /usr/local/go/src/pkg/os/error_posix.go | |
| wget -O golang-crosscompile-master.zip https://github.com/davecheney/golang-crosscompile/archive/master.zip | |
| unzip golang-crosscompile-master.zip | |
| source golang-crosscompile-master/crosscompile.bash | |
| go-crosscompile-build darwin/amd64 |