Skip to content

Instantly share code, notes, and snippets.

@asus4
asus4 / JsonNode.cs
Last active November 8, 2021 12:41
Simple json accessibility for Unity.
/**
Copyright (c) 2017 Koki Ibukuro
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@key-amb
key-amb / gist:c641947a2139fdd81684
Last active May 31, 2020 05:12
[WIP] Redis Cluster Specification を翻訳してみる
@gakuzzzz
gakuzzzz / file.md
Last active November 23, 2024 08:11
UserId など値型はどうするべきか

UserId などの型はどうするべきか

1. primitive 型をそのまま使う

case class Person(id: Long, name: String, organizationId: Long)
object Person {

  def groupByOrg: Map[Long, Seq[Person]] = ...
@voluntas
voluntas / webrtc.rst
Last active July 14, 2025 04:05
WebRTC コトハジメ
@ykubota
ykubota / Usage.md
Last active November 10, 2021 08:10
Get specified jdk8 version sources from openjdk repository

Usage

bash get_specified_source.sh jdk8u77

Note: This script does not validate the input.

@CMCDragonkai
CMCDragonkai / memory_layout.md
Last active June 24, 2025 19:56
Linux: Understanding the Memory Layout of Linux Executables

Understanding the Memory Layout of Linux Executables

Required tools for playing around with memory:

  • hexdump
  • objdump
  • readelf
  • xxd
  • gcore
@arcizan
arcizan / s3cli
Last active June 6, 2016 07:54
aws-cli wrapper for S3
#!/bin/zsh -fi
emulate -L zsh
setopt prompt_subst hist_reduce_blanks hist_ignore_dups hist_ignore_all_dups hist_ignore_space \
hist_expire_dups_first hist_save_no_dups # xtrace
typeset -r s3_scheme='s3:/'
typeset -r s3cli_home="${S3CLI_HOME:-$HOME/.s3cli}"
typeset -r s3cli_config_file="$s3cli_home/config"
@brandur
brandur / redis-cell-informal-benchmarks.md
Last active June 3, 2023 02:31
redis-cell Informal Benchmarks

redis-cell Informal Benchmarks

I got these results when comparing CL.THROTTLE to SET on my early 2015 13" 3.1 GHz i7 MacBook Pro (not connected to a power source at the time):

$ ruby bench.rb
SET
Took total of: 5.975439 s
Per iteration: 5.975439e-05 s (0.05975439 ms)
@voluntas
voluntas / naze_erlang.rst
Last active June 15, 2025 07:38
なぜ Erlang/OTP を使い続けるのか