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
hwi_oauth: | |
firewall_name: main | |
resource_owners: | |
eve_online: | |
type: oauth2 | |
client_id: %eve_online_sso.client_id% | |
client_secret: %eve_online_sso.client_secret% | |
access_token_url: %eve_online_sso.domain%/oauth/token | |
authorization_url: %eve_online_sso.domain%/oauth/authorize | |
infos_url: %eve_online_sso.domain%/oauth/verify |
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] | |
name = Smith Milner | |
email = [email protected] | |
# download this file in your home directory and rename it .gitconfig | |
[branch] | |
autosetuprebase = always | |
[color] | |
ui = auto | |
[color "status"] | |
added = green |
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 | |
/** @Entity */ | |
class User | |
{ | |
/** @Id @GeneratedValue @Column(type="string") */ | |
private $id; | |
/** | |
* Bidirectional - Many users have Many favorite comments (OWNING SIDE) | |
* |
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 | |
/** @Entity */ | |
class User | |
{ | |
/** @Id @GeneratedValue @Column(type="string") */ | |
private $id; | |
/** | |
* Bidirectional - One-To-Many (INVERSE SIDE) | |
* |
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
/** | |
* Returns HTML for a generic HTML tag with attributes. | |
* | |
* @param $variables | |
* An associative array containing: | |
* - element: An associative array describing the tag: | |
* - #tag: The tag name to output. Typical tags added to the HTML HEAD: | |
* - meta: To provide meta information, such as a page refresh. | |
* - link: To refer to stylesheets and other contextual information. | |
* - script: To load JavaScript. |
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 uid, name, mail | |
FROM users | |
WHERE mail IN ( | |
SELECT mail | |
FROM users | |
GROUP BY mail | |
HAVING count(mail) > 1 | |
) | |
ORDER BY mail, uid |
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 | |
/** | |
* Custom Twitter Box | |
*/ | |
class boxes_twitter extends boxes_box { | |
/** | |
* Implementation of boxes_box::options_defaults(). | |
*/ | |
public function options_defaults() { |
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 the title of the current page, for display on the page and in the title bar. | |
* Title is removable if you pass <none> as a variable. | |
* | |
* @param $title | |
* Optional string value to assign to the page title; or if set to NULL | |
* (default), leaves the current title unchanged. | |
* | |
* @return | |
* The updated title of the current page. |