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
from OpenGL import GL | |
from PyQt5 import QtWidgets, QtCore, QtGui, QtOpenGL | |
from OpenGL.GL.ARB.texture_rg import GL_R32F | |
import numpy as np | |
import ctypes | |
import time | |
w, h = 400, 400 | |
class TestWidget(QtOpenGL.QGLWidget): |
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
testing |
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
# author: tmwhere.com | |
# --- third party dependencies | |
PIXI = require('pixi.dev') | |
_ = require('lodash') | |
noise = require('perlin').noise | |
Quadtree = require('quadtree').Quadtree | |
seedrandom = require('seedrandom') | |
# --- |
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
def write_message(self, uuid, msg): | |
state = self.states[uuid] | |
with state.get_discussion(redis, msg.id_discussion) as disc: | |
disc.write(msg) | |
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
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |
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
<div id="detail_0" style="position: absolute; left: 154px; width: 201px; top: 6px; z-index: 0;"><div class="line_1" id="detail_0_0"><div id="detail_txt"><h2>KIA</h2></div><img id="line_0_0" src="http://static.lacentrale.fr/images/lc_fr/pixel.gif" style="width:199px;height:1px;"></div><div class="line_1" id="detail_0_1"><div id="detail_txt"><h2>VENGA</h2></div><img id="line_0_1" src="http://static.lacentrale.fr/images/lc_fr/pixel.gif" style="width:199px;height:1px;"></div><div class="line_1" id="detail_0_2"><div id="detail_txt">1.4 crdi 90 active</div><img id="line_0_2" src="http://static.lacentrale.fr/images/lc_fr/pixel.gif" style="width:199px;height:1px;"></div><div class="line_1" id="detail_0_3"><img style="cursor:move;width: 199px;height: 149px;" id="compar_18609883" onmousedown="detail[0].Drag();return false;" src="http://photo.lacentrale.fr/photo/lc/E1/01/25/E10125198-vign.jpg"><img src="images/lc_fr/multi-photo.gif" alt="Cette annonce a plusieurs photos" title="Cette annonce a plusieurs photos" style="m |