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 pglast | |
from pglast.printer import IndentedStream | |
import pglast.printers | |
import pytest | |
from walker import walker | |
CREATE_SQL = """ | |
CREATE TABLE public."order" ( |
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
# -*- coding: utf-8 -*- | |
# :Project: journey -- dialog component | |
# :Created: lun 16 mar 2020, 02:56:55 | |
# :Author: Alberto Berti <alberto@metapensiero.it> | |
# :License: GNU General Public License version 3 or later | |
# :Copyright: © 2020 Alberto Berti | |
# | |
defmodule Journey.Manage.Components.Dialog do | |
use Phoenix.LiveComponent |
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
let | |
localPkgs = import <nixpkgs> {}; | |
# nixos-18.09-small Released on 2019-03-02 | |
stableRev = "80754f5cfd69d0caf8cff6795d3ce6d99479abde"; | |
mkNixOSURL = rev: | |
"https://github.com/NixOs/nixpkgs-channels/archive/${rev}.tar.gz"; | |
stableURL = mkNixOSURL stableRev; | |
stableBall = fetchTarball { | |
url = stableURL; | |
sha256 = "1v8g68gqgij389dssh6ry5x1zlhpgcgwjac0rgrh8146gf9hq74f"; |
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
<?php | |
$CONFIG = array ( | |
'mail_domain' => '@mailDomain@', | |
'mail_smtpmode' => 'sendmail', | |
'datadirectory' => '@dataDir@', | |
'apps_paths' => | |
array ( | |
0 => | |
array ( | |
'path' => '@apps2Dir@', |
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
// ==UserScript== | |
// @name Lasersaur Misumi inventory lookup for build steps | |
// @namespace laserlab | |
// @include http://www.lasersaur.com/manual/build/step* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
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 for managing multiple servers or anything with start() and stop() methods | |
class ServerRack(object): | |
def __init__(self, servers): | |
self.servers = servers | |
def start(self): | |
started = [] | |
try: |
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
none |