| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
| var subset_sum = function(items, target) { | |
| var perms = [], layer = 0, depth = 4, attempts = 0, sum, perm, | |
| ss = function(items) { | |
| var item = items.shift(); | |
| for (i = 0; i < items.length; i++) { | |
| attempts = attempts + 1; | |
| if (attempts <= items.length * items.length) { | |
| if (layer === 0) { | |
| perm = [items[0], items[i]]; | |
| } else { |
| <?php | |
| date_default_timezone_set('Asia/Bangkok'); | |
| echo date('d-m-Y H:i:s'); | |
| ?> |
#การใช้ Git ฉบับรีบร้อน
##Git Git เป็น revision control แบบ distributed (หมายความว่าไม่มีศูนย์กลาง) และ แบบ non-linear history (หมายความว่ามีประวัติการเปลี่ยนแปลงแบบไม่ใช่เส้นตรง) ดังนั้นทำให้คอนเซปต์ของ Git นั้นต่างจาก revision control รุ่นก่อนหน้าหลายอย่าง
ต่อไปจะอธิบายย่อๆเรื่องคำสั่ง Git โดยอิงกับการทำงานใน GitHub เป็นสำคัญ (Git มีวิธีใช้พลิกแพลงมากมาย ไปศีกษาการใช้อื่นได้ด้วยการไป Google เอาเอง)
##clone
สมมุติว่ามี repository แห่งนีงใน GitHub เช่น https://github.com/norsez/projectA
| // more information here: http://blog.tomtasche.at/2012/10/use-built-in-feedback-mechanism-on.html | |
| try { | |
| int i = 3 / 0; | |
| } catch (Exception e) { | |
| ApplicationErrorReport report = new ApplicationErrorReport(); | |
| report.packageName = report.processName = getApplication() | |
| .getPackageName(); | |
| report.time = System.currentTimeMillis(); | |
| report.type = ApplicationErrorReport.TYPE_CRASH; |
Note: This is an old guide and may not work for newer versions of macOS. Please see comments below for additional steps.
- Install memcached. I'd suggest using homebrew.
brew install memcached - Select your desired version of PHP that you'd like to use in MAMP. This dropdown is located in the PHP tab in MAMP PRO.
- Visit the Downloads Page on php.net and download the source code. If your release isn't listed, visit the Releases page.
- Extract the source into
/Applications/MAMP/bin/php/[php version folder]/include/php. /Applications/MAMP/bin/php/[php version folder]/include/php/configure/Applications/MAMP/bin/php/[php version folder]/bin/pecl i memcache.
| var svg = document.getElementById('graph'), | |
| xml = new XMLSerializer().serializeToString(svg), | |
| data = "data:image/svg+xml;base64," + btoa(xml), | |
| img = new Image() | |
| img.setAttribute('src', data) | |
| document.body.appendChild(img) |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!