This file contains hidden or 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 sqlalchemy | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy import Column, Integer, String, ForeignKey | |
from sqlalchemy.orm import sessionmaker, relationship, backref | |
from sqlalchemy.ext.associationproxy import association_proxy | |
import uuid | |
engine = sqlalchemy.create_engine('sqlite:///:memory:') | |
Base = declarative_base() | |
This file contains hidden or 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
Last login: Fri Aug 27 19:34:44 on ttys001 | |
cd % kanel@MacBooker ~ % cd Documents/go24/pos.graphql-engine | |
kanel@MacBooker pos.graphql-engine % docker-compose logs | |
Attaching to posgraphql-engine_graphql-engine_1, posgraphql-engine_postgres_1 | |
graphql-engine_1 | {"timestamp":"2021-08-27T12:45:38.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"migrations server port env var is not set, defaulting to 9691"}} | |
graphql-engine_1 | {"timestamp":"2021-08-27T12:45:38.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"server timeout is not set, defaulting to 30 seconds"}} | |
graphql-engine_1 | {"timestamp":"2021-08-27T12:45:38.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-startup","info":"starting graphql engine temporarily on port 9691"}} | |
graphql-engine_1 | {"timestamp":"2021-08-27T12:45:38.000+0000","level":"info","type":"startup","detail":{"kin |
This file contains hidden or 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 | |
### usage ./convert.sh game | |
## where game is baseName of the export | |
if [ ! "$1" ]; then | |
read -p 'Game name: ' game | |
else | |
game="$1" | |
fi |
This file contains hidden or 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
#!/usr/bin/env python | |
import math | |
#quadraticpy | |
# quadratic formula: (-b + or - sqrt(b^2 - 4ac)) / 2a | |
# define constant | |
# output is limited to 2 decimal places, can be changed below | |
dp = "%.2f" |
This file contains hidden or 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 | |
set -e | |
CURRENT_NAME="CurrentName" | |
CURRENT_OTP="current_name" | |
NEW_NAME="NewName" | |
NEW_OTP="new_name" |
This file contains hidden or 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
` | |
/**********************HELLO WORLD*************************** | |
* Author: Nel | |
* History | |
* 2014/03/27 first create Traicode | |
*************************************************************/ | |
#include "stdio.h" | |
#include "conio.h" | |