Skip to content

Instantly share code, notes, and snippets.

View alexwhin's full-sized avatar
:octocat:

Alex Whinfield alexwhin

:octocat:
View GitHub Profile
@alexwhin
alexwhin / Countries array (ISO 3166-1)
Last active March 11, 2022 14:40
Countries array (ISO 3166-1)
[
"AF",
"AX",
"AL",
"DZ",
"AS",
"AD",
"AO",
"AI",
"AQ",
import { diskStorage } from "multer";
import { FileInterceptor } from "@nestjs/platform-express";
import { ApiResponse, ApiConsumes, ApiBody } from "@nestjs/swagger";
import {
Res,
Get,
Post,
Param,
Controller,
[
"Academic Librarian",
"Accountant",
"Accounting Technician",
"Actuary",
"Adult Nurse",
"Advertising Account executive",
"Advertising Account planner",
"Advertising Copywriter",
"Advice Worker",
@alexwhin
alexwhin / Checkbox.tsx
Last active February 8, 2020 11:45
Checkbox component for Formik (https://github.com/jaredpalmer/formik)
import React from "react";
import { Field, FieldProps } from "formik";
interface Props {
id: string;
name: string;
className: string;
}
export const Checkbox = ({ id, name, className }: Props): JSX.Element => (
[
"Agoura Hills",
"Alhambra",
"Arcadia",
"Artesia",
"Avalon",
"Azusa",
"Baldwin Park",
"Bell November",
"Bell Gardens",