2014年3月8日

Open multiple Eclipse workspaces on the Mac

摘要: This seems to be the supported native method in OS X:cd /Applications/eclipse/open -n Eclipse.appBe sure to specify the ".app" version (directory); in OS X Mountain Lion erroneously using the symbolic link such asopen -n eclipse, might get one GateKeeper stopping access:"eclipse" 阅读全文

posted @ 2014-03-08 09:57 Step-BY-Step 阅读(424) 评论(0) 推荐(0) 编辑

Install wget in Mac OS X Without Homebrew or MacPorts

摘要: May 22, 2012 -31 CommentsThe command line tool wget lets you retrieve a group of files from FTP and HTTP protocols, it’s a very useful utility for web developers and powerusers to have around because it lets you do things like performquick and dirty site backupsand evenmirror websites locally.This a 阅读全文

posted @ 2014-03-08 07:19 Step-BY-Step 阅读(363) 评论(0) 推荐(0) 编辑

Embedding Lua in C: Using Lua from inside C.

摘要: Requirments:1: The Lua Sources.2: A C compiler - cc/gcc/g++ for Unix, and Visual C++ for Windows.Other compilers should under Windows, basically any C compiler - I will cover compiling under Windows at the end of the toturial.This tutorial will work under any OS which has a C compiler, and which Lua 阅读全文

posted @ 2014-03-08 06:51 Step-BY-Step 阅读(710) 评论(0) 推荐(0) 编辑

Lua 的数据结构

摘要: 1. Arrays:注意 #(data), # 加上 table名字 == size of 1 data = {}; 2 for y = 1 , 7 do --行 3 for x = 1 , 8 do --列 4 data[(y-1)*8+x] = (y-1)*8+x; 5 end 6 7 end 8 print(#(data)) 9 for y = 1 , 7 do10 11 print(data[(y-1)*8+1].." "..data[(y-1)*8+2].." "..data[(y-1)*8+3].." "12 ..data 阅读全文

posted @ 2014-03-08 03:25 Step-BY-Step 阅读(152) 评论(0) 推荐(0) 编辑

导航