Skip to content

Instantly share code, notes, and snippets.

View Sammykhaleel's full-sized avatar
💭
React - React Native - Node.js - Redux

Sammy khaleel Sammykhaleel

💭
React - React Native - Node.js - Redux
View GitHub Profile
var pokemonRepository = (function () {
var repository = [];
var apiUrl = "https://pokeapi.co/api/v2/pokemon/?limit=900";
function add(pokemon) {
if (
typeof pokemon === "object" &&
"name" in pokemon &&
"detailsUrl" in pokemon
) {
repository.push(pokemon);
body {
font: 14px "Century Gothic", Futura, sans-serif;
margin: 20px;
}
ol, ul {
padding-left: 30px;
}
.board-row:after {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
import React from "react";
import PropTypes from "prop-types";
import { connect } from "react-redux";
import Form from "react-bootstrap/Form";
import { setFilter } from "../../actions/actions";
function VisibilityFilterInput(props) {
return (
const express = require("express"),
bodyParser = require("body-parser"),
uuid = require("uuid");
const morgan = require("morgan");
const app = express();
const mongoose = require("mongoose");
const Models = require("./models.js");
const passport = require("passport");
require("./passport");
import React, { Component } from "react";
import {
StyleSheet,
Text,
View,
Button,
TextInput,
ImageBackground,
Platform,
} from "react-native";
import React from "react";
import axios from "axios";
import { BrowserRouter as Router, Route } from "react-router-dom";
import { LoginView } from "../login-view/login-view";
import { RegistrationView } from "../registration-view/registration-view";
import { MovieCard } from "../movie-card/movie-card";
import { MovieView } from "../movie-view/movie-view";
import { ProfileView } from "../profile-view/profile-view";
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link
rel="shortcut icon"
href="http://wikipedia.com/static/favicon/wikipedia.ico"
/>
<title>
import React, { Component } from "react";
import {
StyleSheet,
Text,
View,
Button,
TextInput,
ImageBackground,
Platform,
} from "react-native";