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
//https://thebookofshaders.com/edit.php | |
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform vec2 u_resolution; | |
uniform vec2 u_mouse; | |
uniform float u_time; |
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
/* | |
* Copyright (c) 2001 Fabrice Bellard | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
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/python2.7 | |
import unittest | |
import httplib | |
import BaseHTTPServer | |
# run these tests with: python -m unittest database_server | |
class TestDatabaseServer(unittest.TestCase): | |
def test_get(self): | |
h = httplib.HTTPConnection('localhost:4000') | |
h.request("GET","/set?somekey=somevalue") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 sys | |
filename = sys.argv[1] | |
# Takes a STV blt file. Stripe out invalid ballots and leading numbers () first. | |
f = open(filename,'r') | |
totals = {} | |
end_votes_reached = False | |
candidates = [] | |
seats = None |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
http://openstreetmap.org/relation/1124439 | |
http://openstreetmap.org/relation/112444 | |
http://openstreetmap.org/relation/112534 | |
http://openstreetmap.org/relation/112620 | |
http://openstreetmap.org/relation/2144459 | |
http://openstreetmap.org/relation/2538329 | |
http://openstreetmap.org/relation/253967 | |
http://openstreetmap.org/relation/3179629 | |
http://openstreetmap.org/relation/9477479 | |
http://openstreetmap.org/relation/946480 |