Skip to content

Instantly share code, notes, and snippets.

View hanuz06's full-sized avatar

Andrey Li hanuz06

  • Edmonton, Canada
View GitHub Profile
@hanuz06
hanuz06 / NewScreen
Created May 2, 2020 20:40
NewScreen
import React, { useEffect, useState, useCallback } from "react";
import {
ScrollView,
StyleSheet,
TouchableOpacity,
Text,
TextInput,
View,
Button,
} from "react-native";
@hanuz06
hanuz06 / Location Selector
Created May 2, 2020 20:39
Location Selector
import React, { useState, useEffect } from "react";
import {
StyleSheet,
Text,
View,
ActivityIndicator,
Alert,
Button,
} from "react-native";
import * as Location from "expo-location";
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
@hanuz06
hanuz06 / Redux
Created August 13, 2019 03:12 — forked from ChuckJonas/Redux
React React
[react-redux-typescript-guide](https://github.com/piotrwitek/react-redux-typescript-guide)
[FAQ](http://redux.js.org/docs/FAQ.html)
[Redux Actions in typescript](https://spin.atomicobject.com/2017/07/24/redux-action-pattern-typescript/)
```typescript
export enum TypeKeys {
INC = 'INC',
DEC = 'DEC',
OTHER_ACTION = '__any_other_action_type__'
}

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH