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
- (id)jkobjectAtIndex:(NSUInteger)index { | |
if (index >= self.count) { | |
YTLog(@"数组越界了------%@", [self class]); | |
return nil; | |
} | |
return [self jkobjectAtIndex:index]; | |
} | |
- (void)jkinsertObject:(id)anObject atIndex:(NSUInteger)index { |
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
require('YTProductDescViewController') | |
require('YTGetProductInfoParamsModel') | |
require('JKReportHelper') | |
require('YTWishCollectionViewCell') | |
require('YTWishProduct') | |
require('UIViewController+BCMagicTransition') | |
defineClass("YTWishViewController", { | |
//instance method definitions | |
collectionView_didSelectItemAtIndexPath: function(collectionView, indexPath) { |
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
defineClass("UIViewController", { | |
//instance method definitions | |
viewDidDisappear: function(animated) { | |
return; | |
} | |
}, {}) |
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
defineClass("AppDelegate", { | |
//instance method definitions | |
configureUserActivity: function() { | |
return; | |
} | |
}, {}) |
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
defineClass("YTSearchViewController", { | |
//instance method definitions | |
p__checkHttpGoProductInfo: function(content) { | |
return false; | |
} | |
}, {}) |
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
window.setInterval(function(){ | |
$.ajax('/lottery/start',{ | |
dataType:'json', | |
success:function(result){ | |
console.log('success') | |
if(result&&result.code==1){ | |
page3.$data.logid = result.data.id | |
if(result.data.typeid != 2 || result.data.typeid != 3 || result.data.typeid != 4 || result.data.typeid != 8) { | |
return; |
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
#!/bin/sh | |
DUMP=/usr/bin/mysqldump #mysqldump备份程序执行路径 | |
OUT_DIR=/home/parallels/pyth/web/flask/sssell/sql #备份文件存放路径 | |
LINUX_USER=root #系统用户名 | |
DB_NAME=ss_sell #要备份的数据库名字 | |
DB_USER=root #数据库账号 注意:非root用户要用备份参数 --skip-lock-tables,否则可能会报错 | |
DB_PASS=123456 #数据库密码 | |
DAYS=7 #DAYS=7代表删除7天前的备份,即只保留最近7天的备份 | |
cd $OUT_DIR #进入备份存放目录 | |
DATE=`date +%Y_%m_%d` #获取当前系统时间 |
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
#!bin/sh | |
for file in ./* | |
do | |
if test -f $file | |
then | |
grep "@qq.com" $file >> xxx_qq_all.txt | |
fi | |
done |