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
/* | |
* Copyright (C) 2016 Raecoo Cao | |
* See LICENSE for the copy of MIT license | |
*/ | |
// https://support.google.com/youtube/answer/2853702?hl=zh-Hans | |
// BEGIN Lambda configuration | |
// | |
var pipelineId = '1481448705022-x1efcv'; // change to your pipeline! |
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
<template> | |
<v-container fluid> | |
<v-layout align-start justify-center> | |
<v-flex xs4 class="elevation-2 ma-2"> | |
<v-tabs v-model="model" color="cyan" dark slider-color="yellow"> | |
<draggable v-model="tabs" class="v-tabs__container" @update="tabUpdate"> | |
<v-tab v-for="(tab, index) in tabs" :key="index" :href="`#tab-${index}`"> | |
{{ tab.name }} | |
</v-tab> | |
</draggable> |
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
<template> | |
<v-container fluid> | |
<v-layout align-start justify-center> | |
<v-spacer></v-spacer> | |
<v-flex xs4 class="elevation-1 pa-3 ma-2"> | |
<v-tabs v-model="active" color="cyan" dark slider-color="yellow"> | |
<draggable v-model="tabs" class="v-tabs__container"> | |
<v-tab v-for="tab in tabs" :key="tab.id" ripple> | |
{{ tab.name }} | |
</v-tab> |
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
# The following script will deploy a Laravel 5 applicaion on AWS Elastic Beanstalk. | |
# Add to .ebextensions at the root of your application and name your commands file (e.g., commands.config) | |
# -------------------------------- Commands ------------------------------------ | |
# Use "commands" key to execute commands on the EC2 instance. The commands are | |
# processed in alphabetical order by name, and they run before the application | |
# and web server are set up and the application version file is extracted. | |
# ------------------------------------------------------------------------------ | |
commands: | |
01updateComposer: |
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
.player-container { | |
background-color: black; | |
} | |
.player-minimize .player-position { | |
background-color: white; | |
border-radius: 2px; | |
bottom: 20px; | |
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25); | |
left: 20px; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
SUMMARY: | |
- Structure: NML2 SNI Text | |
- Based On: NAR v1.2_1, NML2 v2.1_1 | |
AUTHOR: thomsonreuters.com | |
--> | |
<!-- ========================================================= --> | |
<newsMessage xmlns="http://iptc.org/std/nar/2006-10-01/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rtr="http://www.reuters.com/ns/2003/08/content" xmlns:x="http://www.w3.org/1999/xhtml"> |
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
'use strict'; | |
var cacheVersion = 1; | |
var currentCache = { | |
offline: 'offline-cache' + cacheVersion | |
}; | |
const offlineUrl = 'offline.html'; | |
this.addEventListener('install', event => { | |
event.waitUntil( |
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
[...] | |
<div class="wrapper"> | |
<header> | |
<h1>Logo</h1> | |
<nav> | |
<ul> | |
<li><a href="link-1.html">Link 1</a></li> | |
<li><a href="link-2.html">Link 2</a></li> | |
<li><a href="link-3.html">Link 3</a></li> | |
</ul> |
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
<header> | |
<h1>Super duper best blog ever</h1> | |
<nav> | |
<a href="/">Home</a> | |
<a href="/about">About</a> | |
<a href="/archive">Archive</a> | |
</nav> | |
</header> | |
<main> | |
<article> |
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
// dependencies | |
var async = require('async'); | |
var path = require('path'); | |
var AWS = require('aws-sdk'); | |
var gm = require('gm').subClass({ | |
imageMagick: true | |
}); | |
var util = require('util'); | |
var LambdaWatermark = require('lambda-watermark'); |
NewerOlder