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
| $ curl --data-binary @README.md -H 'Content-Type:text/plain' https://api.github.com/markdown/raw |
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
| select f.constraint_name, f.table_name tabela_filha, p.table_name tabela_pai | |
| from user_constraints f, user_constraints p | |
| where f.constraint_type = 'R' | |
| and f.r_constraint_name = p.constraint_name | |
| -- constraint_type (http://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_1037.htm): | |
| -- R -> Referential (FK) | |
| -- C -> Check constraint on a table | |
| -- P -> Primary Key | |
| -- U -> Unique Key |
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
| /* By default, required field labels are rendered with the "required" class */ | |
| .required:after { | |
| content: "*"; | |
| } |
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 | |
| $lista = array_map('unserialize', array_unique(array_map('serialize', $listaAtual))); |
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
| SELECT round(DBMS_LOB.getlength(A.FILE)/1024) KB FROM MY_TABLE A |
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
| select o.created,o.last_ddl_time | |
| from user_objects o | |
| where o.object_name='MY_VIEW' and o.object_type='VIEW'; |
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 | |
| $q = Doctrine_Query::create() | |
| ->select('a.title as title') | |
| ->from('Article a') | |
| ->where('a.id = ?', $this->getId()); | |
| ->fetchOne()->title; |
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
| NLS_LANG <lang> - character set, language and territory | |
| TNS_ADMIN <path> - path to tnsnames.ora file | |
| PATH <path> - add location of the Oracle client |
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
| tr:nth-child(2n+1){ background: #fff } | |
| tr:nth-child(2n+0){ background: #ffffec } |
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 TimeoutException extends RuntimeException {} | |
| class Timeout | |
| { | |
| private $active; | |
| public function set($seconds) | |
| { |