Skip to content

Instantly share code, notes, and snippets.

View noritada's full-sized avatar

Noritada Kobayashi noritada

View GitHub Profile
@uakihir0
uakihir0 / Bluesky の歩き方.md
Last active January 19, 2024 15:11
Bluesky の歩き方.md

Bluesky の歩き方

 Bluesky は Twitter の類似サービスとして期待されている分散 SNS の一つです。 Twitter の創設者である Jack Dorsey による出資を受けており、 Bluesky, PBLLC によって開発・運営されています。 Bluesky は現在公式のアプリ・ウェブでは、日本語の UI がなくとっつきにくい部分があるため、ここでは楽しみ方について簡単に説明します。

日本語話者の探し方

 まずは何にせよ、フォローする人を見つける必要があります。 Bluesky 公式 Web または、公式アプリからログインしている人は、以下の日本語話者カスタムフィード (ユーザーが作成した、独自のタイムライン) Japanese Cluster を見れば、日本語話者が見つかると思います。

 とはいえ、このカスタムフィードでは、人が多すぎて何がなんだかと思う人も多いと思うので、今トレンドのポスト (投稿) を取得する方法を説明します。まず、設定からコンテンツ言語を日本語にします。コンテンツ言語は、カスタムフィードにおいて、どの言語のポストを取得するか? という設定になります。左メニューから、 Settings > Content Languages の順にアクセスすると変更できます。

[% aregeword = ['アレゲはアレゲ以上のなにものでもなさげ -- アレゲ研究家',
'吾輩はリファレンスである。名前はまだ無い -- perlの中の人',
'犯人は巨人ファンでA型で眼鏡をかけている -- あるハッカー',
'犯人はmoriwaka -- Anonymous Coward',
'クラックを法規制強化で止められると思ってる奴は頭がおかしい -- あるアレゲ人',
'日本発のオープンソースソフトウェアは42件 -- ある官僚',
'あつくて寝られない時はhackしろ! 386BSD(98)はそうやってつくられましたよ? -- あるハッカー',
'未知のハックに一心不乱に取り組んだ結果、私は自然の法則を変えてしまった -- あるハッカー',
'皆さんもソースを読むときに、行と行の間を読むような気持ちで見てほしい -- あるハッカー',
'ナニゲにアレゲなのは、ナニゲなアレゲ -- アレゲ研究家',
@mala
mala / 202012_smooz.md
Last active October 6, 2022 14:28
Smoozサービス終了に寄せて

Smoozサービス終了に寄せて

前置き

  • この文章と、それに含まれる考察や各サービスへの脆弱性報告などはmala個人の活動であり、所属している企業とは関係ありません。
  • 一方で私は、企業が閲覧履歴を収集して何をしたいのか、所属してる企業や他社事例について、ある程度詳しい当事者でもあります。
  • 一般論として書けることは書けるが、(業務上知り得た知識で開示されてないものなど)個別具体的なことは書けないこともあり、また観測範囲に偏りがある可能性もあります。

Smoozに報告した脆弱性2件

original: https://landshark.io/2020/08/16/web-by-google.html

翻訳のベースには https://www.deepl.com/translator を使い、表現を整えています。

Web by Google™

Mozilla の財務状況を見ると、Google が独占禁止法違反の疑いを寄せ付けないために生命維持をしていると結論づけるのが妥当である。 Mozilla の Google との契約は今後の収益の少なくとも70%を占めることになる。 Googleは4億ドル以上も払って、シェアが4%のブラウザーでデフォルトの検索プロバイダーになるのだ。しかも1年間だけ。 私の次回の給料を賭けてもいいが、Google がこのかなり気前の良い契約を結んだのは、Microsoft の Internet Explorer による独占をめぐるトラブルの再発を避けるためだろう。

@tintoy
tintoy / ssh_jump.py
Created April 27, 2018 02:45
SSH via jump-hosts using Paramiko
#!/usr/bin/env python3
import os
import paramiko
ssh_key_filename = os.getenv('HOME') + '/.ssh/id_rsa'
jumpbox_public_addr = '168.128.52.199'
jumpbox_private_addr = '10.0.5.10'
target_addr = '10.0.5.20'
@itruls
itruls / set-defaults.sh
Last active February 15, 2024 11:33
Configuring Mac OS X from command line
# Some found in https://github.com/nicksp/dotfiles/blob/master/osx/set-defaults.sh
###########################
### Finder improvements ###
###########################
echo "Improving Finder:"
# TODO: Should these commands be added to .profile or similar, or do they only need run once.
echo "Show ~/Library folder ..."
chflags nohidden ~/Library
@silenceshell
silenceshell / gist:d97c3d9b0ba21d71f21c3a60db1fb284
Last active November 29, 2023 05:26 — forked from jordelver/gist:3073101
Set the Mac OS X SOCKS proxy on the command line

Set the Mac OS X SOCKS proxy on the command line

a.k.a. what to do when your ISP starts blocking sites :(

1 ssh to remote server as a SOCKS server

ssh -D 6080 {user}@{ssh_server} -p {ssh_port}
@HyperBrain
HyperBrain / lifecycle-cheat-sheet.md
Last active June 7, 2024 05:17
Serverless Lifecycle Cheat Sheet

Serverless plugin author's cheat sheet

This cheat sheet provides a detailed overview of the exposed lifecycle events and available commands (and entrypoints) of the Serverless framework, that can be hooked by plugins (internal and external ones). The document is structured by the commands invoked by the user.

Lifecycle events are shown as the globally available outer events (all providers) and sub lifecycle events that are provider specific in the called order. Currently only the AWS provider is shown. If you have information about the other provider,

@peterdemartini
peterdemartini / command.sh
Last active May 20, 2024 11:04
Exclude node_modules in timemachine
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion
@jbrisbin
jbrisbin / riak-kv.yml
Last active November 25, 2020 10:46
Example docker-compose files for Riak KV and TS
version: "2"
services:
coordinator:
image: basho/riak-kv
ports:
- "8087"
- "8098"
environment:
- CLUSTER_NAME=riakkv
labels: