Pinned Loading
-
MySQL 8.0 SQLAlchemy suffix with SKI...
MySQL 8.0 SQLAlchemy suffix with SKIP LOCKED 1# Use compiler extension to change SELECT FOR UPDATE with SKIP LOCKED, supported since MySQL 8.
2# As of SQLAlchemy v1.2 SKIP LOCKED is only compiled for Oracle and PostgreSQL backends.
3# ref:
4# https://dev.mysql.com/doc/refman/8.0/en/innodb-locking-reads.html
5# https://docs.sqlalchemy.org/en/latest/core/selectable.html#sqlalchemy.sql.expression.Select.with_for_update
-
Example of inplace line editing (upd...
Example of inplace line editing (update line by line) on a big file 1def iterate_rainbow(file):
2import mmap
3import contextlib
4import csv
5from io import StringIO
-
advisory locking example in Mono C#
advisory locking example in Mono C# 1using Mono.Unix.Native;
2using System.IO;
34static bool TryLockProcess(string file_to_lock)
5{
-
roflcopter
roflcopter 1main(i,n){for(puts("\n L .--^--\nLOL= [] \\\n L \\______]\n __I__I__/");n=i?"ROFL":" ";i^=1)printf("\033[1;1H %s:LOL:%s",n,n);}
-
openlayers custom cluster strategy
openlayers custom cluster strategy 1OpenLayers.Strategy.MinvuCustomCluster = OpenLayers.Class(OpenLayers.Strategy.Cluster, {
2cluster: function (event) {
3var isPan = (event && event.type == "moveend" && !event.zoomChanged);
4if ((!event || event.zoomChanged || isPan) && this.features) {
5var resolution = this.layer.map.getResolution();
-
rcpsp_simulated_annealing
rcpsp_simulated_annealing PublicSimulated Annealing implementation for the Resource Constrained Project Scheduling Problem
C++ 1
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.