$ uname -r
This file contains 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 | |
/** | |
* Google Fusion Tables API | |
* | |
* These are PHP5 classes used to interact with the Google Fusion Tables API. | |
* The googleBase class provides an authentication class that any classes interacting | |
* with the Google API will need. It should be extended by a service-specific class | |
* that makes all of the calls to this class. | |
* | |
* The googleFusion class provides a public 'query()' method, allowing for SQL queries |
This file contains 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
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
This file contains 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
alias wwwperm="find . \( -type d -exec chmod -v 755 '{}' \; \) -o \( -type f -exec chmod -v 644 '{}' \; \)" |
This file contains 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
/** | |
* Countries MySQL Tables | |
* Compiled by Atanas Bozhinov, 2015 | |
*/ | |
CREATE TABLE `eucountries` ( | |
`country_id` int(11) NOT NULL AUTO_INCREMENT, | |
`code` char(2) NOT NULL COMMENT 'Two-letter country code (ISO 3166-1 alpha-2)', | |
`name` varchar(64) NOT NULL COMMENT 'English country name', | |
`full_name` varchar(128) NOT NULL COMMENT 'Full English country name', |
[Update 2024] - Take a look at Drupal at your fingertips. Lot's of great stuff there.
// Load file object
$file = File::load($fid);