Skip to content

Instantly share code, notes, and snippets.

View jaytaph's full-sized avatar
:shipit:
Calculating pi

Joshua Thijssen jaytaph

:shipit:
Calculating pi
View GitHub Profile
➜ saffire git:(namespacing) ✗ ./build/release/saffire hello.sf
Hello world!
Hi Bar!
_ _
| | (_)
_____ _____ ___ _ __ | |_ _ ___ _ __
/ _ \ \/ / __/ _ \ `_ \| __| |/ _ \| `_ \
| __/> < (_| __/ |_) | |_| | (_) | | | |
\___/_/\_\___\___| .__/ \__|_|\___/|_| |_|
| |
<?php
namespace Rainbow\SecurityBundle\Security\Firewall;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\Core\User\UserCheckerInterface;
use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
use Psr\Log\LoggerInterface;
search paths: [['.', './modules', '/usr/share/saffire/modules']]
/wwwroot/main.sf (namespace: '::')
----------------------------------------------
import io;
import framework;
import notexisting;
io.print("hello world");
<?php
require_once "vendor/autoload.php";
use Symfony\Component\Config;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\Yaml\Yaml;
class MyConfig implements ConfigurationInterface
{
Array
(
[name] => /1.3.6.1.4.1.311.60.2.1.3=US/1.3.6.1.4.1.311.60.2.1.2=Delaware/businessCategory=Private Organization/serialNumber=2158113/C=US/postalCode=94043/ST=California/L=Mountain View/street=350 Ellis Street/O=Symantec Corporation/OU=Infrastructure Operations/CN=knowledge.verisign.com
[subject] => Array
(
[UNDEF] => Array
(
[0] => US
[1] => Delaware
)
@jaytaph
jaytaph / .gitconfig
Created November 21, 2014 21:19
.gitconfig
[color]
diff = auto
status = auto
branch = auto
[core]
whitespace = ignore-all-space
autocrlf = input
excludesfile = /home/jthijssen/.gitignore_global
pager = less -R -X
{
"name": "jaytaph/sec",
"require": {
"symfony/security": "2.5.x"
},
"autoload" : {
"psr-0" : { "Noxlogic" : "vendor" }
},
"authors": [
{
86937 isset
43159 echo
31697 empty
29252 substr
26146 count
24248 is_array
22572 strlen
19365 sprintf
18090 unset
16584 str_replace
5948 https://github.com/eryx/php-framework-benchmark
1324 https://github.com/symfony/symfony
988 https://github.com/xpressengine/xe-core
780 https://github.com/LExpress/symfony1
622 https://github.com/dupondje/PHP-Push-2
615 https://github.com/nfephp-org/nfephp
481 https://github.com/phpbb/phpbb
479 https://github.com/michael-romer/zf-boilerplate
472 https://github.com/phpmyadmin/phpmyadmin
464 https://github.com/yiisoft/yii
https://github.com/a1phanumeric/PHP-MySQL-Class
https://github.com/aaronpk/Google-Voice-PHP-API
https://github.com/abhinavsingh/JAXL
https://github.com/abraham/twitteroauth
https://github.com/achingbrain/php5-akismet
https://github.com/adamgriffiths/ag-auth
https://github.com/adlawson/vfs.php
https://github.com/adoy/PHP-OAuth2
https://github.com/aerialls/Plum
https://github.com/afreiday/php-waveform-png