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
| { | |
| "name": "SBsae by Studio Oceano", | |
| "description": "Um CMS de fácil aplicação", | |
| "authors": [ | |
| { | |
| "name": "Philipe Cairon M.", | |
| "email": "[email protected]" | |
| } | |
| ], | |
| "require": { |
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
| User-agent: Googlebot | |
| Allow: /* | |
| Disallow: /public | |
| Disallow: /api | |
| Disallow: /admin | |
| Disallow: /src | |
| Disallow: /vendor | |
| User-agent: Bingbot | |
| Allow: /* |
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
| # editorconfig.org | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| ident_size = 2 | |
| end_of_line = If | |
| indent_style = space | |
| insert_final_newline = 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
| /vendor |
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
| RewriteEngine on | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule (.*) index.php [QSA,L] |
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
| import urllib.request | |
| import json | |
| from pprint import pprint | |
| url = 'https://graph.facebook.com/fmasanori' | |
| resp = urllib.request.urlopen(url).read() | |
| data = json.loads(resp.decode('utf-8')) | |
| pprint (data) | |
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 | |
| /* finja que há cabeçalhos aqui */ | |
| /* | |
| Pegando os dados das tabelas. | |
| */ | |
| $empresa_promo = $database->select("empresa_produto", [ |
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 | |
| /* CHECK IF A $STRING IS INT. */ | |
| function isNumeric($string){ | |
| if (!filter_var($string, FILTER_VALIDATE_INT)) | |
| return false; | |
| else | |
| return 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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder