https://www.daveeddy.com/2017/10/18/persistent-sshagent-on-bash-on-ubuntu-on-windows/
https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly
# Hyper not detaching
alias hyper="cmd.exe /c hyper"
componentDidUpdate(prevProps: any) { | |
console.log(); | |
console.log(); | |
console.log("componentDidUpdate"); | |
Object.entries(this.props).forEach(([key, value]) => { | |
console.log( | |
key, | |
value, |
https://www.daveeddy.com/2017/10/18/persistent-sshagent-on-bash-on-ubuntu-on-windows/
https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly
# Hyper not detaching
alias hyper="cmd.exe /c hyper"
<html> | |
<body> | |
<div style="font-size: 1rem"> | |
<p> | |
1 rem | |
</p> | |
<p> | |
The fox jumps over the lazy dog | |
</p> |
I hereby claim:
To claim this, I am signing this object:
I'm working on a compile to JS language and when tinkering with the emitter I found some strange performance difference A tuple type in the language is emitted as an JS array and a tuple type constructor is emitted as a function that returns it arguments as an JS array.
I tried these three outputs and discovered unexpectedly big performance differences. The only differences is how the tuple constructors are emitted, and the time is how long it taks for the compiler to build itself.
(...members) => members
: ~3.6 secondsfunction () {return Array.prototype.slice.call(arguments)}
~4.6 secondsFör eduroam i Linux:
Jag använde även Googles DNS servrar, vet inte om det faktiskt behövs eller inte men
-----BEGIN CERTIFICATE----- | |
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU | |
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs | |
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 | |
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux | |
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h | |
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v | |
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt | |
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9 | |
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX |
/* | |
* Copyright 2013 Palantir Technologies, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
const Cycle = require('@cycle/core'); | |
const {makeDOMDriver, div, button, p} = require('@cycle/dom'); | |
const {Observable} = require('rx'); | |
function main(sources) { | |
const decrement$ = sources.DOM | |
.select('.decrement').events('click').map(ev => -1); | |
const increment$ = sources.DOM |
'use strict'; | |
/** | |
* Wraps the passed function to track its calls. | |
* | |
* All calls are stored in an array on a calls property. | |
* Every call is an object with a context and args property. | |
*/ | |
function trackCalls(fn) { | |
const calls = []; |