Frontend Development
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
(when (configuration-layer/package-usedp 'haskell) | |
(add-hook 'haskell-mode-hook 'imenu-add-menubar-index)) |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
// http://en.wikipedia.org/wiki/Bridge_pattern | |
trait DrawingAPI { | |
def drawCircle(x:Double, y: Double, radius:Double) | |
} | |
class DrawingAPI1 extends DrawingAPI { | |
override def drawCircle(x: Double, y: Double, radius: Double) = { | |
printf("API1.circle at %f:%f radius %f\n", x, y, radius) | |
} |
object ScalaJSExample extends js.JSApp { | |
case class Person(name: String, address: String) | |
def main() = { | |
println("help scala") | |
} | |
// removed permissions | |
} |
dart --version | |
Dart VM version: 1.6.0-dev.9.7 (Tue Aug 26 00:14:16 2014) on "macos_x64" | |
mkdir -p /tmp/t | |
cd /tmp/t | |
export PUB_CACHE=/tmp/t | |
pub cache add chrome --version 0.6.1 --all | |
cd hosted/pub.dartlang.org/chrome-0.6.1/ | |
unset PUB_CACHE |
hg clone http://hg.openjdk.java.net/graal/graal | |
cd graal | |
# http://mail.openjdk.java.net/pipermail/graal-dev/2013-December/001255.html | |
# uncomment if xm barks about not finding 1.7. | |
# export EXTRA_JAVA_HOMES=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home | |
export DEFAULT_VM=server | |
export COMPILER_WARNINGS_FATAL=false | |
export USE_CLANG=true | |
export LFLAGS="-Xlinker -lstdc++" | |
export USE_PRECOMPILED_HEADER=0 |
#!/bin/sh | |
# one way (older scala version will be installed) | |
# sudo apt-get install scala | |
#2nd way | |
sudo apt-get remove scala-library scala | |
wget www.scala-lang.org/files/archive/scala-2.10.3.deb | |
sudo dpkg -i scala-2.10.3.deb | |
sudo apt-get update |
NOTE: 534 stars, 106 forks. I love you all. Please contribute tips and edits back to this cheat sheet -- email's will.sargent@gmail.com and you can treat gists like git repositories and send git diffs.
Every client-side applications has to talk to REST APIs. At the moment AngularDart does not provide any high-level abstractions to help you do that. You can send http requests, but that's it.
This post is about a spike I did a few days ago to explore possible ways of building such a library. It also shows that you can do quite a bit in just one hundred lines of Dart.
alias gdbnew='/usr/local/Cellar/gdb/7.6/bin/gdb' |