- Open the Glitch project
- Open the Advanced Options and click Open Console
- Run this command:
git fetch --all && git reset --hard origin/master && refresh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd "$(dirname "$0")/.." | |
set +ex | |
# Setup tunnel | |
ssh -D 9090 -N -f <user>@somehostintheus.com | |
# Open chrome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PaywallHelper: PaywallDelegate { | |
func shouldTryToRestore() { | |
Purchases.shared.restoreTransactions { (purchaserInfo, error) in | |
if let purchaserInfo = purchaserInfo { | |
if let entitlement = purchaserInfo.entitlements["membership"] { | |
if entitlement.isActive { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Certificate | |
on: | |
schedule: | |
- cron: 32 4 * * 3 | |
workflow_dispatch: | |
jobs: | |
request_certificate: | |
runs-on: ubuntu-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createContext, FC, useReducer } from 'react'; | |
/** | |
* Context hook | |
* | |
*/ | |
type ExampleContextType = { | |
value: string , |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This setup assumes a single team install | |
PORT=3000 | |
SLACK_VERIFY_TOKEN="PUT YOUR SLACK VERIFY TOKEN HERE" | |
APP_TOKEN="PUT YOUR APP TOKEN HERE" | |
BOT_TOKEN="PUT YOUR BOT TOKEN HERE" | |
BOT_USER_ID="PUT YOUR BOT USER ID HERE" | |
# Note: There can be no spaces between the variable name, the equal sign and the value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
repository(name: "what-html-goes-in-commits", owner: "anglinb") { | |
ref(qualifiedName: "master") { | |
target { | |
... on Commit { | |
id | |
history(first: 5) { | |
edges { | |
node { | |
messageHeadlineHTML |
NewerOlder