How to add background colour to weekends in a vertical calendar
Apply to range: A2:D176
Custom formula: =OR(WEEKDAY($A:$A)=7, WEEKDAY($A:$A)=1)
How to add background colour to weekends in a vertical calendar
Apply to range: A2:D176
Custom formula: =OR(WEEKDAY($A:$A)=7, WEEKDAY($A:$A)=1)
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
git clone git://github.com/wbond/sublime_package_control.git Package\ Control | |
cd Package\ Control | |
git checkout python3 | |
# restart Sublime Text 3 and you should have Package Control working |
# | |
# Acts as a nginx HTTPS proxy server | |
# enabling CORS only to domains matched by regex | |
# /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
# | |
# Based on: | |
# * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
# * http://enable-cors.org/server_nginx.html | |
# | |
server { |
(function(body) { | |
var text = [], | |
treewalker = document.createTreeWalker(body, NodeFilter.SHOW_TEXT, null, false); | |
while(treewalker.nextNode()) { | |
if (treewalker.currentNode.nodeValue.charAt(0) !== '\n') { | |
text.push(treewalker.currentNode); | |
} | |
}; |
const stream = require('stream'); | |
let readable = new stream.Readable({ | |
objectMode: true, | |
read: function() { | |
let arr = [ { a: 1 }, { b: 1 }, { c: 1 } ]; | |
arr.forEach( item => { this.push(item) }); | |
this.push(null); | |
} | |
}).on('end', function() { |
Original
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 31 31" style="enable-background:new 0 0 31 31;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
'use strict'; | |
const Joi = require('joi'); | |
module.exports.env = Joi.when( 'ext', { is: 'json', then: Joi.boolean().optional().default(false), otherwise: Joi.forbidden() } ); | |
module.exports.ext = Joi.string().regex(/^(json|html)$/).lowercase().trim().required(); | |
module.exports.debug = Joi.object({ | |
env: this.env, | |
ext: this.ext |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
You want a script that does a local compile to e.g. an out/
directory. Let's call this compile.sh
for our purposes, but for your project it might be npm build
or gulp make-docs
or anything similar.
The out/
directory should contain everything you want deployed to gh-pages
. That almost always includes an index.html
.