I hereby claim:
- I am jaydp17 on github.
- I am jaydp17 (https://keybase.io/jaydp17) on keybase.
- I have a public key ASBKlOwLUwjtzzkbgFPATsDdC-rt1IaiXsdi612ryZFnhQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| apply plugin: 'com.android.application' | |
| apply plugin: 'com.android.databinding' | |
| apply plugin: 'kotlin-android' | |
| android { | |
| compileSdkVersion 23 | |
| buildToolsVersion "23.0.1" | |
| defaultConfig { | |
| applicationId "com.example.mvptestkotlin" |
| sudo du -d 5 -h -x / | grep '^\s*[0-9\.]\+G' |
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <ImageView | |
| android:id="@+id/imageView" | |
| android:layout_width="512dp" | |
| android:layout_height="512dp" |
| public class DummyActivity extends ActionBarActivity { | |
| File f; | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.dummylayout); |
| var mors = require('mors'), | |
| mosca = require('mosca'), | |
| app = mors(); | |
| app.all('*', function (req, res, next) { | |
| res.topic(req.topic).publish(req.payload); | |
| }); | |
| var ascoltatore = { | |
| //using ascoltatore |
| var mosca = require('mosca') | |
| var ascoltatore = { | |
| //using ascoltatore | |
| type: 'mongo', | |
| url: 'mongodb://localhost:27017/mqtt', | |
| pubsubCollection: 'ascoltatori', | |
| mongo: {} | |
| }; |
To manage openshift apps we'll be using rhc.
Follow the first 3 steps from here
Creating a rails app
| require.config({ | |
| baseUrl : "bower_components/codemirror", | |
| }); | |
| require(['lib/codemirror', 'addon/hint/show-hint'], function(CodeMirror, sh) { | |
| console.log(CodeMirror.defaults); | |
| console.log(CodeMirror.showHint); | |
| }); |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |