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
/** | |
*@author: The Phuc | |
*@since: 06/01/2017 | |
*/ | |
(function(window, angular, undefined) { | |
'use strict'; | |
var ngRouteModule = angular.module('ssStream', ['ng']).provider('$ssStream', $ssStream); | |
function $ssStream() { | |
window.AudioContext = window.AudioContext || window.webkitAudioContext || window.mozAudioContext || window.oAudioContext || window.msAudioContext; |
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
// define variable | |
$font-size-of-content: 14px; | |
$color-of-content: #241313; | |
$background-color-content: #ccc; | |
//----------------------------------------- extends simple | |
.parent { | |
background-color: #E21B1B; | |
font-size: 12px; | |
} | |
.class1 { |
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\x20type="text/javascript">javascript:alert(1);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
<script\x09type="text/javascript">javascript:alert(1);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
<script\x0Atype="text/javascript">javascript:alert(1);</script> | |
'`"><\x3Cscript>javascript:alert(1)</script> | |
'`"><\x00script>javascript:alert(1)</script> | |
<img src=1 href=1 onerror="javascript:alert(1)"></img> |
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
curl https://fcm.googleapis.com/fcm/send -X POST \ | |
--header "Authorization: key=FIREBASE_KEY" \ | |
--Header "Content-Type: application/json" \ | |
-d ' | |
{ | |
"to": "DEVICE_TOKEN" | |
"notification":{ | |
"title":"New Notification!", | |
"body":"Test", | |
"sound":"sms-received3.caf" |
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 | |
namespace App\Helpers; | |
use App\Models\Notification; | |
class PushNotification | |
{ | |
const MAXIMUM = 1000; | |
const FACEBOOK_TOKEN_CHATBOT = 'EAAVpwhjR0ioBANxNhqW7FiJxQKHot9yz7foZCuWt7qxVJ0JOic0dzZBZC3TuZCFryiZCiFdEG02zNlaoJQMufOoYpxVFSQSVHSpQTyZA0M48RZAh3lMaCxeBd3Er20NDdNFmjRAInKQo0az1JhfFQs8xhEjIC6S9jHcY9uu2f7KUBIoQwciHfJK'; |
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
- lay bai hat lien quan: | |
http://mp3.zing.vn/xhr/recommend?type=audio&id=ZW67OIA0 | |
- lay du lieu thong qua key: | |
http://mp3.zing.vn/xhr/media/get-source?type=audio&key=kmJHTZHNCVaSmSuymyFHLH | |
http://mp3.zing.vn/html5xml/song-xml/kmJHTZHNCVaSmSuymyFHLH | |
- tim bai hat: | |
http://ac.mp3.zing.vn/complete?type=artist,song,key,code&num=500&query=Anh Thế Giới Và Em |
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
if(!$scope.$$phase) $scope.$apply(); |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 13, | |
// font family with optional fallbacks |
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 | |
namespace App\Helpers; | |
class Vision | |
{ | |
/** | |
* Send reply for line user | |
*/ | |
public static function getImageContent($imagePath) |
OlderNewer