Skip to content

Instantly share code, notes, and snippets.

{"defaultCommand":"g","bgColor":"#282828","textColor":"#ebdbb2","fontSize":"1.75em","clockSize":"2em","showClock":false,"militaryClock":false,"alwaysNewTab":false,"gistID":"","links":[{"command":"ws","url":"http://willschenk.com","search":""}],"caretColor":"auto"}
@wschenk
wschenk / docker-compose.yaml
Created March 10, 2021 20:04
docker-compose for postgres and pgadmin
version: "3.7"
services:
postgres:
image: postgres:13.1
environment:
POSTGRES_PASSWORD: awesome_password
ports:
- "5432:5432"
volumes:
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>This is my title</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100 text-gray-900">
<div class="bg-blue-500 pt-16 pb-20 shadow-lg">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>This is my title</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100 text-gray-900">
<div class="bg-blue-500 pt-16 pb-20 shadow-lg">
@wschenk
wschenk / directory.base.html
Created February 4, 2020 13:43
directory.base.html
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Directory</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<div class="bg-blue-500 pt-16 pb-20 shadow-lg">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Will Schenk</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100 text-gray-800">
<div class="bg-blue-500 pt-16 pb-20 shadow-lg">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Will Schenk</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<div>

Keybase proof

I hereby claim:

  • I am wschenk on github.
  • I am wschenk (https://keybase.io/wschenk) on keybase.
  • I have a public key ASCKmkixaVHudYnan9g4a5zJLhS4Q5WFh5eDEB0Lh28Ulwo

To claim this, I am signing this object:

@wschenk
wschenk / common.gyp.patch
Created December 10, 2017 14:58
Patching node-gyp config for termux
~/.node-gyp/8.9.3/include/node$ diff common.gypi ~/storage/downloads/common.gypi
--- common.gypi
+++ /home/storage/downloads/common.gypi
@@ -90,8 +90,8 @@
'ldflags': [ '-Wl,-bbigtoc' ],
}],
['OS == "android"', {
- 'cflags': [ '-fPIE' ],
- 'ldflags': [ '-fPIE', '-pie' ]
+ 'cflags': [ '-fPIC' ],
@wschenk
wschenk / App.js
Created December 5, 2017 22:14
Final App.js for authenticated route example
import React, { Component } from 'react';
import {
BrowserRouter as Router,
Route,
Link,
Redirect,
Switch
} from 'react-router-dom';
import AuthenticatedRoute from './authenticated_route';