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
<?php | |
/* | |
Plugin Name: Startpage Text Widget | |
Plugin URI: http://yap.nu/ | |
Description: Custom Description Text on startpage | |
Author: Han Lin Yap | |
Version: 1 (2012-10-08) | |
Author URI: http://yap.nu/ | |
*/ |
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
<?php | |
# Nginx don't have PATH_INFO | |
if (!isset($_SERVER['PATH_INFO'])) { | |
$_SERVER['PATH_INFO'] = substr($_SERVER["ORIG_SCRIPT_FILENAME"], strlen($_SERVER["SCRIPT_FILENAME"])); | |
} | |
$request = substr($_SERVER['PATH_INFO'], 1); | |
$file = $request; | |
$fp = @fopen($file, 'rb'); |
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
3d mode: | |
remove body > div node | |
set breakpoint at line 80 in game.js, just right after _GAME_.branch_3D and set it to true | |
run init_game(); | |
run init_core(); | |
run init_scene(); | |
Reduce time left: | |
fightTime.timeAlive -= 10 * 1000 | |
Fix removed BlobBuilder: | |
if (window.Blob) { window.BlobBuilder = function() {this.text=""}; window.BlobBuilder.prototype.append = function(t) {this.text+=t}; window.BlobBuilder.prototype.getBlob = function(mt) { return new Blob([this.text], {type:mt}) } } |
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
//******************************** | |
// Made by Han Lin Yap | |
// Copyright Codler | |
//******************************** | |
stop(); | |
var knapp = new Array();// Kommer att innehålla knapparna. | |
var m_mall = new Array();// Knappens bakgrund | |
var knappens_text = new Array(); // Knappens text | |
/* Start av konfiguering */ |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Input; | |
namespace HumanResourcesLib | |
{ | |
class DelegateCommand : ICommand | |
{ |
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
@keyframes wheel { | |
to { transform:rotate(360deg); } | |
} | |
.circularProgress:before { | |
content: ''; | |
display: inline-block; | |
width: 50px; | |
height: 50px; | |
background: | |
linear-gradient(0deg, transparent 49%, white 49%, white 51%, transparent 51%) 0 0px, |
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 util = require('util'), | |
net = require('net'); | |
fs = require('fs'); | |
vm = require('vm'); | |
repl = require('repl'); | |
var socket = new net.Socket(); | |
socket.setNoDelay(true); | |
socket.setEncoding('ascii'); |
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
package com.ab.jersey.dto; | |
public class AppError { | |
private String message; | |
public AppError() { } | |
public AppError(String message) { | |
this.message = message; | |
} |
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
['1.0.zip', '1.1.1.zip', '1.1.zip', '1.2.zip'].sort(function(a, b) { console.log('-');console.log(a);console.log(b); return (a.replace('.zip', '') < b.replace('.zip', '')) ? -1 : (a.replace('.zip', '') > b.replace('.zip', '')) ? 1 : 0 }) |
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
http://pastie.org/2054699 |