Skip to content

Instantly share code, notes, and snippets.

View alien3d's full-sized avatar

hafizan alien3d

View GitHub Profile
package com.example;
import android.support.annotation.Nullable;
import com.facebook.react.ReactPackage;
import com.reactnativenavigation.NavigationApplication;
import com.oblador.vectoricons.VectorIconsPackage;
import com.facebook.CallbackManager;
import com.facebook.FacebookSdk;
import com.facebook.reactnative.androidsdk.FBSDKPackage;
import { Navigation } from 'react-native-navigation';
import { registerScreens } from './screens';
registerScreens();
Navigation.startSingleScreenApp({
screen: {
navBarHidden: true,
screen: 'idcms.LoginScreen', // unique ID registered with Navigation.registerScreen
import { Navigation } from 'react-native-navigation';
import { registerScreens } from './screens';
registerScreens();
Navigation.startSingleScreenApp({
screen: {
navBarHidden:true,
screen: 'idcms.LoginScreen', // unique ID registered with Navigation.registerScreen
import React, { Component } from 'react';
import {
StyleSheet,
Text,
TextInput,
View,
TouchableOpacity,
Alert,
Button,
Image,
import { Navigation } from 'react-native-navigation';
import { registerScreens } from './screens';
registerScreens();
Navigation.startSingleScreenApp({
screen: {
navBarHidden: true,
screen: 'idcms.ListingScreen',
import { Navigation } from 'react-native-navigation';
import LoginScreen from './LoginScreen';
import RegisterScreen from './RegisterScreen';
import DrawerScreen from './DrawerScreen';
import DashboardScreen from './DashboardScreen';
import ListingScreen from './ListingScreen';
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h"
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" />
</head>
<style>
.carousel-inner>.item>img, .carousel-inner>.item>a>img {
display: block;
max-width: 100%;
line-height: 1;
width: 100%;
import React from 'react';
import { ImageEditor, Button, Image, View } from 'react-native';
import { ImagePicker } from 'expo';
export default class ImagePickerExample extends React.Component {
state = {
image: null,
};
render() {
using System;
/**
* Dummy Games..
* Rulez:
* 1) You SHALL NOT declare any additional using directives other than "using System".
* Yes..
* 2) You are allowed to using the string class related functions, like: insert(),
* appened, trim()and etc for the implementation
* / not sure what is insert,append anyway.. i prefer base function like math,system,string,string builder
* 3) You SHALL NOT invoke the other .NET specific libraries to perform the conversion except rule 2.