Skip to content

Instantly share code, notes, and snippets.

View shogo82148's full-sized avatar
🏠
Working from home

ICHINOSE Shogo shogo82148

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
8816943275038332655539391003781173589712073545090660410671563764124226306947568414417259903477232831088375097399597768741641186106798957685533486472399520506079844922872135806124407652553947877500043953475017015497457628341029584810238352553521922001801984985521368228935442123373194104843685193736508609493602871131747101857143206470819983730614862878257124301338862520617391027430764695418172448981500830593725972817584347196930450501601062420511524139611706375859581853972235578132879151283280188390576132099383890565829665055240913834318355222765774891177966975003109329409338674423161934835120255151308427150097668052460299803048486048403202837881227404218937078614698622508383318025612408295292909170788443657204950258082123770056006503434172356329958086453317888189489081714858172517220127620179692376318258610620732850005640787647953566591967819045075816046329387883686479641978056945882551643497172451966966844890200336467664985643635857298544158284931783349632302774755550728620334625482940875281953177151254853423
http://ajaxime.chasen.org/
http://akiym.hateblo.jp/entry/2013/05/22/122438
http://alpha.mixi.co.jp/entry/2012/10814/
http://alumi.hateblo.jp/entry/2012/03/22/163845
http://amacbee.hatenablog.com/entry/2016/02/28/210544
http://amath.colorado.edu/documentation/LaTeX/prosper/
http://ameblo.jp/mofu-mofu-alpaca/entry-10868656211.html
http://andante.in/i/android%E3%82%A2%E3%83%97%E3%83%AAtips/twitter4j%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6oauth%E8%AA%8D%E8%A8%BC%E3%82%92%E3%82%A2%E3%83%97%E3%83%AA%E5%86%85%E3%81%A7%E8%A1%8C%E3%81%86%E6%96%B9%E6%B3%95/
http://aokcub.hateblo.jp/entry/2012/07/29/215011
http://askubuntu.com/questions/116020/python-https-requests-urllib2-to-some-sites-fail-on-ubuntu-12-04-without-proxy
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
<!ENTITY nbsp "&#160;">
<!ENTITY zwsp "&#8203;">
<!ENTITY nbhy "&#8209;">
<!ENTITY wj "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.39 (Ruby 3.2.2) -->
<?rfc tocindent="yes"?>
/Users/shogo/src/github.com/reviewdog/reviewdog/README.md
194:44 error "in many cases" is wordy or unneeded textlint-rule-write-good
194:47 error "many" is a weasel word and can weaken meaning textlint-rule-write-good
247:61 error "especially" can weaken meaning
@shogo82148
shogo82148 / event.json
Created August 4, 2021 14:27
The event.json for creating pull request
{
"action": "opened",
"number": 15,
"pull_request": {
"_links": {
"comments": {
"href": "https://api.github.com/repos/shogo82148/github-action-test/issues/15/comments"
},
"commits": {
"href": "https://api.github.com/repos/shogo82148/github-action-test/pulls/15/commits"
This file has been truncated, but you can view the full file.
2020-05-05T17:30:15.519000+00:00 2020/05/05/[$LATEST]598cbdfd46c64bcfa7882b9e8b6ba28c START RequestId: 701c4c72-89bc-47da-9518-20894ea81152 Version: $LATEST
2020-05-05T17:30:20.396000+00:00 2020/05/05/[$LATEST]598cbdfd46c64bcfa7882b9e8b6ba28c [DEBUG] 2020-05-05T17:30:20.396Z 701c4c72-89bc-47da-9518-20894ea81152 certbot version: 1.3.0
2020-05-05T17:30:20.396000+00:00 2020/05/05/[$LATEST]598cbdfd46c64bcfa7882b9e8b6ba28c [DEBUG] 2020-05-05T17:30:20.396Z 701c4c72-89bc-47da-9518-20894ea81152 Arguments: ['renew', '--noninteractive', '--agree-tos', '--email', '[email protected]', '--dns-route53', '--config-dir', '/tmp/tmpeh3937l6/config-dir/', '--work-dir', '/tmp/tmpeh3937l6/word-dir/', '--logs-dir', '/tmp/tmpeh3937l6/logs-dir/', '--quiet']
2020-05-05T17:30:20.396000+00:00 2020/05/05/[$LATEST]598cbdfd46c64bcfa7882b9e8b6ba28c [DEBUG] 2020-05-05T17:30:20.396Z 701c4c72-89bc-47da-9518-20894ea81152 Discovered plugins: PluginsRegistry(PluginEntryPoint#certbot-route53:auth,PluginEntryPoint#dns-route53,PluginEntryPoint#m
@shogo82148
shogo82148 / null.go
Created April 15, 2020 06:20
snippet for handling pointers to built-in types
package null
import "time"
func stringPtr(v string) *string {
return &v
}
func stringValue(v *string) string {
if v == nil {
diff --git a/xray/sql_context.go b/xray/sql_context.go
index 1148866..6ff2160 100644
--- a/xray/sql_context.go
+++ b/xray/sql_context.go
@@ -102,7 +102,7 @@ type driverConn struct {
}
func (conn *driverConn) Ping(ctx context.Context) error {
- return Capture(ctx, conn.attr.dbname, func(ctx context.Context) error {
+ return Capture(ctx, "ping", func(ctx context.Context) error {
@echo off
:ARGPARSE
if "%~1" == "--cxx" (
echo cl.exe
) else if "%~1" == "--cc" (
echo cl.exe
) else if "%~1" == "--prefix" (
rem TODO
) else if "%~1" == "--exec-prefix" (
2020-01-14T19:53:34+09:00 [DEBUG] Beginning segment named Test
2020-01-14T19:53:34+09:00 [DEBUG] Beginning subsegment named lambda
2020-01-14T19:53:34+09:00 [DEBUG] Beginning subsegment named marshal
2020-01-14T19:53:34+09:00 [DEBUG] Closing subsegment named marshal
2020-01-14T19:53:34+09:00 [DEBUG] Beginning subsegment named attempt
2020-01-14T19:53:34+09:00 [DEBUG] Beginning subsegment named connect
2020-01-14T19:53:34+09:00 [DEBUG] Beginning subsegment named dns
2020-01-14T19:53:34+09:00 [DEBUG] Closing subsegment named dns
2020-01-14T19:53:34+09:00 [DEBUG] Closing subsegment named connect
2020-01-14T19:53:34+09:00 [DEBUG] Closing subsegment named attempt