WinPlex stores demos (solutions) in *.slt
files.
SLT files are stored in Solution
subfolder in the game directory. Every SLT file named as:
<levelset-file-name>.<level-index>.slt
For example:
#!/bin/bash | |
SELF="$( basename "$0" )" | |
# new-line char is skipped here | |
while read -r LINE; do | |
while [ -n "$LINE" ]; do | |
# skip whitespaces | |
[[ "$LINE" =~ ^[$' \t\r\n']+ ]] && { | |
PART="${BASH_REMATCH[0]}" |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use 5.010; | |
use Getopt::Long; | |
sub usage(;$) { | |
my ($exit) = @_; |
#!/bin/bash | |
################################################################################ | |
# This launcher will proxy arguments to one of already running browsers, | |
# or will run new browser. | |
################################################################################ | |
# | |
# I currently use two browsers. First primary (Opera) is for work, and it's full | |
# of opened tabs. Second (Vivaldi) is for any another things when First is not | |
# running I just don't want to start it with all of it's opened tabs. |
[core] | |
filemode = true | |
eol = lf | |
safecrlf = false | |
autocrlf = input | |
symlinks = true | |
sharedRepository = all | |
whitespace = blank-at-eol,space-before-tab,blank-at-eof,tab-width=4 | |
editor = nano |
import { Action } from 'redux'; | |
import { AsyncAction, AsyncFulfilledAction } from './redux-thunk-promise'; | |
import { ApiResult } from 'api/...'; | |
export const FETCH = '.../FETCH'; | |
export const FETCH_PENDING = '.../FETCH_PENDING'; | |
export const FETCH_FULFILLED = '.../FETCH_FULFILLED'; | |
export const FETCH_REJECTED = '.../FETCH_REJECTED'; | |
export type FetchAction = AsyncAction<typeof FETCH, ApiResult>; |
/* | |
* Quill 1.* cannot next block elements inside <li> including nested <ul>,<ol>. | |
* To achieve nested lists it uses flat linear lists with CSS class `ql-indent-\d+` on <li>. | |
* Nesting <ul> inside <ol> or vice-versa cause topmost list to break in two adjacent lists. | |
* | |
* There is the only solution: fix bad HTML after getting it from Quill and break it back before | |
* passing to Quill again for editing. | |
*/ | |
const mkNode = (tagName = 'div') => document.createElement(tagName); |
<?php | |
/** | |
* Compare performance of alternative functions | |
* | |
* Cases functions in `$functions` are all should perform the same task, but in different | |
* implementation. This benchmark function runs every cases functions and display a report to | |
* STDOUT, so you can compare performance. | |
* | |
* Example: |