layout: post title: "Using Google Apps Scripts for a simple backend" date: 2016-01-30 18:00:00 +0100 tags:
- apps
- go categories:
- go
layout: post title: "Using Google Apps Scripts for a simple backend" date: 2016-01-30 18:00:00 +0100 tags:
package events | |
import ( | |
"fmt" | |
"reflect" | |
"sync" | |
) | |
type Event interface { | |
Clone() Event |
#!/usr/bin/python | |
import sys | |
import urllib2 | |
import argparse | |
from random import randint | |
import unicodedata as ud | |
cachePath = '/mnt/data/scripts/bashcache.txt' |
func extractFormValues(reader io.Reader, names []string) (map[string]string, error) { | |
result := make(map[string]string, len(names)) | |
doc, err := html.Parse(reader) | |
if err != nil { | |
return nil, err | |
} | |
var rec func(*html.Node) | |
rec = func(n *html.Node) { | |
if n.Type == html.ElementNode && n.Data == "input" { | |
var name, value string |
0.000 2015-07-20 12:18:53; Factorio 0.12.0 (Build 103, linux64) | |
0.000 Operating system: Linux | |
0.000 Read data path: /mnt/data/Software/factorio/data | |
0.000 Write data path: /mnt/data/Software/factorio | |
0.000 Binaries path: /mnt/data/Software/factorio/bin | |
0.454 Graphics options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: X 2] [Graphics quality: normal] [Video memory usage: all] | |
0.498 Loading mod core 0.0.0 (data.lua) | |
0.501 Loading mod base 0.12.0 (data.lua) | |
14.711 Initial atlas bitmap size is 16384 | |
Factorio crashed. Generating symbolized stacktrace, please wait ... |
package net.maciekmm; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.HashMap; | |
public class Drawer { | |
public enum Clazz { |