How to use:
- Install Python
- Install Python Watchdog:
pip install watchdog
- Put
undertailer.py
next toundertale.ini
- Run it from the commandline:
python undertailer.py
- Play undertale and watch the commandline output
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.mysql', | |
'HOST': 'localhost', | |
'NAME': 'db', | |
'USER': 'root', | |
'PASSWORD': '', | |
'OPTIONS': { | |
'charset': 'utf8mb4', | |
'init_command': 'set collation_connection=utf8mb4_unicode_ci', |
#[derive(Debug)] | |
struct Point { | |
x: f32, | |
y: f32, | |
} | |
#[derive(Debug)] | |
struct Rectangle { | |
p1: Point, | |
p2: Point, |
$ brew update | |
warning: unable to unlink CONTRIBUTING.md: Permission denied | |
warning: unable to unlink SUPPORTERS.md: Permission denied | |
fatal: cannot create directory at '.github': Permission denied | |
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master | |
$ brew update | |
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- mach (LoadError) | |
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' | |
from /usr/local/Library/Homebrew/extend/pathname.rb:2:in `<top (required)>' |
Uncaught Error: Invariant Violation: Relay.QL: Expected query `viewer` to be empty. For example, use `node(id: $id)`, not `node(id: $id) { ... }`. |
fragment on Viewer { | |
files(first: 10) { | |
edges { | |
node { | |
id, | |
url, | |
}, | |
}, | |
}, | |
} |
{ | |
"errors": [ | |
{ | |
"message": "Argument \"input\" expected type \"UploadFileByUrlInput!\" but got: {url: foo}.", | |
"locations": [ | |
{ | |
"line": 1, | |
"column": 35 | |
} | |
] |
curl 'http://localhost:4000/graphql' -X POST -H 'Pragma: no-cache' -H 'Origin: http://localhost:4000' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36' -H 'content-type: application/json' -H 'Accept: */*' -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:4000/?' -H 'Connection: keep-alive' -H 'Content-Length: 280' --compressed |
import 'babel/polyfill'; | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
class FileUploadPage extends React.Component { | |
handleSubmit(event) { | |
event.preventDefault(); | |
console.log(this.refs.url.value.trim()) | |
} |
let Users = [] | |
function getUser(name) { | |
return Users.find(user => user.name == name) | |
} | |
function upsertUser(name) { | |
let user = getUser(name) | |
if (!user) { | |
user = { |
How to use:
pip install watchdog
undertailer.py
next to undertale.ini
python undertailer.py