lua 73

#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 365

#Lua
哈弗曼树

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

2015-12-17 482

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

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

2015-12-17 938

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

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

2015-12-17 961

#Lua
串的模式匹配

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

2015-12-17 512

#Lua
一级嵌套m3u8文件制作

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

2015-12-17 117

#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 249

#Lua
音乐播放

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

2015-12-17 783

#Lua
高效的数字滚动插件

<!doctype html> <html> <head> <title>数字滚动插件 by Mantou</title>…

2015-12-17 609

#Lua
爬去 ios app 下载量的代码

package com.wecash.bi.job; import java.io.IOException; import java.util.HashMap; import ja…

2015-12-17 935

#Lua
微信移动支付V3开发详细教程服务端采用.net mvc webapi(C#)

/// <summary> /// 生成微信支付签名,生成结果直接在可以端提交即可 /// </summary> /// <returns>&l…

2015-12-17 589

#Lua
图片下载

@property (nonatomic,strong) UIButton *btnOne; __block typeof (_btnOne) one = _btnOne; dis…

2015-12-17 137