Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
// ==UserScript== | |
// @name WIPS | |
// @namespace pn | |
// @description expand result | |
// @include http://www.wipsglobal.com/servicecn/toc/basicResult.wips | |
// @grant none | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js | |
// @require https://raw.githubusercontent.com/placemarker/jQuery-MD5/master/jquery.md5.js | |
// @version 0.3.0 | |
// ==/UserScript== |
; | |
; AutoHotkey Version: 1.x | |
; Language: English | |
; Platform: Win9x/NT | |
; Author: A.N.Other <[email protected]> | |
; | |
; Script Function: | |
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) | |
; |
Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
Original article by Mark Leair, PGI Compiler Engineer
Note: This article was revised in March 2015 and again in January 2016 to bring it up-to-date with the production software release and to correct errors in the examples.
This is Part 2 of a series of articles:
# -*- coding: utf-8 -*- | |
''' | |
LabelMe JSON format -> YOLO txt format | |
save dataset in dataset/ | |
output will be saved in result/ | |
''' | |
import json | |
import os |
# Using applescript, sets the focus + foreground on a window by its title | |
# That works on OSX 12.0.1. | |
# @author Aurelien Scoubeau <[email protected]> | |
# @edit John Lyu <[email protected]> | |
import argparse | |
import subprocess | |
# find the app or window back and activate it | |
def xfocus(title): |
import asyncio | |
from asgiref.sync import async_to_sync | |
async def async_func(value): | |
asyncio.sleep(0.1) | |
return value | |
def nested_sync_func(): |