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
:set prompt " >>> " | |
let ghciEscapeShellArg arg = "'" ++ concatMap (\x -> if x == '\'' then "'\"'\"'" else [x]) arg ++ "'" | |
:def! search return . (":! hoogle --color --count=20 " ++) . ghciEscapeShellArg | |
:def! doc return . (":! hoogle --info " ++) . ghciEscapeShellArg |
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
#!/bin/bash | |
# URL = http://mac.pcbeta.com/viewthread.php?tid=118050&extra= | |
# run: sudo ./pd8_trialreset.sh | |
rm -rfd /Library/Preferences/Parallels | |
rm -rfd ~/Library/Preferences/Parallels | |
rm -rfd /private/var/.Parallels_swap | |
rm -rfd ~/Library/Preferences/com.parallels* | |
rm -rfd /private/var/db/Parallels |
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
angular.module('bDatepicker', []). | |
directive('bDatepicker', function(){ | |
return { | |
require: '?ngModel', | |
restrict: 'A', | |
link: function($scope, element, attrs, controller) { | |
var updateModel; | |
updateModel = function(ev) { | |
element.datepicker('hide'); | |
element.blur(); |
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
{-# LANGUAGE TemplateHaskell, DeriveDataTypeable, StandaloneDeriving #-} | |
module CloudTest where | |
import Remote | |
import Control.Applicative | |
import Control.Monad | |
import Control.Monad.Trans |
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
{-# LANGUAGE TemplateHaskell, DeriveDataTypeable, StandaloneDeriving, NamedFieldPuns #-} | |
module CloudTest where | |
import Remote | |
import Remote.Call | |
import Control.Applicative | |
import Control.Monad | |
import Control.Monad.Trans |
NewerOlder