Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| /** ------------------------------------- | |
| * Taco. By Joe Critchley (@joecritchley) | |
| */ | |
| .c { width: 978px; margin: 0 auto; } | |
| .c .c { margin: 0 -20px; width: auto; } | |
| .g1, .g2, .g3, .g4, .g5, .g6, .g7, .g8, .g9, .g10, .g11, .g12 { margin-left: 30px; float: left; display: inline; } | |
| .c .c .g1, .c .c .g2, .c .c .g3, .c .c .g4, .c .c .g5, .c .c .g6, | |
| .c .c .g7, .c .c .g8, .c .c .g9, .c .c .g10, .c .c .g11, .c .c .g12 { margin-left: 10px; } | |
| .g1 { width: 54px; } .c .c .g1 { width: 74px; } |
| /** | |
| * This sample lets you record and share video with Appcelerator Titanium on Android. | |
| * REQUIRES THE 1.6.0 RC OF TITANIUM MOBILE SDK | |
| * http://developer.appcelerator.com/blog/2011/02/release-candidate-for-titanium-mobile-1-6-0.html | |
| */ | |
| /** | |
| * First, create our UI. We'll have two buttons: record, and share. | |
| */ | |
| var win = Titanium.UI.createWindow({ |
| var win = Ti.UI.createWindow({backgroundColor:'#ccc'}); | |
| var isRunning = false; | |
| var btn = Ti.UI.createButton({ | |
| title:'start', | |
| bottom:10, | |
| height:50, | |
| left:10, | |
| right:10 | |
| }); | |
| var slider = Ti.UI.createSlider({ |
| //Public client interface | |
| function Client(applicationId, masterKey) { | |
| this.applicationId = applicationId; | |
| this.masterKey = masterKey; | |
| } | |
| exports.Client = Client; | |
| //Parse API endpoint | |
| var ENDPOINT = 'https://api.parse.com/1/classes/'; |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| // I was unhappy about there was close to no control over the "pageControl" | |
| // in scrollableViews, so I hacked my own | |
| // ----- | |
| // Configuration | |
| var pageColor = "#c99ed5"; | |
| PagingControl = function(scrollableView){ | |
| var container = Titanium.UI.createView({ | |
| height: 60 |
| //~/Library/Application Support/Sublime Text 2/Packages/MakeTi/MakeTi.py | |
| import sublime, sublime_plugin | |
| class MakeTiCommand(sublime_plugin.WindowCommand): | |
| instance_list = ["android","android-device","iphone","ipad","web","clean"] | |
| def run(self, *args, **kwargs): |
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
| The ADB excecutable lives in: | |
| [path-to-android-sdk]/platform-tools/ | |
| ./adb -e logcat | grep TiAPI | |
| or | |
| ./adb -d logcat | grep TiAPI |
| function isProduction(alloyConfig) | |
| { | |
| return 'production' == alloyConfig.deployType; | |
| } | |
| function removeUnimportantLogCallsFromContent(content) | |
| { | |
| if (!content) { | |
| return; | |
| } |