I hereby claim:
- I am shufo on github.
- I am shufo (https://keybase.io/shufo) on keybase.
- I have a public key ASAmcjzVKI98QJly5YwUYbJzq84QgyzSt5R0jwgGIG1hPwo
To claim this, I am signing this object:
| Currently there is no command to import gh alias easily, so this is workaround | |
| 1. Export the gh alias | |
| ```bash | |
| $ gh alias list > gh_aliases.txt | |
| ``` | |
| 2. create import script |
I hereby claim:
To claim this, I am signing this object:
| import json | |
| import boto3 | |
| from pymysqlreplication import BinLogStreamReader | |
| from pymysqlreplication.row_event import ( | |
| DeleteRowsEvent, | |
| UpdateRowsEvent, | |
| WriteRowsEvent, | |
| ) |
| /* | |
| This is the c configuration file for the keymap | |
| Copyright 2012 Jun Wako <wakojun@gmail.com> | |
| Copyright 2015 Jack Humbert | |
| This program 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 2 of the License, or | |
| (at your option) any later version. |
| defmodule LogViewer do | |
| use Application | |
| require Logger | |
| def start(_type, _args) do | |
| import Supervisor.Spec, warn: false | |
| children = | |
| [ |
| defmodule LogViewer.Server do | |
| def start_link() do | |
| dispatch = :cowboy_router.compile([ | |
| {:_, | |
| [ | |
| {'/websocket', LogViewer.WebSocketHandler, []}, | |
| {"/", :cowboy_static, {:priv_file, :log_viewer, "index.html"}}, | |
| {"/_nuxt/[...]", :cowboy_static, {:priv_dir, :log_viewer, "_nuxt"}}, | |
| {"/[...]", :cowboy_static, {:priv_file, :log_viewer, "index.html"}} | |
| ]} |
| defmodule MyApp.WebSocketHandlerCowboy2 do | |
| def init(req, state) do | |
| opts = %{idle_timeout: 60000} | |
| {:cowboy_websocket, req, state, opts} | |
| end | |
| def websocket_init(state) do | |
| {:ok, state} | |
| end |
| from __future__ import print_function | |
| import base64 | |
| import gzip | |
| import StringIO | |
| import json | |
| def lambda_handler(event, context): | |
| output = [] |
| '.platform-win32, .platform-linux': | |
| 'alt-f1': 'tree-view:reveal-active-file' | |
| '.platform-linux, .platform-linux .command-palette atom-text-editor': | |
| 'ctrl-shift-a': 'command-palette:toggle' | |
| '.platform-linux': | |
| 'ctrl-shift-n': 'fuzzy-finder:toggle-file-finder' | |
| '.platform-linux atom-text-editor': |
| <source> | |
| type tail | |
| path /usr/local/WowzaStreamingEngine/logs/wowzastreamingengine_access.log | |
| tag wowza | |
| format tsv | |
| keys date,time,tz,x-event,x-category,x-severity,x-status,x-ctx,x-comment,x-vhost,x-app,x-appinst,x-duration,s-ip,s-port,s-uri,c-ip,c-proto,c-referer,c-user-agent,client-id,cs-bytes,sc-bytes,x-stream-id,x-spos,cs-stream-bytes,sc-stream-bytes,x-sname,x-sname-query,x-file-name,x-file-ext,x-file-size,x-file-length,x-suri,x-suri-stem,x-suri-queri,cs-uri-stem,cs-uri-query | |
| pos_file /tmp/fluentd--1466642855.pos | |
| </source> |