Skip to content

Instantly share code, notes, and snippets.

View KEINOS's full-sized avatar

KEINOS KEINOS

View GitHub Profile
@hidao80
hidao80 / Right-click-jammer-canceller.bookmarklet.js
Last active September 5, 2023 09:46
Bookmarklet to enable context menus on web pages that do not allow right-clicking.
javascript:(()%3D%3E%7B!function()%7Bfor(const%20o%20of%5Bdocument%2Cdocument.body%5D)o.addEventListener(%22contextmenu%22%2C(o%3D%3E%7Bo.stopImmediatePropagation()%7D)%2C!0)%7D()%3B%7D)()
/**
* Copyright (c) 2022 hidao80
* Released under the MIT license
* https://opensource.org/licenses/mit-license.php
*/
(function () {
const instance = "https://misskey.dev";
const link_text = "選択範囲へ直リンク";
const LF = '\n';
const CR = '\r';
@woxtu
woxtu / background.js
Last active December 30, 2020 08:02
Qiitadon 新着 通知
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",
@hidao80
hidao80 / mastogetter_url_shortener.gs
Created September 21, 2020 06:27
mastogetter用URL短縮Web API(Google Apps Script版)
//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",
@myobie
myobie / ci.yml
Last active September 20, 2023 09:26
Don't run GitHub Actions for pull requests that are drafts
on:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
@t-asa2000
t-asa2000 / twitter_customize.css
Last active November 28, 2021 07:28
自分仕様のTwitter(2020.7.23現在) #stylus #css
/*緑ベースの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;
}
/*サイドバーを非表示にする*/

プライバシーポリシー

個人情報保護基本方針

Increments株式会社(以下、「当社」といいます)は、当社がお預かりする様々な個人情報に対し、個人情報保護の社会的重要性を鑑み以下の方針に基づき個人情報の保護に努めます。

個人情報保護基本方針

  1. 当社は、個人情報を取得する際には、法令で例外として定められる場合を除き、利用目的を通知又は公表し、適法かつ公正な手段によって取得いたします。また、特定した利用目的の達成に必要な範囲を超えた、個人情報の目的外利用はいたしません。
@yume-yu
yume-yu / CardStyleView_inGoogleResult.user.js
Last active June 20, 2019 09:40
Card style View in Google result for Tampermonkey
// ==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*
@alexedwards
alexedwards / main.go
Last active March 11, 2024 10:20
Password hashing and verification with Argon2id
package main
import (
"crypto/rand"
"crypto/subtle"
"encoding/base64"
"errors"
"fmt"
"log"
"strings"
@miguelmota
miguelmota / ipfs
Last active February 25, 2022 23:03
IPFS daemon run in background
ipfs daemon > ipfs.log &