I hereby claim:
- I am danielres on github.
- I am danielres (https://keybase.io/danielres) on keybase.
- I have a public key ASA7WN7ywCsV8R3AKSdH014O0nX8-sWUv4VlO2YxGMWZMwo
To claim this, I am signing this object:
| node_modules | |
| dist | |
| coverage | |
| .eslintrc.js |
| import { ApolloServer, gql } from "apollo-server-micro" | |
| import cookieSession from "cookie-session" | |
| const ONE_HOUR = 60 * 60 * 1000 | |
| const typeDefs = gql` | |
| type Query { | |
| hello: String! | |
| } | |
| ` |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Finds a process by regexp then terminates | |
| # it, including all subprocesses | |
| # usage: ./terminate <PROCESS_NAME_OR_PATTERN> | |
| kill -TERM -- -$(pgrep -f "$1") | |
| // Adapted from: https://github.com/microsoft/TypeScript/issues/27425 | |
| // This workaround should become deprecated by: https://github.com/microsoft/TypeScript/pull/29818 | |
| import * as React from "react"; | |
| Person.defaultProps = { telephone: "222-333-4444" }; | |
| function Person({ name, telephone }: { name: string; telephone: string }) { | |
| return ( | |
| <div> |
| sleep 10 | |
| curl --retry 8 --retry-connrefused -v localhost:1234 |
| #include <Servo.h> | |
| Servo myservo; | |
| // servo & lasers | |
| float pos = 0; | |
| #define LA1 10 | |
| #define LA2 11 | |
| float minDeg = 80; |
| fallocate -l 1G /swapfile && \ | |
| chmod 600 /swapfile && \ | |
| mkswap /swapfile && \ | |
| sudo swapon /swapfile && \ | |
| swapon --show |
| # lib/omniauth/facebook.rb | |
| require 'httparty' | |
| module Omniauth | |
| class Facebook | |
| include HTTParty | |
| # The base uri for facebook graph API | |
| base_uri 'https://graph.facebook.com/v2.3' |
| <?xml version="1.0"?> | |
| <xsl:stylesheet | |
| version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
| xmlns:ex="http://exslt.org/dates-and-times" | |
| extension-element-prefixes="ex"> | |
| <xsl:output | |
| method="xml" |