I hereby claim:
- I am markuman on github.
- I am notagain (https://keybase.io/notagain) on keybase.
- I have a public key whose fingerprint is A4DB C3B3 6840 A60C E0C0 5AEB 162F D657 5F72 1CD3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Contributor: markuman <[email protected]> | |
pkgname=secure-certificates | |
pkgver=0 | |
pkgrel=0 | |
pkgdesc="Trust no one" | |
arch=(any) | |
license=('WTFPL') | |
url=('https://127.0.0.1') | |
conflicts=('ca-certificates') |
#include <lua.h> | |
#include <lualib.h> | |
#include <lauxlib.h> | |
int main() { | |
int result; | |
lua_State *L = luaL_newstate(); | |
luaL_openlibs(L); | |
// a = {7, 6, 8, 3, 4, 1} | |
result = luaL_loadfile(L, "array.lua") || lua_pcall(L, 0, 0, 0); |
#include <lua.h> | |
#include <lualib.h> | |
#include <lauxlib.h> | |
int main() { | |
int result; | |
lua_State *L = luaL_newstate(); | |
luaL_openlibs(L); | |
// a = {7, 6, 8, 3, 4, 1} | |
result = luaL_loadfile(L, "array.lua") || lua_pcall(L, 0, 0, 0); |
#include <lua.h> | |
#include <lualib.h> | |
#include <lauxlib.h> | |
int main() { | |
// open lua stack | |
int result; | |
lua_State *L = luaL_newstate(); | |
luaL_openlibs(L); |
#include <stdio.h> | |
#include <lua.h> | |
#include <lualib.h> | |
#include <lauxlib.h> | |
main(int argc, char *argv[]) { | |
lua_State *L = luaL_newstate(); | |
luaL_openlibs(L); | |
return luaL_dofile(L, argv[1]); | |
} |
#!/bin/bash | |
JSON=$(curl --silent http://127.0.0.1:8080/job/mutest/lastBuild/testReport/api/json?pretty=true) | |
# get fail counts | |
FC=$(echo $JSON| sed s#,#\\n#g|grep failCount|awk -F : '{print$2}') | |
# get pass counts | |
PC=$(echo $JSON| sed s#,#\\n#g|grep passCount|awk -F : '{print$2}') | |
NC=$(echo $FC "/" $PC|sed 's/ //g') |
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Jun 10 20:42:05 2015 | |
@author: markus | |
""" | |
import matlab.engine | |
DEFAULT_WORKER = 1 | |
## MATLAB PYTHON ENGINE IS NOT THREAD SAFE!! |
#!/bin/bash | |
## usage | |
# ./track <PID> <logname> | |
## info | |
# <logname> will be saved in /tmp/ (logging format is simple csv) | |
# track the memory usage of a process ID + zram usage | |
# zramOD_B is original datasize in bytes | |
# zramCD_B is compressed datasize in bytes |
%% Copyright (C) 2012 - 2015 Markus Bergholz <[email protected]> | |
%% | |
%% This program is free software; you can redistribute it and/or modify it under | |
%% the terms of the GNU General Public License as published by the Free Software | |
%% Foundation; either version 3 of the License, or (at your option) any later | |
%% version. | |
%% | |
%% This program is distributed in the hope that it will be useful, but WITHOUT | |
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |