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
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
//******************************** | |
// 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
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
<?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
<?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 | |
/** | |
* @author Han Lin Yap < http://zencodez.net/ > | |
* @copyright 2012 zencodez.net | |
* @license http://creativecommons.org/licenses/by-sa/3.0/ | |
* @package proxy | |
* @version 1.0 - 2012-05-01 | |
*/ | |
$method = $_SERVER['REQUEST_METHOD']; | |
$request = substr($_SERVER['PATH_INFO'], 1); |
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 | |
/** | |
* Remove any non-ASCII characters and convert known non-ASCII characters | |
* to their ASCII equivalents, if possible. | |
* | |
* @param string $string | |
* @return string $string | |
* @author Jay Williams <myd3.com> | |
* @license MIT License | |
* @link http://gist.github.com/119517 |
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 | |
$username = 'clXXXXX'; | |
$password = ''; | |
$base_url = 'https://api.glesys.com'; | |
$param = '/server/list/format/json/'; | |
$context = stream_context_create(array( | |
'http' => array( | |
'header' => "Authorization: Basic " . base64_encode("$username:$password") |
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
<script> | |
var queue = 0; | |
var last_index = 0; | |
jQuery(function ($) { | |
$(document).on('click', '#splash .left a', function () { | |
show_splash(--last_index); | |
return false; | |
}); | |
$(document).on('click', '#splash .right a', function () { |