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
| /** | |
| * Created by hmxdeveloper on 02/07/15. | |
| */ | |
| var React = require('react-native'), | |
| icons = require('../../utils/icons'), | |
| database = require('../../data/database'), | |
| DatabaseUpdateMixin = require('../../mixins/DatabaseUpdateMixin'), | |
| _ = require('../../translations'); |
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
| // This works | |
| renderPage: function (Page, index) { | |
| var isLast = index == this.props.pages.length - 1; | |
| var pageStyles = [styles.page]; | |
| if (isLast) { | |
| pageStyles.push(styles.last); | |
| } | |
| var arguments = this.props.arguments[index] || {}; | |
| console.log(pageStyles); | |
| return <React.View key={index}> |
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 "greenhouserenderer.h" | |
| #include <QDebug> | |
| GreenhouseRenderer::GreenhouseRenderer(QQuickItem *parent) | |
| : QQuickPaintedItem(parent) | |
| { | |
| setAcceptedMouseButtons(Qt::LeftButton); | |
| } |
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
| "use strict"; | |
| var zlib = require('zlib'), | |
| fs = require('fs'); | |
| var str = "H4sIAAAAAAAA/6Va7W6bQBB8FSu/IfJynDGK/CyRZaMEycWV7VStLN69PkhTm72PYfKnkQqT3Z25m9tbsj8uDsfd9rB43Vyb7tJe2ua8uV677Y9m83S+nLbt2/slv/04PGU/j+fb82O3uf7e5JL9uf1j+z5Lv2yn7+4+Tr+ave/XFsOryz7bt6dmN/y3RUJ85mNm5GOAfFY6nXJGOgKEKN2ba7LgGuF07d4s7yMUUISBJnuPq3BcdY8z6SyXKsn/RLu383P71m2noOcx1rONAHfv27bzwmWErx7hko678gIhdmpFDiR3rbSQNKdSKFIxBSuHMyTO+pUPkpmbkU37yCZEi3CJSiTPGEzjsCx1mgLxWWggtnWlZoFaehBoWaCJABOmVtyjVlC4gRiZv7Q9GmL1aSWgtebBYfFYAWn9SEJjsifjEXyS+pEwsjpShJjmidOhmM0kuTA9+5w1zxnxZLbpRv0ohiO1Yx2XtfjomRL2W3F9auFHJdqsXIrxhJfHEx4zbNEGY+DI5Rh4GerwUgYV8LVUWPONevWyhXalhkG7SxUpaJF+amFpKp6icacFag3b3Xq6gCd6em8Iq0SayaU/XlGE6G2HE5lowu1UUmj9KBSUo0oRuDxJ6aMEq20wL7YfZtththtmm2EGR/LiyiNkINlUZGKdG6kBKQGrAAXjUFyKikZuh8Ox5h+5nNDcYiR3DLlBST8g7Yd0u5i5RhpDd41Y+1Hg6VgyfZKrsfJbVyps7YuKNYX1dGHjvShfqwpq0aDeSoFprBYVHm5WflJT7UCQlyAw/2zOJtPfGQdmTY6BArPt1AKo4ulCDTNTrM4Zv3jXETUjg/VvKFOosDNaPAZXhXEJ13v8MAReZ4cbFzOAtGR9ZooD52UKx+4sfE5KwCLqpZpDAsZyQsE4FJcixwezdTw7Bx47EhwqOkjvw6NJYJ4yK |
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
| class Person { | |
| private: | |
| float x; | |
| float y | |
| public: | |
| Person(){ | |
| EventListener::instance()->registerEvent("buttonPress", "up", &Person::forward, this); | |
| } | |
| forward(){ |
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
| [ | |
| { | |
| "type": "mining-drill", | |
| "name": "basic-mining-drill", | |
| "icon": "__base__/graphics/icons/basic-mining-drill.png", | |
| "flags": [ | |
| "placeable-neutral", | |
| "player-creation" | |
| ], | |
| "minable": { |
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
| use network; | |
| macro_rules! network_test { | |
| ($name:ident, $initial:expr, $binary:expr) => { | |
| #[test] | |
| fn $name () { | |
| let original = $initial; | |
| let binary = original.to_binary(); | |
| let original_from_binary = network::Network::from_binary(&binary).expect("able to decode binary"); | |
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
| extern crate clang; | |
| use clang::*; | |
| fn main() { | |
| // Acquire an instance of `Clang` | |
| let clang = Clang::new().unwrap(); | |
| // Create a new `Index` | |
| let index = Index::new(&clang, false, false); |
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
| package iproductive.hortimax.com.test; | |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.provider.MediaStore; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| import android.widget.Toast; |
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
| On branch master | |
| Changes to be committed: | |
| (use "git reset HEAD <file>..." to unstage) | |
| new file: src/clientHandler.rs | |
| Changes not staged for commit: | |
| (use "git add/rm <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) |
OlderNewer