【オンライン開催】いまだからこそスタートする、これからも活用できるリモートワークのイロハ - connpassでお話するのに使ったページのリンク集です。
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 sh | |
# | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See License.txt in the project root for license information. | |
if [ "$VSCODE_WSL_DEBUG_INFO" = true ]; then | |
set -x | |
fi | |
COMMIT=$(ls ~/.cursor-server/bin | grep -E '^[a-zA-Z0-9]{40}$') | |
APP_NAME="cursor" |
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
defmodule AttrAccessor do | |
defmacro __using__(opts) do | |
quote do | |
unquote(opts[:attrs]) | |
|> Enum.each(fn attr -> | |
Module.register_attribute(unquote(opts[:target]), attr, persist: true) | |
end) | |
def method_missing(func, _args) do | |
if value = __MODULE__.__info__(:attributes)[func] do |
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
// Amazonの注文履歴をCSV形式にして出力するスクリプト | |
// | |
// 以下のスクリプトを参考に作成されました。 | |
// http://moroya.hatenablog.jp/entry/2013/06/03/225935 | |
// | |
// CSVに成型しているのは14行目から定義されているformatEntryという関数なので、これを書き換えれば自由な書式で出力できます。 | |
(function(){ | |
// 各注文履歴をCSVフォーマットにして返す | |
var datePattern = new RegExp("(\\d{4})年(\\d{1,2})月(\\d{1,2})日"); |
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
cf = ChangeFinder.new(5, 0.01, 10, 0.01, 5) | |
File.open('result.tsv', 'w') do |f| | |
File.open('go.tsv').each do |line| | |
date, trend = line.chomp.split("\t") | |
score = cf.score(trend.to_f) | |
f.puts("#{date}\t#{trend}\t#{score}") | |
end | |
end |
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
--- | |
service: minne | |
enable: | |
- h2 | |
- mruby | |
mrbgems: | |
- mruby-foo | |
- mruby-bar |
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"?> | |
<root> | |
<list> | |
<item> | |
<name>LeaveInsMode with EISUU(Terminal)</name> | |
<identifier>private.app_terminal_esc_with_eisuu</identifier> | |
<only>TERMINAL</only> | |
<autogen>--KeyToKey-- KeyCode::BRACKET_LEFT, VK_CONTROL, KeyCode::JIS_EISUU, KeyCode::BRACKET_LEFT, VK_CONTROL</autogen> | |
</item> | |
</list> |
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
package 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
{ | |
"Keymap": { | |
"C-p": "peco.SelectPrevious", | |
"C-n": "peco.SelectNext", | |
"C-g": "peco.Finish", | |
"C-g": "peco.Cancel" | |
} | |
} |
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
source percol/src.zsh | |
bindkey '^S' percol-src |
NewerOlder