lua 73

#Lua
linux下uname命令说明

当你输入uname不带参数时,它仅仅显示你的操作系统的名字。 # uname Linux 也许这还不能满足你的需要。所以你需要加上一些参数,来使uname显示你所需要的信息。 以下…

2015-12-17 873

#Lua
表达式运算(栈)

#include <stdio.h> #include <stdlib.h> #define STACK_INIT_SIZE 100 #define STA…

2015-12-17 272

#Lua
24 game

#!/usr/bin/env perl6 my @nums; grammar InfixNotation { rule TOP { ^ <expr> $ } token…

2015-12-17 302

#Lua
使用map和reduce函数将str转换为float

def str2float(s): def str2int(ns): return {'0': 0, '1': 1, '2': 2, '3': 3, '4': 4, '5': 5,…

2015-12-17 364

#Lua
哈弗曼树

#include<stdio.h> #include<stdlib.h> #include<string.h> #define UINT_MAX…

2015-12-17 481

#Lua
代理 必须实现和可实现@required 和@optional

@protocol DaiLi <NSObject> //默认是必须实现的 //必须实现 @required - (void)finshTask; - (void)do…

2015-12-17 937

#Lua
ViewChaos,强大的IOS UI开发工具,调试UI非常给给力

#if DEBUG public override class func initialize(){ struct UIWindow_SwizzleToken { static v…

2015-12-17 960

#Lua
串的模式匹配

#include<stdio.h> #include <stdlib.h> #include<string.h> #define max 100…

2015-12-17 511

#Lua
一级嵌套m3u8文件制作

#include<fcntl.h> #include<stdio.h> #include<string.h> #define M3U8_CFG …

2015-12-17 116

#Lua
ffmpeg切割TS脚本带加密

#!/bin/bash # Be warned!!! there is an "rm -r" at the end of this script. I do not guarant…

2015-12-17 248

#Lua
音乐播放

- (void)prepareMusic:(NSUInteger)index{ if (self.currentIndex != index) { self.currentInde…

2015-12-17 782

#Lua
线条飞鸟动画-理解动画的三个关键变换-平移、缩放、旋转

-- main -- Use this function to perform your initial setup function setup() displayMode(FU…

2015-12-14 410