Increments株式会社(以下、「当社」といいます)は、当社がお預かりする様々な個人情報に対し、個人情報保護の社会的重要性を鑑み以下の方針に基づき個人情報の保護に努めます。
- 当社は、個人情報を取得する際には、法令で例外として定められる場合を除き、利用目的を通知又は公表し、適法かつ公正な手段によって取得いたします。また、特定した利用目的の達成に必要な範囲を超えた、個人情報の目的外利用はいたしません。
class MastodonSetUpGenerator < Rails::Generators::Base | |
desc "Set up Mastodon at once." | |
class_option :redis_host, type: :string, default: "localhost", desc: "Path for redis server" | |
class_option :redis_port, type: :numeric, default: 6379, desc: "Port for redis server" | |
class_option :redis_password, type: :string, default: "" , desc: "redis password" | |
class_option :redis_db, type: :numeric, default: 0, desc: "redis db path" | |
class_option :redis_url, type: :string, aliases: "-R", desc: "Set redis options like redis://password@host:port/path" | |
class_option :db_host, type: :string, default: "/var/run/postgresql", desc: "ip address or Unix domain socket path for PostgreSQL" | |
class_option :db_user, type: :string, default: "mastodon", desc: "PostgreSQL user" |
policy_module(mastodon 1.1.2) | |
require { | |
attribute file_type; | |
attribute httpdcontent; | |
attribute port_type; | |
class dir {read search write}; | |
class netlink_route_socket {bind create getattr nlmsg_read read write}; | |
class process execmem; |
// ==UserScript== | |
// @name Card style View in Google result | |
// @namespace https://twitter.com/yume_yu | |
// @homepage https://github.com/yume-yu/CardStyleView-in-GoogleResult | |
// @supportURL https://twitter.com/yume_yu | |
// @version 0.5 | |
// @description This scripts add cardView to your GoogleSearchResult. | |
// @author @yume_yu | |
// @match https://www.google.com/search* | |
// @match https://www.google.co.jp/search* |
//HTTP GETをハンドリングする | |
function doGet(e) { | |
//リクエストパラメータ名"q"の値を取得する | |
//あらかじめURLエンコードしたものを受け取ること! | |
const text = e.parameter.q; | |
console.log(text); | |
console.log(encodeURIComponent(text)); | |
const payload = "url=" + encodeURIComponent(text); | |
const options = { | |
"method" : "post", |
const ws = new WebSocket("wss://streaming.qiitadon.com:4000/api/v1/streaming/?stream=public:local"); | |
ws.addEventListener("message", (ev) => { | |
const { event, payload } = JSON.parse(ev.data); | |
if (event == "update") { | |
const status = JSON.parse(payload); | |
chrome.notifications.create(status.id, { | |
type: "basic", | |
iconUrl: status.account.avatar || status.account.avatar_static || "icon.png", |
Mastodon が他のインスタンスと情報交換をする OStatus API の使い方。使ってるだけのユーザは知る必要がない裏側の話。
Mastodon インスタンスに対して、RFC6415 が規定する /.well-known/host-meta
というパスを要求すると以下の XML が返ってくる.
<?xml version="1.0"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Link rel="lrdd" type="application/xrd+xml" template="https://[MASTODON_HOST]/.well-known/webfinger?resource={uri}"/>
</XRD>
/*緑ベースのUIにする*/ | |
svg.r-13gxpu9.r-4qtqp9.r-yyyyoo.r-16y2uox.r-1q142lx.r-8kz0gk.r-dnmrzs.r-bnwqim.r-1plcrui.r-lrvibr,.r-nw8l94 { | |
color: #00BC00; | |
} | |
.r-b5skir { | |
background-color: #00BC00; | |
} | |
/*サイドバーを非表示にする*/ |
ipfs daemon > ipfs.log & |
http://launched.zerowidth.com/ |