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 getDaysPages = (fromDate) => { | |
const myDate = DateTime.fromString(fromDate, 'yyyy-MM-dd'); | |
const getDayPage = dayNum => dv.dv.page(`${DAILY_NOTES_PATH}/${myDate.plus({ days : dayNum }).toISODate()}`); | |
return Array.from({length: 7}, (c, i) => getDayPage(i) || 0); | |
} |
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: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
"series": [{ | |
"type": "column", | |
"name": "Column", | |
"data": [ | |
{ "y": 0, "color": "#ed9d97" }, | |
{ "y": 62.28, "color": "#ed9d97" }, | |
{ "y": 67.14, "color": "#ed9d97" }, | |
{ "y": 74.07, "color": "#ffe168" }, | |
{ "y": 68.74, "color": "#ffe168" }, | |
{ "y": 73.66, "color": "#7bcfa9" }, |
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:before { content: "<"; } | |
.author:after { content: ">"; } |
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
Renaming extracted folder \tmp\phantomjs\phantomjs-1.9.2-windows.zip-extract-1384849047801\phantomjs-1.9.2-windows -> d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom | |
Phantom installation failed { [Error: ENOTEMPTY, directory not empty 'd:\tmp\phantomjs\phantomjs-1.9.2-windows.zip-extract-1384849047801\phantomjs-1.9.2-windows'] | |
errno: 53, | |
code: 'ENOTEMPTY', | |
path: 'd:\\tmp\\phantomjs\\phantomjs-1.9.2-windows.zip-extract-1384849047801\\phantomjs-1.9.2-windows', syscall: 'rmdir' } Error: ENOTEMPTY, directory not empty 'd:\tmp\phantomjs\phantomjs-1.9.2-windows.zip-extract-1384849047801\phantomjs-1.9.2-windows' | |
at Object.fs.rmdirSync (fs.js:456:18) | |
at rimrafSync (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\rimraf\rimraf.js:160:6) | |
at d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modul |
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
Joachim T: Hei, hvordan kan jeg hjelpe deg? | |
You: Hei. Jeg fikk melding fra dere om at dere "henla" sak 2627075 fordi det ikke var oppnådd kontakt med meg. | |
You: kan du sjekke hva denne saken gjelder? jeg sjonglerer et par saker hos dere akkurat nå. (fungerer også som støttekontakt for svigers) ;) | |
Joachim T: hva er din adresse og ditt navn? eller har du et kunde nr? | |
You: Mitt kundenummer er 20765090 | |
You: noe som jeg også skriver inn når jeg starter chatten.......... | |
You: saken kan også være relatert til kundenummer 20824712, Kjell Johnsen | |
Joachim T: kan desverre ikke se noe til denne saken. | |
Joachim T: hva gjaldt denne saken? | |
You: det er kanskje forskjell på saksnummer og feilmeldingsreferanse? |
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 watch = new System.Diagnostics.Stopwatch(); | |
var wc = new System.Net.WebClient(); | |
System.Console.WriteLine("Starting download"); | |
watch.Start(); | |
var res = wc.DownloadData(@"http://ftp.sunet.se/pub/os/Linux/kernels/v3.x/linux-3.0.1.tar.gz"); | |
watch.Stop(); | |
System.Console.WriteLine("Done"); | |
var w = File.AppendText("testscript.log"); |
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
# Send SVN log to mail recipients | |
# Get SVN-formatted date for yesterday | |
$yesterday = $yesterday = ((Get-Date) - ([System.TimeSpan]::FromDays(1))).ToString("yyyy-MM-dd") | |
# Our SVN-command. This is failing/working on two different systems. It's complaining about the DATE-format in the revision parameter | |
# You should also probably add the --username and --password parameters | |
$svncommand = "svn log -r '{$yesterday}:HEAD' svn://my.svn.server/project/trunk" | |
# Hack to get correct output encoding |
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
<div class="bloc calendar" id="kalender" data-year="2011" data-month="6"> | |
<div class="title"> | |
<a href="#" class="prev" data-year="2011" data-month="5" title="mai 2011">Prev</a>juni 2011<a href="#" class="next" data-year="2011" data-month="7" title="juli 2011">Next</a> | |
</div> | |
<div class="content"> | |
<table> | |
<thead> | |
<tr> | |
<th> | |
m |
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
<#@ template debug="false" hostspecific="true" language="C#" #> | |
<#@ assembly name="System.Core" #> | |
<#@ import namespace="System.IO" #> | |
<#@ output extension=".cs" #> | |
<# | |
var files = Directory.EnumerateFiles(Host.ResolvePath(""), "*.sql"); | |
#> | |
namespace Rappgen_WEB { |
NewerOlder