Hi 厲害!看不懂的路過。
我是20號,我也沒有抽到獎品-_- 現在在學習Linux, 不過很多不懂。在看"鳥哥linux" Thanks! 從我的 BlackBerry 10 智慧型手機傳送。 原始訊息 寄件者: bc Ho 已傳送: 2014年5月19日星期一12:35 收件者: gzlug@googlegroups.com 回覆至: gzlug@googlegroups.com 主旨: Re: [gzlug][公告] GZLUG 5 月月度线下聚会 —— Ubuntu Release Party 居然是无分号党!!!!!!! 在 2014年5月19日 下午12:27,Joey Chan <qqwor...@gmail.com> 写道: > 问下push上去要什么账号什么的。。? > > 我顺便放出我的抽奖算法,js写的,应该很容易看懂: > > function randomNumber(top, bottom) { > > var tmpt = Number(top) > > var tmpb = Number(bottom) > > var gap = tmpt - tmpb > > var ran = Math.round(Math.random() * 10000) > > var result = ran % gap > > console.log("gap, ran, %:" ,gap, ran, result) > > var isExist = false > > for (var i=0; i<lotteryModel.count; i++){ > > if (result == (lotteryModel.get(i).value - tmpb)) { > > isExist = true > > break > > } > > } > > if (isExist) { > > return randomNumber(top, bottom) > > } > > > return result > > } > > > 在 2014年5月18日星期日UTC+8下午5时34分23秒,Jactry Zeng写道: >> >> 昨天下午和大家聊得很开心,收获颇多,又长见识了! >> >> 一些收尾工作还是要做下: >> 1. 活动有拍摄照片、录像的朋友可以私信给我,我整理上传到 gzlug 的相册,方便大家查看; >> 2. 两位讲者的 slide 私信给我,我上传到 gzlug 的空间,存档记录; >> 3. 昨天我没中奖啊!严重怀疑抽奖程序有水!:P 所以 Joey 麻烦把程序 push 到 gzlug 的 github/gitcafe >> org,也方便以后的活动可以用到~ >> 4. 搜集各种会后感想、建议、吐槽,大家有写的可以发到邮件列表分享,记得加上 OT >> >> >> 谢谢大家,下次聚会再见 :) >> -- >> Regards, >> Jactry Zeng >> > -- > 您收到此邮件是因为您订阅了Google网上论坛中的“广州 GNU/Linux 用户组”论坛。 > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到gzlug+unsubscr...@googlegroups.com。 > 要发帖到此论坛,请发送电子邮件至gzlug@googlegroups.com。 > 通过http://groups.google.com/group/gzlug访问此论坛。 > 要查看更多选项,请访问https://groups.google.com/d/optout。 -- 您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到gzlug+unsubscr...@googlegroups.com。 要向此网上论坛发帖,请发送电子邮件至 gzlug@googlegroups.com。 通过以下网址访问此论坛:http://groups.google.com/group/gzlug。 要查看更多选项,请访问 https://groups.google.com/d/optout。 -- 您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到gzlug+unsubscr...@googlegroups.com。 要向此网上论坛发帖,请发送电子邮件至 gzlug@googlegroups.com。 通过以下网址访问此论坛:http://groups.google.com/group/gzlug。 要查看更多选项,请访问 https://groups.google.com/d/optout。