float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
return mix(rand(fl), rand(fl + 1.0), fc);
}
This file contains hidden or 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
| import 'vendor/tinygo' | |
| const go = new Go(); | |
| go.importObject.env['main.defineClass'] = function(namePtr, nameLen, cPtr, cGcPtr, pPtr/*, pGcPtr*/) { | |
| const mem = new DataView(go._inst.exports.memory.buffer) | |
| const decoder = new TextDecoder("utf-8"); | |
| const name = decoder.decode(new DataView(go._inst.exports.memory.buffer, namePtr, nameLen)); | |
| const constructorID = mem.getUint32(cPtr, true) |
This file contains hidden or 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
| logfile=$(date +%Y%m%d%H%M).log | |
| targetfile=test.zip | |
| # Start 1 processes for cracking mixalpha-numeric maximum 5 digits | |
| fcrackzip -c Aa1 -b -l 1-5 --verbose -u $targetfile & >> $logfile & | |
| # Start 62 processes for cracking mixalpha-numeric equal to 6 digits | |
| eval echo\ {A..Z}AAAAA\; | xargs -I % -P 26 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
| eval echo\ {a..z}AAAAA\; | xargs -I % -P 26 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
| eval echo\ {0..9}AAAAA\; | xargs -I % -P 10 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & |
This file contains hidden or 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
| var pcsc = require('pcsclite'); | |
| var iconv = require('iconv-lite'); | |
| var pcsc = pcsc(); | |
| pcsc.on('reader', function(reader) { | |
| console.log('New reader detected', reader.name); | |
| reader.on('error', function(err) { |
Installation, configuration, patching & troubleshooting guide to the Ulteo-OVD services. Additional details of this software can be found on their website. Here are some useful resources.
- Ulteo home - http://www.ulteo.com/home/
- Ulteo Downloads - http://ulteo.com/home/en/ovdi/openvirtualdesktop/3.0
- Ulteo OVD source code - http://www.ulteo.com/home/en/download/sourcecode
- Additional OVD source code access - http://archive.ulteo.com/mirror/ovd/releases/sources/
- Community forums - https://groups.google.com/forum/?fromgroups#!forum/ulteo-ovd-community-support
This file contains hidden or 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
| import sys | |
| import ctypes | |
| import time | |
| EnumWindows = ctypes.windll.user32.EnumWindows | |
| EnumChildWindows = ctypes.windll.user32.EnumChildWindows | |
| EnumWindowsProc = ctypes.WINFUNCTYPE(ctypes.c_bool, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int)) | |
| GetWindowText = ctypes.windll.user32.GetWindowTextW | |
| GetWindowTextLength = ctypes.windll.user32.GetWindowTextLengthW | |
| IsWindowVisible = ctypes.windll.user32.IsWindowVisible |
@版本 2.0.0
譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.
此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。
Rebecca Murphey 的 Baseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。
This file contains hidden or 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
| 條件: | |
| 熟悉 php, mysql, javascript (jQuery) | |
| 瞭解基本的 html, css, | |
| 有 Facebook Api 開發經驗 | |
| 有一年以上網頁開發經驗 | |
| 有 linux, apache 管理經驗 (加分) | |
| 有 CodeIgniter 開發經驗 ( 加分 ) | |
| 有 ajax 開發經驗 (jQuery)(加分) | |
| - |
NewerOlder