This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var keyCodeCheck = (function () { | |
var konamiCommandKeyCodes = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]; | |
var acceptIndex = 0; | |
var timerId = null; | |
var resetAcceptIndex = function () { | |
console.log('最初からやりなおしです'); | |
acceptIndex = 0; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "nokogiri" | |
require 'pry' | |
require 'htmlentities' | |
# opens every file in the given dir tree and converts any html img tags to rails image_tag calls | |
# | |
# example usage: | |
# ruby convert.rb ~/my_rails_app/app/views | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java のコードを | |
pythonista に持ち込む:まぁ、Java も書けなくはないけどね | |
rubyist に持ち込む:ツマラン、どこかに細工してやろうか・・・ | |
perler に持ち込む:出てけゴルァァァァァァァァァァァ!! | |
Python のコードを | |
Java エンジニアに持ち込む:おぅ、Python のコードか | |
rubyist に持ち込む:スクリプト言語の僚友だ、バッチリ直してやるぜ | |
perler に持ち込む:けっ、優等生か |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
// 草原クラス | |
class WWWWWWWWWWWWWWWWWWWWWWWW : MonoBehaviour { | |
public void wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww() { | |
Debug.Log ( "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# README | |
# | |
# Generate the Hosts Dynamically | |
# ============================== | |
# | |
# Usage | |
# ----- | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# always tweet with 140 characters | |
# port of https://gist.github.com/453709 | |
# | |
Earthquake.init do | |
command :t140 do |m| | |
max = 140 | |
body = m[1] | |
len = body.length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This shell script was created at solowizard.com | |
# | |
# http://github.com/tommyh/solo_wizard | |
# (c) 2012, Tom Hallett | |
# This script may be freely distributed under the MIT license. | |
pushd `pwd` | |
if rvm --version 2>/dev/null; then | |
gem install soloist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
([Array.new(2, "").push("Fizz").cycle, Array.new(4, "").push("Buzz").cycle]).tap{|fizz, buzz| (1..100).map{|n| [fizz.next + buzz.next, n.to_s].sort.last}.each(&method(:puts))} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <node.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
using namespace v8; | |
using namespace node; | |
class AsyncObject : ObjectWrap { | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> | |
Hi, | |
We apologize, but the only way we will be able to verify ownership of this account is if you reply to this email with an attached color image of your government-issued photo identification confirming your full name and date of birth. Rest assured that we will permanently delete your ID from our servers once we have used it to verify the authenticity of your account. | |
Please note that we will not be able to process your request unless you send in proper identification. We apologize for any inconvenience this may cause. | |
Thanks, | |
<< |
NewerOlder