fib := method(n,
if(n==0, 0,
if(n==1, 1,
fib(n-1)+fib(n-2)))
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
import android.os.SystemClock; | |
import android.support.annotation.NonNull; | |
import android.view.MotionEvent; | |
import android.view.View; | |
import java.util.Timer; | |
import java.util.TimerTask; | |
/* | |
NOTE |
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
android.support.test.espresso.PerformException: Error performing 'single click' on view 'with id: com.example.espressodefect:id/fullscreen_content'. | |
at android.support.test.espresso.PerformException$Builder.build(PerformException.java:83) | |
at android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:70) | |
at android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:53) | |
at android.support.test.espresso.ViewInteraction.runSynchronouslyOnUiThread(ViewInteraction.java:185) | |
at android.support.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:115) | |
at android.support.test.espresso.ViewInteraction.perform(ViewInteraction.java:87) | |
at com.example.espressodefect.FullscreenActivityTest.testClickingOnLayout(FullscreenActivityTest.java:21) | |
at java.lang.reflect.Method.invokeNative(Native Method) | |
at java.lang.reflect.Method.invoke(Method.java:525) |
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
#Sample code | |
#Hello world | |
"Hello world!" print | |
#Factorial | |
factorial := method(n, if(n == 1, 1, n * factorial(n - 1))) | |
99 bottles of beer |
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 dictionary+=~/.vim/roget13a.txt | |
set thesaurus+=~/.vim/mthesaur.txt | |
"" | |
"" Janus setup | |
"" | |
" Define paths | |
let g:janus_path = escape(fnamemodify(resolve(expand("<sfile>:p")), ":h"), ' ') | |
let g:janus_vim_path = escape(fnamemodify(resolve(expand("<sfile>:p" . "vim")), ":h"), ' ') |
- nice group box with a label -- http://msdn.microsoft.com/en-us/library/windows/apps/hh986964.aspx
- flat tabs -- http://msdn.microsoft.com/en-us/library/windows/apps/hh986965.aspx
- http://www.cuttherope.ie/dev/ --
background: none repeat scroll 0 0 #EBE3D9;
There is an excellent adapter for git <--> tfs interaction. It is called git-tfs. Using this I could use my favorite git efficiently. Once I am done with my work I could push to tfs. This gist explains the steps I followed and brief git tfs command reference.
Run the below as Admin
CoffeeScript study notes
- compiles into javascript
- encourages good use of javascript's good parts
CoffeeScript study notes
- compiles into javascript
- encourages good use of javascript's good parts