Skip to content

Instantly share code, notes, and snippets.

@ustreamer-01647
ustreamer-01647 / 0123.html
Last active August 29, 2015 13:58
64パターンがある[0-3]{3}を,a-zA-Z()[]{}<>,./_ をキー値とする連想配列に与える
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script type="text/javascript">
var code ="0123";
var i = 0;
var codestr= "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ()[]{}<>,./_";
/*
Product Version: NetBeans IDE 7.4 (Build 201310111528)
更新: NetBeans IDEはバージョンNetBeans 7.4 Patch 3に更新されます
Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Windows 7 version 6.1 running on amd64; MS932; ja_JP (nb)
run:
必要たこ足:60
必要小麦粉:20
ビルド成功(合計時間: 0秒)
@ustreamer-01647
ustreamer-01647 / index.php
Last active August 29, 2015 14:00
スペーストーキー社の危機を救え!
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<?php
function encode($input) {
@ustreamer-01647
ustreamer-01647 / index.php
Created May 15, 2014 10:24
codeiq860今週のお題:覆面算を満たす個数
<?php
/**
* https://codeiq.jp/ace/thisweek_masuipeo/q860 今週のお題:覆面算を満たす個数
*/
// 総当たりログを扱うため,大容量メモリを使用させる
// php.ini初期値128M.256Mでも不足した
ini_set('memory_limit', '512M');
// ------------------------
@ustreamer-01647
ustreamer-01647 / index.php
Last active August 29, 2015 14:01
codeiq863チケットゴブル社の旅行プランを作れ!
<?php
/**
* https://codeiq.jp/ace/yuki_hiroshi/q863 チケットゴブル社の旅行プランを作れ!
*/
// -------------------------------------------------------
// 設定
// 入力データのエンコーディング
define("INDATA_ENCODING", "SJIS");
// 内部データのエンコーディング
/*
Original Information
http://pha22.net/twitterbot/ EasyBotter - プログラミングができなくても作れるTwitter botの作り方
EasyBotterバージョン2.1.3
This product includes PHP, freely available from http://www.php.net/
*/
//発言を作る
function makeTweet($file, $number = FALSE){
@ustreamer-01647
ustreamer-01647 / twitpicjibiki.php
Last active August 29, 2015 14:06
TwitPic地引き
<?php
// twitter screen_name
define("USERNAME", "paul_ga");
// JSON保存フォルダ
define("JSONDIR", "json/");
// JSON拡張子
define("FILETAIL", ".json");
// APIアドレス
define("URL", "http://api.twitpic.com/2/users/show.json?username=");
@ustreamer-01647
ustreamer-01647 / MainWindow.xaml
Last active August 29, 2015 14:06
CoreTweet テスト
<Window x:Class="coretweettest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="482.955" Width="669.318">
<Grid>
<Button x:Name="verifyButton" Content="認証開始" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75" Click="verifystartButton_Click"/>
<Label Content="承認アドレス:" HorizontalAlignment="Left" Margin="107,10,0,0" VerticalAlignment="Top" Width="81"/>
<TextBox x:Name="pinTextbox" HorizontalAlignment="Left" Height="23" Margin="84,52,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" RenderTransformOrigin="0.28,0.555"/>
<Button x:Name="pinVerifyButton" Content="PIN認証" HorizontalAlignment="Left" Margin="221,51,0,0" VerticalAlignment="Top" Width="75" Click="pinButton_Click"/>
<Label x:Name="pinLabel" Content="PIN:" HorizontalAlignment="Left" Margin="15,51,0,0" VerticalAlignment="Top" Width="49"/>
@ustreamer-01647
ustreamer-01647 / MainWindow.xaml
Last active August 29, 2015 14:06
testCoreTweet
<Window x:Class="testCoreTweet.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="431.182" Width="664.773" Closing="Window_Closing">
<Grid>
<Button x:Name="startSettingButton" Content="startSetting" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="99" Click="startSettingButton_Click"/>
<Label Content="Access here:" HorizontalAlignment="Left" Margin="114,10,0,0" VerticalAlignment="Top" Width="88"/>
<TextBox x:Name="pinUritextbox" HorizontalAlignment="Left" Height="23" Margin="207,10,0,0" VerticalAlignment="Top" Width="440"/>
<TextBox x:Name="pinTextbox" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Margin="67,48,0,0"/>
<Label Content="PIN:" HorizontalAlignment="Left" Margin="10,48,0,0" VerticalAlignment="Top" Width="52"/>
@ustreamer-01647
ustreamer-01647 / vlc.txt
Last active August 29, 2015 14:07
GV-MVP/SZ, Debian 7.6, VLC
v4l2:///dev/video1
ntsc_m(japan), composite, 720x480, 3:2
:v4l2-standard=NTSC_M_JP :input-slave=alsa:// :v4l2-chroma= :v4l2-input=1 :v4l2-audio-input=-1 :v4l2-width=720 :v4l2-height=480 :v4l2-aspect-ratio=3\:2 :v4l2-fps=0 :no-v4l2-use-libv4l2 :v4l2-tuner=0 :v4l2-tuner-frequency=-1 :v4l2-tuner-audio-mode=-1 :no-v4l2-controls-reset :v4l2-brightness=-1 :v4l2-brightness-auto=-1 :v4l2-contrast=-1 :v4l2-saturation=-1 :v4l2-hue=-1 :v4l2-hue-auto=-1 :v4l2-white-balance-temperature=-1 :v4l2-auto-white-balance=-1 :v4l2-red-balance=-1 :v4l2-blue-balance=-1 :v4l2-gamma=-1 :v4l2-autogain=-1 :v4l2-gain=-1 :v4l2-sharpness=-1 :v4l2-chroma-gain=-1 :v4l2-chroma-gain-auto=-1 :v4l2-power-line-frequency=-1 :v4l2-backlight-compensation=-1 :v4l2-band-stop-filter=-1 :no-v4l2-hflip :no-v4l2-vflip :v4l2-rotate=-1 :v4l2-color-killer=-1 :v4l2-color-effect=-1 :v4l2-audio-volume=-1 :v4l2-audio-balance=-1 :no-v4l2-audio-mute :v4l2-audio-bass=-1 :v4l2-audio-treble=-1 :no-v4l2-audio-loudness :v4l2-set-ctrls= :live-caching=300