Skip to content

Instantly share code, notes, and snippets.

View Songmu's full-sized avatar

Masayuki Matsuki Songmu

View GitHub Profile
@Songmu
Songmu / ukigumo-cli.pl
Created March 6, 2013 11:54
うきぐもちゃん
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use File::Basename;
use Ukigumo::Client;
use Ukigumo::Constants;
use Ukigumo::Helper;
@Songmu
Songmu / .slate.js
Last active December 14, 2015 15:39
S.on('appActivated', function (event, app) {
S.log('appActivated:' + app.name());
});
/*
* This program is distributed under the terms of the
* GNU General Public License, version 2.
*
*/
(function ($) {
/*
* cursorrat
*
@Songmu
Songmu / attack.html
Created May 13, 2013 11:17
お手軽CSRF君
<html>
<head>
<script type="text/javascript">
window.onload = function () {
var form = document.createElement('form');
form.setHidden = function(name, value) {
var input = document.createElement('input');
input.setAttribute('type', 'hidden');
input.setAttribute('name', name);
input.setAttribute('value', value);
use strict;
use warnings;
use feature 'say';
use AE;
use AnyEvent::IRC::Server;
use AnyEvent::IRC::Util;
use Getopt::Long;
use Yancha::Client;
use LWP::UserAgent;
use AnyEvent::IRC::Client;
package MyApp::Validator;
use 5.016;
use warnings;
use utf8;
use parent 'Data::Validator';
use Try::Tiny;
sub import {
my $class = shift;
@Songmu
Songmu / app.sh
Last active December 18, 2015 04:48
#/bin/sh
NCPU=`getconf _NPROCESSORS_ONLN`
WORKERS=$(expr $NCPU \* 5)
exec plackup -E production -s Starlet --max-workers=$WORKERS
package Sub::Rate::Tags;
use strict;
use warnings;
use Carp;
use Any::Moose;
extends 'Sub::Rate::NoMaxRate';
has data => (
is => 'rw',
package MyWAF::Request;
use strict;
use warnings;
use parent 'Plack::Request';
use Encode;
use Hash::MultiValue;
use URL::Encode;
sub uri {
using UnityEngine;
using UnityEditor;
using System.Collections;
public class BuildBatch : MonoBehaviour {
// build iOS app
private static void BuildiOS(){
Debug.Log("/////////// build start ///////////");