This file contains hidden or 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 numbers = ['10', '10', '10', '10']; | |
numbers.map(parseInt); | |
// [10, NaN, 2, 3] | |
var bind2nd = function (fn, val) { | |
return function () { | |
var newArgs = [arguments[0], val].concat(Array.prototype.slice.call(arguments, 1)) | |
return fn.apply(null, newArgs); | |
} | |
}; |
This file contains hidden or 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
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head> | |
<title>CHECKPOINT - exciting team game - </title> | |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> | |
<link rel="stylesheet" type="text/css" href="style/style.css"> | |
</head> | |
<!--<a href="http://ran.ge/" title="Professional WordPress Development" id="range-logo">Range Web Development</a>#--> | |
<body> | |
<div id="body"> | |
<img src="/test/style/bg.gif" width="800" height="600" usemap="logomap"> | |
<map name="logomap"> |
This file contains hidden or 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
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/LAZY.tmTheme", | |
"default_line_ending": "unix", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "Cyrillic (Windows 1251)", | |
"font_size": 12.0, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"mouse_wheel_switches_tabs": true, | |
"rulers": |
This file contains hidden or 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 ctx; | |
var x = 0; | |
$(function() { | |
ctx = $('#canvas')[0].getContext("2d"); | |
return setInterval(draw, 10); | |
}); | |
function draw() { | |
ctx.clearRect(0, 0, 600, 600); |
This file contains hidden or 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
*** InputBoxOriginal.cs Thu May 22 14:19:10 2008 | |
--- InputBox.cs Sun Dec 11 05:44:10 2011 | |
*************** | |
*** 6,11 **** | |
--- 6,12 ---- | |
using System.Text; | |
using System.Windows.Forms; | |
using IRCUtils; | |
+ using System.Text.RegularExpressions; | |
This file contains hidden or 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
require 'sinatra' | |
require 'eventmachine' | |
class EventStream | |
include EventMachine::Deferrable | |
def initialize(channel, &block) | |
@channel = channel | |
@block = block |
NewerOlder