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
There is a work around | |
1. add intel_ips to the blacklist | |
blacklist intel_ips ==> to /etc/modprobe.d/blacklist.conf | |
2. add i915 and intel_ips to /etc/modules | |
i915/nintel_ips ==> to /etc/modules | |
http://crunchbang.org/forums/viewtopic.php?id=26105 |
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
pandoc: error while loading shared libraries: libbibutils.so.2: cannot open shared object file: No such file or directory |
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
Download the GHC sources (git clone ...) | |
Run sync-all get. Presumably, this is a script to run multiple git commands for different repositories, as GHC consists of multiple ones. | |
Change whatever files I want changed. | |
Compile, run testsuite. | |
Commit, then somehow issue a pull request. | |
http://www.reddit.com/r/haskell/comments/1efw5l/how_to_start_working_on_ghc/ |
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
Recap | |
1. Initialize | |
$ git init | |
2. Add Changes | |
$ git add . | |
3. Committing a change | |
$ git commit -m "Some message" |
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
Typically the monadic IO goes like this: | |
RunReset | |
main :: IO () | |
main = putStrLn =<< getContents | |
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
module Main where | |
import Control.Applicative ((<$>)) | |
import Control.Monad (msum) | |
import qualified Data.Text as T | |
import Happstack.Server (dir, nullConf, nullDir, simpleHTTP, seeOther, toResponse) | |
import Happstack.Server.Heist (heistServe, initHeistCompiled) | |
import Heist (getParamNode) | |
import Heist.Compiled (Splice, yieldRuntimeText) | |
import qualified Text.XmlHtml as X |
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
pexp(6, 1/5, lower.tail=FALSE) | |
# approximate exponential quantiles | |
qexp(.25, 1/5) |
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
fay-0.9.2.0 depends on uniplate-1.6.7 which failed to install. | |
language-ecmascript-0.10 depends on uniplate-1.6.7 which failed to install. | |
uniplate-1.6.7 failed during the building phase. The exception was: | |
ExitFailure 1 |
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
require 'shoes' | |
Shoes.app do | |
background "#DFA" | |
para "Welcome to Shoes" | |
end |
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
saasbook@saasbook:~/projects/tasks/app$ bundle exec guard | |
Guard uses NotifySend to send notifications. | |
Guard is now watching at '/home/saasbook/projects/tasks/app' | |
Guard::RSpec is running, with RSpec 2! | |
Running all specs | |
/home/saasbook/projects/tasks/minitest/ruby/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `load': no such file to load -- /home/saasbook/projects/tasks/app/spec (LoadError) | |
from /home/saasbook/projects/tasks/minitest/ruby/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `block in load_spec_files' | |
from /home/saasbook/projects/tasks/minitest/ruby/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `map' | |
from /home/saasbook/projects/tasks/minitest/ruby/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb:746:in `load_spec_files' | |
from /home/saasbook/projects/tasks/minitest/ruby/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:22:in `run' |