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
<a class="btndefault" onclick="iosButton();" >下载</a></li> | |
function iosButton(){ | |
//分辨是哪個裝置 | |
var u = navigator.userAgent; | |
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android | |
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 |
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
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head><link rel="shortcut icon" href="/favicon.ico" /><meta http-equiv="X-UA-Compatible" content="IE=Edge" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="zh-cn" /> <title>同乐城TLC官网,立即下载手机APP,新会员免费注册送彩金</title> <meta name="keywords" content="同乐城tlc,同乐城体育,同乐城手机版,注册送彩金,免费注册,下载手机app,ios下载,安卓下载,app下载,tlc,tlc手机版,英超,南安普敦" /> <meta name="description" content="同乐城TLC体育是英超南安普敦的官方合作伙伴,提供iOS下载,安卓下载,下载手机版APP,注册tlc同乐城会员享6重礼送彩金" /> <style> body { display: none; } </style> <noscript> <meta http-equiv="REFRESH" content="0; url=/zh/error/javascriptnotenabled.htm" /> </noscript> <link href="/bundles/css/contact?v=HfFuMgBYu_UYdk7j2JiDJDwg66KGzu0ka0ZFzK7TYRQ1" rel="stylesheet"/> | |
<link href="/bundles/css/nativeapp?v=3en54nw-PPR68NNfnDI6nK7OXbRm_kFzBr-7lNwaJAI1" rel="stylesheet"/> | |
<link href="/bundles/css/appbanner?v=rq0SIDPniWH |
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
{ | |
"id": "e29e8b42-96c9-98f6-265a-62e4c973cec2", | |
"name": "Postman Globals", | |
"values": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxMjhiOWQxMC1kYWJkLTQxOTAtOTUzZi0yZDkwOTc0MGIzNDQiLCJzdWIiOiJhdG9tQHRyZW5kLmNvbS50dyIsImV4cCI6MTQ4ODk0ODg2MS42MzEyNjYsInNjb3BlIjoiIiwiY2xpZW50X2lkIjoiNjdRSjNOSEwzSFk2UE82VEs1V01DNkpXIiwiaWF0IjoxNDg4OTQ1MjYxLjYzMTI2NiwidmVuZG9yX2lkIjoiYXRvbSIsInZlciI6ImEwIiwiYXVkIjoiaHR0cHM6Ly9hbHBoYS5hdG9tLnRyZW5kbWljcm8uY29tIn0.0B1tNgHJHbQZm6TyvDpvy4js8Mu5fmocOdC6xLFb9j0", | |
"type": "text", | |
"enabled": true | |
} |
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
{ | |
"id": "e7aee7fa-d839-4bbb-f7b8-8b9dfceb8b24", | |
"name": "Generate SDK Key (Alpha env)", | |
"description": "", | |
"order": [ | |
"cd49b1b9-f9f8-1958-3c37-3e7bf7238a9c", | |
"15b11461-8a16-c12c-0292-a35849760579" | |
], | |
"folders": [], | |
"timestamp": 1488944952906, |
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
# AWS Version 4 signing example | |
# EC2 API (DescribeRegions) | |
# See: http://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html | |
# This version makes a GET request and passes the signature | |
# in the Authorization header. | |
import sys, os, base64, datetime, hashlib, hmac | |
import requests # pip install requests |
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
extendJqueryEvent: function() { | |
var oldTrigger = $.fn.trigger; | |
$.fn.trigger = function() { | |
var ret = oldTrigger.apply(this.arguments); | |
// Our own code | |
console.log("Whatever we want to do") | |
return ret; | |
} |
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
var SlideshowController = {}; | |
SlideshowController.getPropertyA = function() { | |
var i = this.instance(); | |
return i.getPropertyA(); | |
} | |
SlideshowController.getPropertyB = function() { | |
var i = this.instance(); | |
return i.getPropertyB(); | |
} |
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
var template = "<div><h1>{{title}}</h1></div> <div><h1>{{name}}</h1></div>" | |
var content = { | |
"title": 'Hello world' | |
"name": 'Jack' | |
} | |
function replacer(match, p1, offset, string) { | |
for (var key in content) { | |
if (p1.indexOf(key) != '-1') { | |
p1 = content[key] |
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
/** | |
* Part of virtualset project. | |
* | |
* @copyright Copyright (C) 2015 {ORGANIZATION}. All rights reserved. | |
* @license GNU General Public License version 2 or later. | |
*/ | |
;(function($) | |
{ | |
"use strict"; |