set -U fish_user_paths /usr/local/bin $fish_user_paths
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
# Amedia Utvikling | |
last 1 chrome versions | |
last 1 ff versions | |
last 1 edge versions | |
safari 7-10 | |
ios_saf 7-10 | |
chrome 38 | |
chrome 34 | |
ie 11 |
adfasf
Last ned get-pip.py
Kjør følgende (med sudo om nødvendig)
$ gem install mdless
$ python python get-pip.py
$ pip install Pygments
$ mdless README.md
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
.
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
'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 |
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>
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
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() { |