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
exist = $(shell pkg-config --exists luajit; if [ $?=0 ]; then echo "exist"; else echo "notexist"; fi;) | |
ifeq ($(exist), exist) | |
override CFLAGS += $(shell pkg-config luajit --cflags) | |
override LFLAGS += $(shell pkg-config luajit --libs) | |
else | |
exist = $(shell pkg-config --exists lua; if [ $?=0 ]; then echo "exist"; else echo "notexist"; fi;) | |
ifeq ($(exist), exist) | |
override CFLAGS += $(shell pkg-config lua --cflags) | |
override LFLAGS += $(shell pkg-config lua --libs) | |
endif |
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
------------ | |
-- Title module. | |
-- Description can continue after simple tags, if you | |
-- like - but to keep backwards compatibility, say 'not_luadoc=true' | |
-- @module four | |
-- @author bob, james | |
-- @license MIT | |
-- @copyright InfoReich 2013 | |
-- @usage |
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 uv = require'luv' | |
local os, string = os, string | |
local print = print | |
io.read() | |
local host = arg[1] or '127.0.0.1' | |
local port = arg[2] and tonumber(arg[2]) or 8080 | |
local bps, concurrent, count, total_bytes = 0, 0, 0, 0 |
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 uv = require('luv') | |
local os = os | |
local print = print | |
---timer---------- | |
local function time_tick(ms, on_timer) | |
uv.timer_start(uv.new_timer(), ms, ms, on_timer) | |
end |
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
-- | |
-- LPeg-based XML parser. | |
-- | |
-- * Grammar term names are the same as in the XML 1.1 | |
-- specification: http://www.w3.org/TR/xml11/ | |
-- * Action functions are missing. | |
-- | |
-- Copyright (C) 2012 Adrian Perez <aperez@igalia.com> | |
-- Distribute under terms of the MIT license. | |
-- |
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
# | |
# Simple makefile to make indent on win32 systems. | |
# Requires: | |
# - gcc (mingw32) | |
# - Unixlike make (preferably gmake) | |
# | |
# Sudhi Herle (sherle@sta.samsung.com) | |
# |
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
/** | |
* @(#)文本1.java | |
* | |
* | |
* @author | |
* @version 1.00 2015/3/31 | |
*/ | |
import java.security.PrivateKey; | |
import java.io.*; | |
import java.security.*; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup | |
Condition="'$(NASMBeforeTargets)' == '' and '$(NASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'"> | |
<NASMBeforeTargets>Midl</NASMBeforeTargets> | |
<NASMAfterTargets>CustomBuild</NASMAfterTargets> | |
</PropertyGroup> | |
<ItemDefinitionGroup> | |
<NASM> | |
<OutputFormat>$(IntDir)%(FileName).obj</OutputFormat> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup> | |
<PropertyPageSchema | |
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" /> | |
<AvailableItemName Include="NASM"> | |
<Targets>_NASM</Targets> | |
</AvailableItemName> | |
</ItemGroup> | |
<PropertyGroup> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib"> | |
<Rule | |
Name="NASM" | |
PageTemplate="tool" | |
DisplayName="Netwide Assembler" | |
Order="200"> | |
<Rule.DataSource> | |
<DataSource | |
Persistence="ProjectFile" |
OlderNewer