geth, Solidity (like JS), truffle compile
(compiles *.sol
files to .js
), truffle deploy
, morden.ether.camp for transaction & account visualization,...
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
""" | |
# Minimal Python Webserver (adopted from https://de.wikipedia.org/wiki/Socket_(Software)#Server) | |
## Notes | |
- It does not close the socket on exit (e.g. on interrupt) => it may take some time until the OS releases the port for reuse. | |
- It does not speak HTTP yet - you need to implement it yourself. | |
- It does not read the full client request, just the first 1024 bytes. Then, it sends its answer. When implementing HTTP, you need to first read all headers (=> until you receive `\r\n\r\n` = blank line). Using the headers, you need to identify whether a message body will follow. In the easiest case (other cases are out of scope for here), a `Content-Length` header signalizes how many bytes of message body will follow. With this number, you know how many bytes you need to read to receive the full request. | |
- Don't name the file `socket.py`. This will result in a (Python-specific) error. |
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
// ==UserScript== | |
// @name refined-confluence | |
// @namespace https://markusdosch.com/ | |
// @version 0.1 | |
// @downloadURL https://gist.githubusercontent.com/markusdosch/3e00a2e5741390d3c1328e4050dff6fd/raw/ | |
// @updateURL https://gist.githubusercontent.com/markusdosch/3e00a2e5741390d3c1328e4050dff6fd/raw/ | |
// @description Refined Confluence: Search in current Confluence space by default (and not in all spaces) & only search for pages (not all types of results) | |
// @author Markus Dosch | |
// @match https://confluence.check24.de/* | |
// @grant none |
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
// ==UserScript== | |
// @name refined-confluence | |
// @namespace https://markusdosch.com/ | |
// @version 0.1 | |
// @description Refined Confluence: Automatically select the search filter to search in current Confluence space | |
// @author Markus Dosch | |
// @match https://confluence.*.de/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Kicktipp Data Export | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @downloadURL https://gist.github.com/markusdosch/9c8f12864d36f9b2301774c2f4aacc8c/raw/ | |
// @updateURL https://gist.github.com/markusdosch/9c8f12864d36f9b2301774c2f4aacc8c/raw/ | |
// @description Export all Kicktipp data with Ctrl+Shift+K when on Export page | |
// @author Markus Dosch | |
// @match https://www.kicktipp.de/*/spielleiter/datenexport | |
// @grant none |
- https://open.gl/introduction looks very good
Double Buffering (from http://www.glfw.org/docs/latest/quick.html)
GLFW windows by default use double buffering. That means that each window has two rendering buffers; a front buffer and a back buffer. The front buffer is the one being displayed and the back buffer the one you render to.
When the entire frame has been rendered, the buffers need to be swapped with one another, so the back buffer becomes the front buffer and vice versa.
glfwSwapBuffers(window);
- I followed the first option from http://doc.gitlab.com/ee/ci/docker/using_docker_build.html (setup a shell executor)
- For being able to pull git submodules, I followed the guide "SSH keys when using the Shell executor" on http://doc.gitlab.com/ce/ci/ssh_keys/README.html
NewerOlder