Skip to content

Instantly share code, notes, and snippets.

@ustreamer-01647
ustreamer-01647 / myoutput.rb
Last active December 20, 2015 20:48 — forked from taiyoh/myoutput.rb
ツイートごとの区切り線「-----」行を削除
# -*- coding: utf-8 -*-
# my output settings
# 出力方法をこちらで決定する
Earthquake.init do
output :tweet do |item|
next unless item["text"]
info = []
#!/usr/local/bin/php
<?php
header("Content-type: text/html; charset=utf-8");
chdir("/home/paul/public_html/asukachrss");
// 設定ファイル
require_once("config.inc.php");
// ----------------------------------------------------------------------
// 実行間隔制限
@ustreamer-01647
ustreamer-01647 / ox.cpp
Created September 23, 2012 10:13
マルバツゲーム
#include <iostream>
#include <set>
#include <vector>
void showBoard( const std::vector<char> Stones, const int Size )
{
for ( int i = 0; i < Size; i++ )
{
for ( int j = 0; j < Size; j++ )
{
@ustreamer-01647
ustreamer-01647 / asuka-ch-ver4.js
Created August 24, 2012 11:34
LimeChat2用アスカchトピックボット
/* アスカchトピックボット
> '11 7/1(金) TopicBotのスクリプト公開 こちら
> 常駐させるのが厳しくなってきたため、扱える方が必要に応じて使用して頂ければ助かります
*/
/* change log
1.0 2011年7月1日時点
2012年7月29日アスカchサイトアカウント凍結により,サイト移転
1.1 サイト移転対応.使用されていない変数hp2を削除
*/
@ustreamer-01647
ustreamer-01647 / carteTournament.js
Last active October 9, 2015 03:28
Carteのトーナメント実施時刻前にnoticeするLimeChat2用スクリプト
/*
Carte Tournament Noticer
偶数時47分に「まもなくトーナメントが始まります」を投稿する.
スクリプト読み込み時に初期化する function event::onLoad()
現在時刻を把握し,偶数時47分までの時間を調べる.
タイマーセットし,noticerに送る
*/
@ustreamer-01647
ustreamer-01647 / gist:a06ab6d442e6fd486ebb
Created December 28, 2014 01:06
9335階再開 冥炎魔天の挑戦クリアのアスカヒストリー http://img.ly/AU7N
This file has been truncated, but you can view the full file.
---------------------------------------------------------------------------------------------------------------------------------------
AsukaHistory 1.5.56
Dungeon:冥炎魔天の挑戦
---------------------------------------------------------------------------------------------------------------------------------------
9335階 374123ターン 38:40:54 スコア:19524900 店 0/1 乱数値:28526
LV:99 HP:250/250 力:99/99 腹:1/1 経験値:9999999 ギタン:952436 倒したモンスター:17138
Weapon:剛剣マンジカブラ+99[三回扇金眠会扇扇必サちちちち扇扇]
Shield:風魔の盾+99[う弟識金ト山サ丼眠眠眠眠眠]
Ring1:必着の腕輪
Ring2:とうぞくの腕輪
@ustreamer-01647
ustreamer-01647 / gyao.css
Last active August 29, 2015 14:12
「GYAO!」のためのユーザースタイルシート
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("gyao.yahoo.co.jp") {
/* カテゴリーメニューバー追従阻止 */
#navi_wrapper {
position: relative;
}
/* ジャンルトップの動画再生非表示 */
.emPlay{
@ustreamer-01647
ustreamer-01647 / MainWindow.xaml
Last active August 29, 2015 14:07
実習「CoreTweetでストリーミングを処理するためのRx入門」
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="testCoreTweet2.MainWindow"
Title="MainWindow" Width="525" SizeToContent="Height" d:DesignHeight="345">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="Account:"/>
<Label x:Name="screennameLabel" Content="unregister" />
<Button x:Name="registButton" Content="regist" Width="75" Click="registButton_Click"/>
@ustreamer-01647
ustreamer-01647 / 50-synaptics.conf
Last active August 29, 2015 14:07
SynPS/2 Synaptics TouchPadの設定
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
#
Section "InputClass"
@ustreamer-01647
ustreamer-01647 / MainWindow.xaml
Created October 15, 2014 02:22
testCoreTweet2
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="testCoreTweet2.MainWindow"
Title="MainWindow" Width="525" SizeToContent="Height" d:DesignHeight="345">
<StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="Account:"/>
<Label x:Name="screennameLabel" Content="unregister" />
<Button x:Name="registButton" Content="regist" Width="75" Click="registButton_Click"/>