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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<style type="text/css"> | |
.tipsy { padding: 5px; font-size: 10px; position: absolute; z-index: 100000; } | |
.tipsy-inner { padding: 5px 8px 4px 8px; background-color: #000; color: #fff; max-width: 200px; text-align: center; } | |
.tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; } | |
.tipsy-arrow { position: absolute; width: 0; height: 0; border: 5px solid transparent; border-color: transparent transparent #000; } |
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
<?php | |
$str = str_repeat('*!', 10); | |
$start = microtime(true); | |
for ($i = 0; $i < 100000; $i++) { | |
substr($str, 0, 1); | |
} |
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
eAccelerator: | |
eaccelerator_put($key, $data, $ttl) | |
eaccelerator_get($key) | |
eaccelerator_rm($key) | |
eaccelerator_clear() | |
APC: | |
apc_store($key, $data, $ttl) | |
apc_fetch($key) | |
apc_delete($key) |
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
<?php | |
// Native handlers | |
//ini_set('session.save_path', 'tcp://127.0.0.1:11211'); | |
//ini_set('session.save_handler', 'memcache'); | |
//ini_set('session.save_path', '127.0.0.1:11211'); | |
//ini_set('session.save_handler', 'memcached'); |
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
twig: | |
form: | |
resources: | |
- '::form.html.twig' |
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
<?php | |
// Update with your local path to the autoloader | |
require_once '../vendor/twig/twig/lib/Twig/Autoloader.php'; | |
Twig_Autoloader::register(); | |
$loader = new Twig_Loader_String(); | |
$twig = new Twig_Environment($loader); |
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
<?php | |
class Bench | |
{ | |
public static $cache; | |
public static $cachem; | |
public function __construct() | |
{ | |
self::$cache = array('set' => true, 'tableize_set' => true); |
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
dart2js | |
Error occurred: /C:/Users/bwessels/WebstormProjects/angular.dart.tutorial-master/Chapter_01/web/packages/angular/core/scope.dart:74:1: Warning: 'Scope' doesn't implement 'containsValue'. Try adding an implementation of 'containsValue'. class Scope implements Map { ^^^^^ /C:/Program Files/dart/dart-sdk/lib/core/map.dart:109:8: Info: This is the method declaration. bool containsValue(Object value); ^^^^^^^^^^^^^ /C:/Users/bwessels/WebstormProjects/angular.dart.tutorial-master/Chapter_01/web/packages/angular/core/scope.dart:74:1: Warning: 'Scope' doesn't implement 'putIfAbsent'. Try adding an implementation of 'putIfAbsent'. class Scope implements Map { ^^^^^ /C:/Program Files/dart/dart-sdk/lib/core/map.dart:144:5: Info: This is the method declaration. V putIfAbsent(K key, V ifAbsent()); ^^^^^^^^^^^ /C:/Users/bwessels/WebstormProjects/angular.dart.tutorial-master/Chapter_01/web/packages/angular/core/scope.dart:74:1: Warning: 'Scope' doesn't implement 'addAll'. Try adding an implementation of 'addAll'. cl |
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
import "dart:js" as js; | |
import "dart:mirrors" as mirrors; | |
class JsProxy { | |
js.JsObject $js; | |
/// Creates the underlying JavaScript object from the [ctorFqn] and a list of [args] | |
JsProxy.proxy([String ctorFqn, List args = const []]) | |
: this.proxyJsObj( | |
ctorFqn == null ? |
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
import 'dart:io'; | |
import 'dart:async'; | |
// Name for the master repo | |
var UPSTREAM = 'origin'; | |
// Name of your fork | |
var REMOTE = 'vicb'; | |
void main() { |
OlderNewer