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
<script> | |
(function (window, document) { | |
var loader = function () { | |
var script = document.createElement("script"), tag = document.getElementsByTagName("script")[0]; | |
script.type = 'text/javascript'; script.async = true; | |
script.src = "https://widgetic.com/sdk/sdk.js"; | |
tag.parentNode.insertBefore(script, tag); | |
}; | |
window.addEventListener ? window.addEventListener("load", loader, false) : window.attachEvent("onload", loader); | |
})(window, document); |
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
import {NgZone, Inject} from 'angular2/angular2'; | |
export class TestService { | |
skin: any; | |
constructor(@Inject(NgZone) private zone: NgZone) { | |
this.skin = {color: 'red'}; | |
} | |
getSkin() { |
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
{ | |
"active": "default", | |
"atvrentals": "default", | |
"amateursportsteams": "default", | |
"amusementparks": "default", | |
"aquariums": "default", | |
"archery": "default", | |
"badminton": "default", | |
"basketballcourts": "default", | |
"battingcages": "default", |
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
Active Life (active) | |
ATV Rentals/Tours (atvrentals) | |
Amateur Sports Teams (amateursportsteams) | |
Amusement Parks (amusementparks) | |
Aquariums (aquariums) | |
Archery (archery) | |
Badminton (badminton) | |
Basketball Courts (basketballcourts) | |
Batting Cages (battingcages) | |
Beaches (beaches) |
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 | |
use Symfony\Component\HttpFoundation\File\File; | |
use Symfony\Component\HttpFoundation\File\UploadedFile; | |
/** | |
* @Entity | |
*/ | |
class Document | |
{ |
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
tc qdisc del dev lo root |
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 | |
App::uses('HttpSocket', 'Network/Http'); | |
/* inside controller */ | |
/** | |
* PayPal IPN Notification parser | |
* Checks if the notification is valid | |
* @see https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_admin_IPNIntro | |
* @see https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables |
NewerOlder