Skip to content

Instantly share code, notes, and snippets.

View mAster-rAdio's full-sized avatar

Master Radio mAster-rAdio

View GitHub Profile
@261shimizu
261shimizu / クラスタリング概要.md
Last active June 1, 2024 18:05
クラスタリングとか、ロードバランサとか、iSCSIとか

クラスタリング概要

以前のまとめは、深いとこまでツッコミ過ぎているのと、理解できずに書いているので上手くまとまっていない。
この機会にまとめ直す。
引用部分は内容が細かくなってしまった部分なのでざっと読む場合は飛ばして良し。

大雑把な分類


クラスタリングと言った際、本質は「房」であり、複数のサーバを1台に見せることであるが、

@ruario
ruario / intro-latest-widevine.md
Last active January 29, 2024 07:53
Fetches the latest Linux Widevine binary so that it can be used by Vivaldi.

With the release of Vivaldi 2.2, this page is now obsolete and unmaintained. Widevine is fetched automatically on post install of our official packages. The information below and the script are left for historical reasons but will not be updated.

If you are using something newer than Vivaldi 2.2, you should not be using this script as there is simply no need. Any need you think you have for it would be a bug IMHO and thus should be logged in a bug report. Before you do so however, you should also checkout the Vivaldi help page on Widevine, on Linux


Summary

A bunch of people asked how they could use this script with pure Chromium on Ubuntu. The following is a quick guide. Though I still suggest you at least try Vivaldi. Who knows, you might like it. Worried about proprietary componants? Remember that libwidevinecdm.so is a b

@261shimizu
261shimizu / ログファイルまとめ.md
Last active January 25, 2023 02:19
ログのあれこれ

ログファイルまとめ

ログイン情報に関するログ


  • /var/log/wtmp
  • /var/log/btmp
  • /var/log/faillog
  • /var/log/lastlog
  • /var/log/tallylog
@mapyo
mapyo / gist:323c4c62be27ede513d4
Last active August 4, 2016 01:17
Androidの実機でいい感じでキャプチャを取れるようにする方法のメモ

1. AndroidStudio入れる

http://developer.android.com/intl/ja/sdk/index.html

※SDKがどうやって入るのか確認

2. adbコマンドのパスと環境変数の設定

※パス的なものはどこに入ってるのか見て調整する必要があります

echo 'export PATH="$PATH:$HOME/Library/Android/sdk/platform-tools"' >> ~/.bash_profile
echo 'export ANDROID_SDK_HOME="$HOME/Library/Android/sdk"' >> ~/.bash_profile
@hashrock
hashrock / diag.md
Last active February 26, 2024 05:51
作図系ツール・ライブラリまとめ

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
@megatk
megatk / myLogger.php
Created October 3, 2015 11:20
PHP monologをカスタマイズ
<?php
// ★ composerでmonologをインストールしている前提
require_once('vendor/autoload.php');
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
use Monolog\Processor\WebProcessor;
use Monolog\Formatter\LineFormatter;
class myLogger
@miyakogi
miyakogi / config.md
Last active February 8, 2024 08:57
JSON, YAML, ini, TOML ざっくり比較
@jakzal
jakzal / crawler-edit.php
Last active January 22, 2024 13:18
Removing nodes with DomCrawler
<?php
<<<CONFIG
packages:
- "symfony/dom-crawler: ~2.3"
- "symfony/css-selector: ~2.3"
CONFIG;
use Symfony\Component\DomCrawler\Crawler;
$html = <<<HTML
@kaiinui
kaiinui / eventbus.md
Last active March 3, 2017 03:54
Android開発いろいろ

EventBus

EventBus は必ず onStart()onStop() で呼ぶ。バックグラウンドで色々動かれて困る。 また、onStop() では super.onStop() よりも 先に 呼ぶ。

@Override
protected void onStart() {
 super.onStart();
@drkarl
drkarl / gist:739a864b3275e901d317
Last active October 17, 2023 10:43
Ask HN: Best Linux server backup system?

Linux Backup Solutions

I've been looking for the best Linux backup system, and also reading lots of HN comments.

Instead of putting pros and cons of every backup system I'll just list some deal-breakers which would disqualify them.

Also I would like that you, the HN community, would add more deal breakers for these or other backup systems if you know some more and at the same time, if you have data to disprove some of the deal-breakers listed here (benchmarks, info about something being true for older releases but is fixed on newer releases), please share it so that I can edit this list accordingly.

  • It has a lot of management overhead and that's a problem if you don't have time for a full time backup administrator.