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
set fileencodings=utf-8 | |
set title | |
set encoding=utf-8 | |
set showcmd | |
set showmode | |
set cmdheight=1 | |
set autoread | |
set cursorline |
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 | |
namespace Foobar\NewsBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Foobar\NewsBundle\Entity\Item; | |
use Foobar\NewsBundle\Entity\Subscriber; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\Validator\Constraints\Email; |
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 | |
namespace Foobar\NewsBundle\Listener; | |
use Doctrine\ORM\Event\LifecycleEventArgs; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
use Foobar\NewsBundle\Entity\Item; | |
use Foobar\NewsBundle\Entity\Subscriber; | |
/** |
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
159.148.0.0/16 | |
85.254.0.0/17 | |
85.254.128.0/18 | |
79.135.128.0/19 | |
62.84.0.0/19 | |
194.8.42.0/24 | |
195.244.128.0/20 | |
85.234.160.0/19 | |
84.38.128.0/20 | |
91.188.32.0/19 |
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
package recfun | |
import common._ | |
import scala.annotation.tailrec | |
object Balance { | |
def balance(chars: List[Char]): Boolean = { | |
@tailrec | |
def loop(chars: List[Char], open: Int): Boolean = { | |
chars match { | |
case Nil => open == 0 |
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
ace.require("ace/lib/net").loadScript("https://raw.github.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() { | |
e = document.getElementById("ace-editor").env.editor; | |
e.setKeyboardHandler(ace.require("ace/keyboard/vim").handler); | |
}) |
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
alert((![]+[])[+[]]+(![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]); |
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
/** Fix navigation bar width */ | |
.global-nav .container { max-width: 910px; } | |
/** Hide Me & DM menu items */ | |
.global-nav li.profile, .global-nav .dm-nav { display: none; } | |
/** Remove bottom border from active menu item and just set text color to black instead */ | |
#global-actions > li > a { border-bottom: none; } | |
#global-actions > li:hover > a, #global-actions>li.active>a { color: black; } |
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
ace.require("ace/lib/net").loadScript("https://raw.github.com/ajaxorg/ace-builds/master/src-min-noconflict/keybinding-vim.js", function() { | |
e = $(".file-contents").codeEditor().editor; | |
e.setKeyboardHandler(ace.require("ace/keyboard/vim").handler); | |
}) |
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
implicit def flipImplicitlyCurried[A,B,C](f: A => B => C) = (b: B) => (a: A) => f(a)(b) |
OlderNewer