Skip to content

Instantly share code, notes, and snippets.

View chrisdemetriad's full-sized avatar

Chris Demetriad chrisdemetriad

View GitHub Profile
import axios from "axios";
import { useEffect, useState, useRef } from "react";
import Beer from "./Beer";
import { v4 as uuidv4 } from "uuid";
const TOTAL_PAGES = 3;
const BEERS_PER_PAGE = 25;
const Beers = () => {
const [beers, setBeers] = useState([]);
import React from "react";
import Radio from "./Radio";
import Input from "./Input";
import Select from "./Select";
import Textarea from "./Textarea";
import Checkbox from "./Checkbox";
import Checkboxes from "./Checkboxes";
class Parent extends React.Component<any, any> {
constructor(props: any) {
const Telegraf = require('telegraf')
const bot = new Telegraf(process.env.BOT_TOKEN)
function unescapeHtml(str){
const map = {
amp: '&',
lt: '<',
le: '≤',
gt: '>',
ge: '≥',
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
06/2016 OR 08/2018 737 7373
@chrisdemetriad
chrisdemetriad / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@chrisdemetriad
chrisdemetriad / dabblet.css
Created January 26, 2012 21:52
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;