The following are the different variables that can be overwritten in the user makefiles.
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
| $(function(){ | |
| $("body").mousemove(function(event){ | |
| $("#console").html("parent: " + event.pageX + ", " + event.pageY); | |
| }); | |
| var iframe = $("<iframe>").load(function(){ | |
| iframe.contents().mousemove(function(event){ | |
| var position = iframe.position(); | |
| $("#console").html("child : " + (event.pageX + position.left) + ", " + (event.pageY + position.top)); | |
| }); |
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
| #include "Hello.h" | |
| #include <iostream> | |
| using namespace std; | |
| void Hello::greeting() | |
| { | |
| if (formal) | |
| cout << "Hello, nice to meet you!" << endl; | |
| else | |
| cout << "What's up?" << endl; |
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
| module Huffman( | |
| Tree(..), | |
| tree, | |
| encode, | |
| decode | |
| ) where | |
| import Data.Ord | |
| import Data.List (sortBy) |
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
| #include <iostream> | |
| #include <string> | |
| #include <chrono> | |
| #include <thread> | |
| #include <cstdlib> | |
| #include <sstream> | |
| enum Color | |
| { | |
| NONE = 0, |
http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/
- 0 – go to the starting of the current line.
- ^ – go to the first non blank character of the line.
- $ – go to the end of the current line.
- g_ – go to the last non blank character of the line.
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am botverse on github. | |
| * I am fonz (https://keybase.io/fonz) on keybase. | |
| * I have a public key whose fingerprint is 7C0B D8A0 7AC7 42B6 AD45 ED8E 248E DC81 4065 CF8F | |
| To claim this, I am signing this object: |
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 { observable } from 'mobx'; | |
| import mount from './mount'; | |
| const state = { @observable n: 0 }; | |
| const onclick = () => state.n++; | |
| const view = (state) => <div> | |
| <h1>clicked {state.n} times</h1> | |
| <button onclick={onclick}>click me!</button> |
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
| npm install --save \ | |
| babel-core \ | |
| babel-loader \ | |
| babel-preset-es2015 \ | |
| babel-preset-stage-1 \ | |
| babel-plugin-transform-decorators-legacy \ | |
| babel-plugin-transform-h-jsx \ | |
| esutils \ | |
| mobx \ | |
| virtual-dom \ |
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 { observable } from 'mobx'; | |
| const state = { @observable n = 0; } |
OlderNewer