Skip to main content

php oneliners


to really enjoy set your cmd.exe default properties to have a large layout in screen buffer size like 100w x 999h

windows one liner write file
php -r "$fh = fopen('sitevisitors.txt', 'w'); fputs ($fh, 'open'); fclose ($fh);"

windows one liner get phpinfo
php -r "phpinfo();"

Comments

Popular posts from this blog

How to change default calendar for new events in Lightning

https://getsatisfaction.com/mozilla_messaging/topics/how_set_default_calendar_for_new_events_in_lightning Edited version Open Tools > Options > Advanced tab, and click Config Editor button. In the "Filter:" box enter "calendar.registry"  Find a .calendar-main-default key - it will be set to true Other calendars either won't have a .calendar-main-default key (or it will be set to false) Right click on the value of the .calendar-main-default key that goes with the calendar that currently shows up by default in new events to toggle the value to false Click on the .calendar-main-in-composite key that goes with the calendar you want as default Right click on the same key and choose Copy Name from the menu that appears. Now right click on the key again and select New > Boolean Paste the name of the key and Use the backspace key to erase "in-composite" and type "default" Click OK and Choose true and click OK Now exit out of

How to make your printer AirPrint compatible

http://www.netputing.com/applications/handyprint-v5/ $5USD handyPrint™ v5 is a 64 bit Mac OSX application that allow you to print from your iPods, iPads and iPhones on printers that do not support the AirPrint protocol. v5 has been re-designed as a standard application similar to the ones you would find in the Apple App Store. You simply copy it to the Applications folder and run it from there. Once you turn the application switch to ON it will start on its own every time you login to you user account. No need to manually start the application. http://www.collobos.com $20/USD per year per server Presto is a robust, cost effective solution for enterprise mobile printing. Unlike other solutions, Presto integrates with a corporate network’s DNS and DHCP servers, freeing it from requiring expensive hardware and additional software components to work.  It is not unusual to find a single copy of Presto Enterprise powering the entire mobile printing services of a large enterprise or unive