I hereby claim:
- I am greatwolf on github.
- I am greatwolf (https://keybase.io/greatwolf) on keybase.
- I have a public key whose fingerprint is D92A 7BD0 33DD 16FF E492 C6F7 949E 25AC 2A21 57D4
To claim this, I am signing this object:
LIBRARY MKL_RT.DLL | |
EXPORTS | |
_CAXPBY = CAXPBY | |
_CAXPY = CAXPY | |
_CAXPYI = CAXPYI | |
_CBBCSD = CBBCSD | |
_CBDSQR = CBDSQR | |
_CCOPY = CCOPY | |
_CDOTC = CDOTC |
--[[ | |
Simple arithmetic expression parser | |
using LPeg with re module | |
--]] | |
require 'table.clear' -- luajit extension | |
local dprint = dbg and print or function() end | |
local dump = require 'pl.pretty'.dump | |
local re = require 're' | |
re.updatelocale() |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
#define Describe(unitgroup) \ | |
struct unitgroup; \ | |
register_harness<unitgroup> unitgroup ## _registered; \ | |
struct unitgroup : public testharness<unitgroup> \ |
local dump = require 'pl.pretty'.dump | |
local function printboard(board) | |
if not board then return end | |
local n = #board | |
io.stdout:write ("\n", (" -"):rep(n), "\n") | |
for i = 1, n do | |
io.stdout:write "|" | |
for j = 1, n do | |
io.stdout:write(board[j][i] and "Q" or " ", "|") |
local seq = require 'pl.seq' | |
local function bench (n, func, ...) | |
assert (n > 0) | |
assert (type(func) == 'function') | |
local start = os.clock () | |
if n % 2 == 1 then | |
func (...) | |
n = n - 1 |
@echo off& setlocal& set x86=& set w32=system32 | |
rem http://paulhoule.com/msvc14/copymsvc14.bat May 28, 2016 | |
if "%~1"=="" echo Copies minimal files to run CL 14.0 (32 and 64 bit) | |
if "%~1"=="" echo First arg must be target directory& goto :eof | |
if exist "c:\Program Files (x86)\." set "x86= (x86)"& set w32=syswow64 | |
rem set vs1=c:\Program Files%x86%\Microsoft Visual Studio 14.0 | |
set vs1=c:\Program Files%x86%\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.10.24930 | |
set vs2=c:\Program Files%x86%\Windows Kits\10 | |
set vs3=c:\Program Files%x86%\Windows Kits\8.1 |
-- Monte Carlo Simulation of state machine in paper | |
-- Make one attempt to reach state 1000, fail at zero | |
function attempt (p) | |
local state = 2 | |
local ups = 1 | |
while state > 0 do | |
if state > 1000 then | |
-- attempt succeeded |
package = "LuaCOM" | |
version = "scm.moteus-1" | |
source = { | |
url = "https://github.com/moteus/luacom/archive/master.zip", | |
dir = "luacom-master", | |
} | |
description = { | |
summary = "Use COM libraries from Lua", | |
detailed = [[ | |
LuaCOM is an add-on library to the Lua language that allows Lua programs to use and implement objects that follow Microsoft's Component Object Model (COM) specification and use the ActiveX technology for property access and method calls. ]], |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/lua | |
--[[ | |
Intended for SteamOS v3.4.8 build 20230508.1. | |
Usage: | |
sudo steamos-readonly disable | |
sudo chmod +x patch_konsolecursor.lua | |
sudo patch_konsolecursor.lua /usr/lib/libkonsoleprivate.so.22.08.2 | |
sudo steamos-readonly enable |