Skip to content

Instantly share code, notes, and snippets.

View 0V's full-sized avatar
🛌
Always sleeping

G2 0V

🛌
Always sleeping
View GitHub Profile
@Tosainu
Tosainu / cute_AA.txt
Last active May 10, 2025 02:55
顔文字詰め合わせ
あせ (・_・;) 顔文字
あせ (・∀・;) 顔文字
あせ (^ω^;;) 顔文字
あせ (゚∀゚ ;) 顔文字
あせ (゚∀゚ ;)タラー 顔文字
あたふた ヽ(´・ω・`ヽ) 顔文字
あつい (。>﹏<) 顔文字
あつい (。>﹏<)あㄘ”ゅい 顔文字
あつい (>﹏<。Ξ。>﹏<) 顔文字
あつい ι(´Д`υ) 顔文字
@kb10uy
kb10uy / RecotwRegister.py
Created August 19, 2014 09:38
黒歴史収集bot「レコツイ」にワンクリックぐらいで送信するメニューをついかする
#coding: utf-8
import clr
from System import *
from System.Collections.Generic import *
from System.Text import *
from System.Text.RegularExpressions import *
from System.IO import *
clr.AddReferenceByPartialName("CoreTweet")
from CoreTweet import *
@shibafu528
shibafu528 / mikutter_recotw.rb
Last active August 29, 2015 14:05
recotw.tk に黒歴史を投げつけよう
# -*- coding: utf-8 -*-
require 'net/http'
Plugin.create(:mikutter_recotw) do
command(:post_recotw,
name: 'recotwに登録',
condition: Plugin::Command::CanReplyAll,
visible: true,
icon: nil,
role: :timeline) do |opt|
@nanase
nanase / Lury.md
Last active March 15, 2018 00:06
Lury 構想まとめ

![Lury][lury] 構想まとめ

※ 項目の名前は適当

※ 実装してみたい全ての機能を記述しているわけではありません

※ サンプルコードは古い構想を含んでいるかもしれません。注意して読んでください

目次

@chitoku-k
chitoku-k / 悲報ダメです.js
Last active August 29, 2015 14:15
悲報ダメです
var Twitter = require("twitter");
var followers = [];
var client = new Twitter({
consumer_key: process.env.TWITTER_CONSUMER_KEY,
consumer_secret: process.env.TWITTER_CONSUMER_SECRET,
access_token_key: process.env.TWITTER_ACCESS_TOKEN,
access_token_secret: process.env.TWITTER_ACCESS_TOKEN_SECRET,
});
@gaogao-9
gaogao-9 / mpyw.md
Last active August 5, 2024 04:47
mpyw語録

目的

xxの機能により KPI を伸ばす!

仮説

  • A によって B が増える

やること

from itertools import permutations
import numpy as np
import pandas as pd
def get_optimal_solution(random_seed, answers_df):
answers = answers_df.values
names = answers_df.index.values
N = answers.shape[0]
# 全パターンの順位を取得 (8!通り)
all_orders = np.array(list(permutations(range(N))))
@ksasao
ksasao / starcollage.py
Created June 8, 2019 14:29
人物が映っている写真をクソコラ化します。Apache License 2.0。元ネタなど https://twitter.com/ksasao/status/1137349313875419141
# based on https://github.com/tensorflow/models/blob/master/research/deeplab/deeplab_demo.ipynb
import os
from io import BytesIO
import tarfile
import tempfile
from six.moves import urllib
from matplotlib import gridspec
from matplotlib import pyplot as plt
import numpy as np
package main
import (
"flag"
"fmt"
"math/rand"
"net"
"net/http"
"net/rpc"
"strings"