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 | |
| // you need an access token, and it might require the user_likes permission. | |
| // see http://developers.facebook.com/docs/authentication. Just trying this | |
| // out for yourself, grab one of your access tokens from | |
| // http://developers.facebook.com/docs/api. | |
| $access_token = ''; | |
| $user = ''; | |
| $api = 'https://graph.facebook.com/'; | |
| $raw_likes = json_decode(file_get_contents($api . $user . '/likes?access_token=' . $access_token), 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="chrome=1"> | |
| <meta charset="utf-8"> | |
| <link rel="canonical" href="index.php?topic=1"> | |
| <title>Curve CSS3 Test</title> | |
| <style> | |
| * { | |
| border: 0 none; |
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
| SET @ItemYear = 2008, | |
| @ItemMonth = 11, | |
| @ItemDay = 27, | |
| -- Try with 1409, then 1410. It breaks at 1410 | |
| @min = 1410; | |
| SELECT CAST(CONCAT(@ItemYear,'/', @ItemMonth, '/', @ItemDay, ' ', CAST(@min / 60 as UNSIGNED INT), ':', @min % 60) as DATETIME); |
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 | |
| /** | |
| * Data represented as a grid or spreadsheet | |
| * | |
| * A visual representation: | |
| * [col] [col] [col] | |
| * [row][field] [field] [field] | |
| * [row][field] [field] [field] | |
| * [row][field] [field] [field] |
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 | |
| /** | |
| * Sort a multi-dimensional array | |
| * | |
| * @example <code> | |
| * $sales_headers = array( | |
| * 'year', 'country', 'product', 'profit' | |
| * ); | |
| * |
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 | |
| class ParkingAuthority | |
| { | |
| function createParkingLots() | |
| { | |
| $app = Application::getInstance(); | |
| $db = $app->getService('db'); | |
| {get lots} |
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
| mysqldump -uroot -ppass --tab="." --fields-enclosed-by=\" --fields-terminated-by="," myschema mytable | gzip > myschema.mytable.csv.gz |
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
| <html> | |
| <head> | |
| <link rel="stylesheet" type="text/css" href="../Static/bootstrap/css/bootstrap.css"> | |
| <link rel="stylesheet" type="text/css" href="../Static/index.css"> | |
| <script src="../Static/bootstrap/js/bootstrap.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | |
| <script src="../Static/index.js"></script> | |
| </head> | |
| <body> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| body, html | |
| { | |
| margin: 0; | |
| padding: 0; | |
| height: 100%; |
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
| location /camera/public/ { | |
| try_files $uri $uri/ @camera; | |
| } | |
| location @camera { | |
| rewrite ^/camera/public/(.*)$ /camera/public/index.php/$1 last; | |
| } |
OlderNewer