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
-- psql $HASURA_GRAPHQL_DATABASE_URL -f dynsql.sql | |
\set ON_ERROR_STOP on | |
drop schema if exists meta cascade; | |
create schema meta; | |
set search_path to 'meta', 'public'; | |
drop table if exists db_column; | |
drop table if exists db_table; |
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
<html> | |
<head> | |
<title>{{ template "title" . }}</title> | |
</head> | |
<body> | |
{{ template "content" . }} | |
</body> | |
</html> |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
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 ApplicationController < ActionController::Base | |
cattr_accessor :template_resolver | |
def self.template_resolver | |
@template_resolver = @template_resolver || TemplateResolver.new | |
end | |
prepend_view_path self.template_resolver | |
end |
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
var gulp = require('gulp'); | |
var uglify = require('gulp-uglify'); | |
var concat = require('gulp-concat'); | |
var templates = require('gulp-angular-templatecache'); | |
var minifyHTML = require('gulp-minify-html'); | |
// Minify and templateCache your Angular Templates | |
// Add a 'templates' module dependency to your app: | |
// var app = angular.module('appname', [ ... , 'templates']); |