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
diff --git a/Library/Formula/openjpeg.rb b/Library/Formula/openjpeg.rb | |
index cbd6bbb..14c8d98 100644 | |
--- a/Library/Formula/openjpeg.rb | |
+++ b/Library/Formula/openjpeg.rb | |
@@ -2,18 +2,19 @@ require 'formula' | |
class Openjpeg < Formula | |
homepage 'http://www.openjpeg.org/' | |
- url 'https://openjpeg.googlecode.com/files/openjpeg-1.5.1.tar.gz' | |
- sha1 '1b0b74d1af4c297fd82806a9325bb544caf9bb8b' |
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 UnicodeSyntax #-} | |
import Data.Ratio | |
type ℤ = Integer | |
type ℚ = Ratio ℤ | |
type 𝔹 = Bool |
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
import Bindings.Groonga | |
import Foreign.C.String | |
import Foreign.C.Types() | |
import Foreign.Ptr | |
import Foreign.Storable() | |
import System.Directory | |
main :: IO () | |
main = do | |
-- init context |
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
diff --git a/server/spec/app/controllers/action_controller_spec.rb b/server/spec/app/controllers/action_controller_spec.rb | |
new file mode 100644 | |
index 0000000..75ebee7 | |
--- /dev/null | |
+++ b/server/spec/app/controllers/action_controller_spec.rb | |
@@ -0,0 +1,12 @@ | |
+require 'spec_helper' | |
+ | |
+describe "ActionController" do | |
+ context "when not login" do |
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
--- Eff.hs.orig 2013-11-04 00:40:54.049122147 +0900 | |
+++ Eff.hs 2013-11-04 00:25:32.619144784 +0900 | |
@@ -1,4 +1,5 @@ | |
{-# LANGUAGE RankNTypes #-} | |
+{-# LANGUAGE CPP #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving, DeriveFunctor #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
@@ -11,6 +12,9 @@ | |
module Eff where |
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
using System; | |
using System.Text; | |
class program | |
{ | |
static void Main(){ | |
string key = (string)"\xde\xad\xbe\xef\01"; | |
string str = "hogehoge", base64str, cryptedstr, decryptedstr; | |
byte[] bs; |
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
-- Initial hs-IRC.cabal generated by cabal init. For further | |
-- documentation, see http://haskell.org/cabal/users-guide/ | |
name: test | |
version: 0.1.0.0 | |
-- synopsis: | |
description: | |
test SSL | |
license: MIT | |
-- license-file: LICENSE |
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
#https://github.com/loarabia/Clang-tutorial | |
$ wget http://llvm.org/releases/3.0/llvm-3.0.tar.gz; tar xvf llvm-3.0.tar.gz | |
$ cd llvm-3.0.src/tools/ | |
$ wget http://llvm.org/releases/3.0/clang-3.0.tar.gz; tar xvf clang-3.0.tar.gz | |
$ mv clang-3.0.src/ clang/ ; cd ../..; mkdir build; cd build | |
$ ../llvm-3.0.src/configure ; make install |
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
-- Initial Lens-Aeson-test.cabal generated by cabal init. For further | |
-- documentation, see http://haskell.org/cabal/users-guide/ | |
name: Lens-Aeson-test | |
version: 0.1.0.0 | |
-- synopsis: | |
-- description: | |
license: MIT | |
license-file: LICENSE | |
author: cosmo0920 |
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
% ./dist/build/test-aeson-lens/test-aeson-lens | |
"127.0.0.1" | |
"27017" |