Skip to content

Instantly share code, notes, and snippets.

View acid-chicken's full-sized avatar

Acid Chicken (硫酸鶏) acid-chicken

View GitHub Profile

Keybase proof

I hereby claim:

  • I am acid-chicken on github.
  • I am acid_chicken (https://keybase.io/acid_chicken) on keybase.
  • I have a public key ASCkfXARRwVW7jaHutTMpeyRRoJDKqE2QAPfJ7usjGcDNQo

To claim this, I am signing this object:

@acid-chicken
acid-chicken / 0000-index.md
Last active June 2, 2019 16:22
346.design 会計情報

346.design 会計情報

この Gist では 346.design 及び前身である Sweak Network 下の 334 Reporter に関する月毎の会計情報を掲載しています。

なお、346.design は合同会社346様とは一切関係ございません。

質問等は Gist へのコメントで受け付けております。

大大石すき大大大泉泉大大石石大泉大石石き大石石大泉大石石泉大石石大泉大石石大泉泉大大石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石泉大泉大泉泉大大石石大泉大石石泉大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石泉大大泉泉大大石石大泉大石石石泉大泉大石石泉大泉大石石泉大泉大石石石石泉大石石大泉大石石大泉泉大泉泉大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉大石石泉大大泉泉大大石石大泉大石石き大石石大泉大石石泉大石石大泉大石石大泉泉大大石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大大石石大泉大石石石泉大大大石大大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大大石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大泉泉大大石石大泉大石石石大泉大石石石石泉大石石大泉大石石石大泉大石石大泉大大泉泉大泉泉大泉泉大泉泉大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石石石泉大大大石泉大石石大泉大石石すき大大石泉大石石大泉大石石大大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大大石大大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大大石石大泉大石石石泉大大石大大石石泉大石石大泉大石石大泉泉大泉泉大大石石大泉大石石石大泉大石石石石泉大石石大泉大石石石大泉大石石大泉泉大泉泉大泉泉大泉泉大泉泉大泉泉大大石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石大泉大石石石泉大大石大大石石泉大石石大泉
using System;
using System.Security.Cryptography;
public static class PEM
{
const string
_header = "-----BEGIN RSA PRIVATE KEY-----",
_footer = "-----END RSA PRIVATE KEY-----";
public static RSAParameters ParseToRSAParameters(ReadOnlySpan<char> s)
#!/usr/bin/env bash
host='> YOUR INSTANCE URL GOES HERE <'
post='> WEBHOOK URL GOES HERE <'
user='> YOUR DISCORD ID GOES HERE <'
path='.example.com.status'
prev=$((`cat $path`))
curr=$((`curl -ILSs -o /dev/null -w '%{http_code}\n' $host`))
if [ $curr -ne $prev ]
then
if [ $curr -lt 400 ]
@acid-chicken
acid-chicken / PointCalculator.cs
Last active September 9, 2018 15:05
334 Reporter
public class PointCalculator
{
private int _power, _penalty;
public PointCalculator(int power = 1, int penalty = 2)
{
_power = power;
_penalty = penalty == default ? 1 : penalty;
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"created_at": "Sat Aug 18 15:22:14 +0000 2018",
"id": 1030837281806987300,
"id_str": "1030837281806987265",
"text": "@acid_chicken tweeting long status for testing extended_tweet mode; hashtag: #CoreTweet, other_hashtag: #test_334,… https://t.co/S6AFtXcDl4",
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"truncated": true,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": 752061552128200700,
<input type=checkbox id=switch><label for=switch><div></div><div></div></label><style>:root{--p:480px}html,body{height:100%}body{align-items:center;background:#202224;display:flex;justify-content:center;margin:0}input[type=checkbox]{display:none}input[type=checkbox]+label{display:inline-grid;grid:1fr/repeat(2,1fr);height:24px;width:64px}input[type=checkbox]+label>::before,input[type=checkbox]+label>::after{background:#e0eefd;content:'';height:24px;position:absolute;width:32px;transition:all.25s ease}input[type=checkbox]+label>::before{transform-origin:left}input[type=checkbox]+label>::after{transform-origin:right}input[type=checkbox]+label>:first-child::before{transform:perspective(var(--p))rotateY(-90deg)scaleX(0);filter:brightness(.5)}input[type=checkbox]:checked+label>:first-child::before{transform:perspective(var(--p))rotateY(-75deg)scaleX(1);filter:brightness(.75)}input[type=checkbox]+label>:first-child::after{transform:perspective(var(--p))rotateY(0);filter:brightness(1)}input[type=checkbox]:checked+lab
@acid-chicken
acid-chicken / misskey.sh
Last active July 9, 2018 04:38
Misskey for Argos
#!/usr/bin/env bash
# Misskey for [Argos](https://github.com/p-e-w/argos)
misskey_token='> MISSKEY TOKEN GOES HERE <'
echo 'Misskey'
echo '---'
echo '再読込 | iconName=gtk-refresh refresh=true'
curl -s -w '\n' -X POST -d '{"limit":100}' -- "https://misskey.xyz/api/notes/local-timeline?i=$misskey_token" | jq -r '.[] | select(.text != null) | [ .id, .user.avatarUrl, .text ] | reduce .[1:][] as $i ("__argos_startline__\(.[0])"; . + " \($i)" )' | sed -e ':a;N;$!ba;s/\n//g;s/__argos_startline__//;s/__argos_startline__/\n/g' | head -n 20 | while read line