This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// seed.c /////////////////////////////////////////////////////////////////// | |
// seed is a lua executable which loads data and lua code embedded in the | |
// executable. Specifically, it loads from a zip file concatenated to its | |
// executable. Initially /init.lua from the zip file is run, and a loader is | |
// added to package.loaders so that 'require' searches inside the zip file. If | |
// a module is not found in the archive, then the default loaders are used. | |
// | |
// In addition to using 'require', lua files can be loaded with seed.loadfile, | |
// which is like loadfile except that it gets the file from inside the archive. | |
// Basic reading of arbitrary files from the archive is supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// seed.c /////////////////////////////////////////////////////////////////// | |
// seed is a lua executable which loads data and lua code embedded in the | |
// executable. Specifically, it loads from a zip file concatenated to its | |
// executable. Initially /init.lua from the zip file is run, and a loader is | |
// added to package.loaders so that 'require' searches inside the zip file. If | |
// a module is not found in the archive, then the default loaders are used. | |
// | |
// In addition to using 'require', lua files can be loaded with seed.loadfile, | |
// which is like loadfile except that it gets the file from inside the archive. | |
// Basic reading of arbitrary files from the archive is supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
-- Code copied from Premake-stable (scripts/embed.lua) | |
--- | |
function iif(cond, iftrue, iffalse) | |
if cond then return iftrue else return iffalse end | |
end | |
local function stripfile(fname) | |
local f = io.open(fname) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem | |
rem from http://forum.lazarus.freepascal.org/index.php/topic,23343.msg139270.html | |
rem | |
rem Simple script to relocate lazarus to use the current driveletter as | |
rem path, and put basic portable app support in lazarus. | |
rem | |
rem Assumes lazarus is in drvletter:\lazarus and config in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local concat, format = table.concat, string.format | |
------------------------------------------------------------------------- | |
--- Pretty Printing | |
------------------------------------------------------------------------- | |
function extended_tostring(o, qstring) | |
local otype = type(o) | |
if otype == "table" then | |
local result = {} | |
for k,v in pairs(o) do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nimrod c --clibdir:. --dynlibOverride:pcre --PassL:-lpcre -d:release matchwords.nim | |
import re | |
var patt = re".*[a-zA-Z]+.*" | |
stdout.write("> ") | |
var inputs = stdin.readLine | |
while inputs != "": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Module imports | |
var _ = require('underscore'), | |
test = require('shelljs').test, | |
which = require('shelljs').which, | |
listdir = require('shelljs').ls, | |
exec = require('shelljs').exec; | |
// suppress output of commands | |
require('shelljs').config.silent = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// oban - a set of less mixins that give you a starting point when starting a new project | |
// v0.21.1 | |
// https://github.com/firstandthird/oban | |
// copyright First+Third 2015 | |
// MIT License | |
// | |
// translated for Stylus by armornick | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* min | |
* a tiny framework that makes websites pretty | |
* https://github.com/owenversteeg/min | |
* | |
* translated to stylus by armornick | |
*/ | |
// __var-lib.scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! PocketGrid 1.1.0 | |
* Copyright 2013 Arnaud Leray | |
* MIT License | |
* | |
* translated to stylus by armornick | |
*/ | |
/* Border-box-sizing */ | |
$use-border-box { | |
&, &:after, &:before { |
OlderNewer