Skip to content

Instantly share code, notes, and snippets.

name: Branch Status
on:
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main
#!/bin/bash
for file in supabase/migrations/*.sql; do
name=$(basename -- "$file")
supabase migration repair --status reverted "${name%%_*}"
supabase migration repair --status applied "${name%%_*}"
done
@sweatybridge
sweatybridge / bugsm.cpp
Created August 27, 2018 22:49
Unexpected behaviour in boost msm
#include <iostream>
#include <gtest/gtest.h>
#ifdef __APPLE__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#include <boost/msm/back/state_machine.hpp>
#include <boost/msm/front/euml/common.hpp>
@sweatybridge
sweatybridge / designer.html
Last active August 29, 2015 14:12
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
@sweatybridge
sweatybridge / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">