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 perl | |
use strict; | |
use warnings; | |
use 5.010_000; | |
use Data::Validator; | |
use Time::Piece; | |
say 'Perl: ', $^V; |
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 | |
require 'socket' | |
$stdout.sync = true | |
$stderr.sync = true | |
@lock = Mutex.new | |
def main |
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
<?xml version="1.0"?> | |
<!-- http://blog.glidenote.com/blog/2014/08/06/custom-keybind-for-slack/ --> | |
<root> | |
<appdef> | |
<appname>SLACK</appname> | |
<equal>com.tinyspeck.slackmacgap</equal> | |
</appdef> | |
<item> | |
<name>Slack keyboard shortcut like LimeChat</name> | |
<identifier>private.app_slack_like_limechat</identifier> |
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/lib/jvm/java-7-oracle/lib/sa-jdi.jar | |
/usr/lib/jvm/java-7-oracle/lib/ant-javafx.jar | |
/usr/lib/jvm/java-7-oracle/lib/dt.jar | |
/usr/lib/jvm/java-7-oracle/lib/javafx-doclet.jar | |
/usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-application.jar | |
/usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-modules-appui.jar | |
/usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-charts.jar | |
/usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-sampler.jar | |
/usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar | |
/usr/lib/jvm/java-7-oracle/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-uisupport.jar |
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
$ nghttp -v https://www.irori.org/tmp/t.html | |
[ 0.007] Connected | |
[ 0.022][NPN] server offers: | |
* h2 | |
* h2-16 | |
* h2-14 | |
The negotiated protocol: h2 | |
[ 0.032] send SETTINGS frame <length=12, flags=0x00, stream_id=0> | |
(niv=2) | |
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100] |
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
digraph autoconf_automake { | |
graph [ fontname = "Helvetica" fontsize = 12 ] | |
node [ fontname = "Helvetica" fontsize = 12 shape = "box" | |
style=filled fillcolor=palegreen | |
] | |
edge [ fontname = "Helvetica" fontsize = 12 ] | |
aclocal_m4 [label="aclocal.m4"] | |
config_h_in [label="config.h.in"] | |
config_h [label="config.h"] |
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
Certificate: | |
Data: | |
Version: 3 (0x2) | |
Serial Number: 461577169628599721 (0x667d9fd802495a9) | |
Signature Algorithm: sha1WithRSAEncryption | |
Issuer: C=US, O=Google Inc, CN=Google Internet Authority G2 | |
Validity | |
Not Before: Jan 29 12:40:34 2015 GMT | |
Not After : Apr 29 00:00:00 2015 GMT | |
Subject: C=US, ST=California, L=Mountain View, O=Google Inc, CN=*.google |
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 | |
# -*- coding: utf-8 -*- | |
require 'ffi_yajl' | |
hash = FFI_Yajl::Parser.new.parse('{"foo": "あ"}') | |
puts hash['foo'] | |
hash = FFI_Yajl::Parser.new.parse('{"foo": "\あ"}') | |
puts hash['foo'] |
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
$ ./delete-opned-file.pl | |
total 0K | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 0 -> /dev/pts/25 | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 1 -> /dev/pts/25 | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 2 -> /dev/pts/25 | |
l-wx------ 1 hirose31 hirose31 64 Sep 17 14:28 3 -> /tmp/delete-me (deleted) | |
lr-x------ 1 hirose31 hirose31 64 Sep 17 14:28 4 -> /dev/null | |
lr-x------ 1 hirose31 hirose31 64 Sep 17 14:28 5 -> pipe:[274400143] | |
lrwx------ 1 hirose31 hirose31 64 Sep 17 14:28 6 -> socket:[274170042] | |
/proc/27762/fd/3 |
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
move to https://rubygems.org/gems/chef-provider-service-daemontools |