Skip to content

Instantly share code, notes, and snippets.

View kkiyama117's full-sized avatar
🎒
Kyoto University

kkiyama117 kkiyama117

🎒
Kyoto University
View GitHub Profile
@sts10
sts10 / rust-command-line-utilities.markdown
Last active December 16, 2025 05:48
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@rbtnn
rbtnn / ddc_and_pum.vim
Last active August 2, 2024 03:15
ddc.vimとpum.vimを試す最小限の設定
call plug#('Shougo/pum.vim')
call plug#('Shougo/ddc.vim')
call plug#('Shougo/ddc-around')
call plug#('Shougo/ddc-matcher_head')
call plug#('Shougo/ddc-sorter_rank')
call plug#('Shougo/ddc-converter_remove_overlap')
call plug#('vim-denops/denops.vim')
call ddc#custom#patch_global('completionMenu', 'pum.vim')
call ddc#custom#patch_global('sources', ['around'])
@kuuote
kuuote / injector.ts
Last active April 30, 2021 00:48
Deno cache injector
import { createHash } from "https://deno.land/[email protected]/hash/mod.ts";
import { ensureDirSync } from "https://deno.land/[email protected]/fs/ensure_dir.ts";
import { walkSync } from "https://deno.land/[email protected]/fs/walk.ts";
/*
* Deno cache injector
* cache algorithm is referenced from Deno source
* https://github.com/denoland/deno/blob/main/cli/disk_cache.rs
* https://github.com/denoland/deno/blob/main/cli/deno_dir.rs
*
@voluntas
voluntas / webrtc_turn.rst
Last active December 3, 2025 02:03
WebRTC で利用されいる TURN プロトコルの解説

WebRTC で利用されいる TURN プロトコルの解説

日時:2021-01-29
作:@voluntas
バージョン:2021.2
url:https://voluntas.github.io/

@mizchi
mizchi / predict-frontend.md
Last active July 27, 2025 04:49
React のユーザーから見た今後のフロントエンドの予想

この記事は議論のたたき台で、ポジショントークや、偏見にまみれています。

今のフロントエンドの分類

  • 古典的なサーバーサイド WAF への +α の味付け
  • 大規模なクライアントアプリケーション管理のための SPA
  • SEO / SSR を考慮した Node ヘヴィーな環境

他、提唱されてるパターン

@marcomd
marcomd / gist:3129118
Created July 17, 2012 12:18
Authenticate your API with devise, token by header
#Session controller provides a token
#/controllers/api/sessions_controller.rb
class Api::SessionsController < Devise::SessionsController
before_filter :authenticate_user!, :except => [:create]
before_filter :ensure_params_exist, :except => [:destroy]
respond_to :json
def create
resource = User.find_for_database_authentication(:email => params[:user_login][:email])
return invalid_login_attempt unless resource