$ bbn-furikaeri
2020-05-20 ABC067 を解いた等
https://blog.bouzuya.net/2020/05/20/
2019-05-21 健康診断など
明日の下書き
- 高円寺.dev #3 用の資料 https://koenji.connpass.com/event/160886/
- フロントエンド専門じゃない人向けの、フロントエンドの最先端〜やや未来の話です
- このレイヤーでは Node.js を使うべき/使うと強いという部分がありますが、他言語を否定しているわけではありません。むしろ他言語でこのアーキテクチャを模倣してほしいという話です。
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
#include "action_layer.h" | |
#include "keymap_jp.h" | |
#define _____ KC_TRNS | |
#define _NOOP KC_NO | |
#define XXXXX KC_NO | |
#define _MO1_ MO(L1) | |
#define _MO4_ MO(L4) | |
#define _MO5_ MO(L5) | |
#define _TO0_ TO(L0) |
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
// ErgoDox EZ keymap v23 | |
// #define IGNORE_MOD_TAP_INTERRUPT | |
#include "ergodox.h" | |
#include "action_layer.h" | |
#include "keymap_jp.h" | |
#define L0 0 | |
#define L1 1 | |
#define L2 2 | |
#define L3 3 |
Rubygems blog post: http://blog.rubygems.org/2017/08/27/2.6.13-released.html
Ruby-lang blog post: https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/
Description:
Rubygems supports a gem server discovery mechanism, where if you set your gem source as https://example.com
, the gem client will do a SRV dns lookup on _rubygems._tcp.example.com
to determine where it should send requests to.
A MITM can intercept that dns request and return whatever server they want, forcing the gem client to download code from a malicious server.
The original code (~7.2s on my laptop).
import System.Random
import System.CPUTime
rainfall :: [Int] -> Int
rainfall xs = sum (zipWith (-) mins xs)
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 jp.sample.android.lib.type; | |
import android.support.annotation.NonNull; | |
public final class SuccessFailure<Success, Failure> { | |
public interface SuccessResult<Success> { | |
void result(Success successResult); | |
} |
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
// Original: https://github.com/Raynos/weakmap-shim create-store | |
type StoreId = Object; | |
type Store = (obj: Object) => Object; | |
type Item = { _storeId: StoreId; valueOf: ItemValueOf; }; | |
type ItemValueOf = (storeId?: StoreId) => Object | Item; | |
const createStore = (): Store => { | |
const storeId: StoreId = {}; | |
return (obj: Object | Item): Item => { |
NewerOlder