Skip to content

Instantly share code, notes, and snippets.

View noxifoxi's full-sized avatar

Foxi noxifoxi

View GitHub Profile
@noxifoxi
noxifoxi / Silex.md
Last active December 17, 2015 23:38
Ziele von Silex

Silex

Allgemeine Ziele von Silex

  • Schnell
  • Leichtgewicht (Nur essentielle Funktionen)
  • Modular (Plugins/Module)

Konkretere Ziele

@noxifoxi
noxifoxi / Combinations.php
Created February 17, 2013 15:47
Something weird I tried
<?php
header('Content-Type: text/plain');
class Combinations {
public static function GetIt($String) {
echo '[n, s]'."\n";
self::GetCombinations(str_split($String), 0, 0);
}
private static function GetCombinations($a, $n, $s) {
<?php
/**
* @author SilexBB
* @copyright 2011 - 2012 Silex Bulletin Board
* @license GPL version 3 or higher <http://www.gnu.org/licenses/gpl-3.0.html>
*/
/**
* Returns a new PDO instance based on the settings of the configuration
* @return PDO