Skip to content

Instantly share code, notes, and snippets.

View ibrahimcanbaz's full-sized avatar

ibrahim canbaz ibrahimcanbaz

  • Earth
View GitHub Profile
@ibrahimcanbaz
ibrahimcanbaz / sort-things-out.js
Last active May 26, 2016 11:08
Javascript sort on your locale.
var arr = [{"_id":"ADANA","plaka":1},
{"_id":"ADIYAMAN","plaka":2},
{"_id":"ÇANAKKALE","plaka":17},
{"_id":"ÇANKIRI","plaka":18},
{"_id":"ÇORUM","plaka":19},
{"_id":"İSTANBUL","plaka":34},
{"_id":"İZMİR","plaka":35},
{"_id":"ŞANLIURFA","plaka":63}
];
@ibrahimcanbaz
ibrahimcanbaz / App.js
Last active December 9, 2017 19:00
Navigation App
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
</View>
);
@ibrahimcanbaz
ibrahimcanbaz / Drawer.js
Last active December 9, 2017 19:19
Lets navigate
import React from 'react';
import { StyleSheet, Text,View ,TouchableOpacity} from 'react-native';
import {FontAwesome} from '@expo/vector-icons';
const Drawer = (props) => (
<View style={styles.container}>
<View>
<Text style={[styles.text,{fontSize:30,textDecorationLine:'underline'}]}>
MENU</Text>
<Text onPress={()=>{