Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
/* exported WebSocketUtils */ | |
(function(exports) { | |
'use strict'; | |
exports.WebSocketUtils = { | |
/** | |
* Mask every data element with the mask (WebSocket specific algorithm). | |
* @param {Array} mask Mask array. | |
* @param {Array} array Data array to mask. |
Setup RaspberryPi: | |
mkdir -p /etc/ppp/scripts | |
cat > /etc/ppp/scripts/ppplogin <<EOF | |
#!/bin/sh | |
# ppplogin - script to fire up pppd on login | |
# Disable other users to write to the tty. | |
mesg n |
const map = new Map([[1, true], [2, true], [3, false], [4, false], [5, true]]); | |
const processedMap = Array.from(map.entries()) | |
.map(([key, value]) => [value, key]) | |
.reduce((acc, [key, value]) => acc.set(key, value + (acc.get(key) || 0)), new Map()); | |
console.log('---------- Original Map ----------'); | |
for (const [key, value] of map.entries()) { | |
console.log(`key: ${key}, value: ${value}`); | |
} |
#!/usr/bin/env node | |
console.log('yay gist'); | |
var IntlMessageFormat = require('intl-messageformat'); | |
var memoizeFormatConstructor = require('intl-format-cache'); | |
IntlMessageFormat.defaultLocale = 'ru'; | |
console.log(`Default locale BEFORE memoize: ${IntlMessageFormat.defaultLocale}`); |
#!/usr/bin/env node | |
const fs = require('fs'); | |
const translate = require('google-translate-api'); | |
const [,, enFile, targetLocale] = process.argv; | |
console.log(`File ${enFile}, translate to locale ${targetLocale}`); | |
const en = require(enFile); |
var url = "http://elastic:changeme@127.0.0.1:5601/app/kibana#/visualize/edit/1a36d1d0-e371-11e8-8a31-0d7a694da690?_g=()&_a=(filters:!(),linked:!f,query:(language:lucene,query:''),uiState:(),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,id:'2',params:(field:_type,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'1',otherBucket:!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(show:!t,truncate:100),position:bottom,scale:(type:linear),show:!t,style:(),title:(),type:category)),grid:(categoryLines:!f,style:(color:%23eee)),legendPosition:right,seriesParams:!((data:(id:'1',label:Count),drawLinesBetweenPoints:!t,interpolate:linear,mode:stacked,show:true,showCircles:!t,type:area,valueAxis:ValueAxis-1)),times:!(),type:area,valueAxes:!((id:ValueAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:100),name:LeftAxis-1,position:left,scale:(mode:normal,type:linear),show:!t,s |
Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
I hereby claim:
To claim this, I am signing this object:
{ | |
"formats": { | |
"number": { | |
"currency": { | |
"style": "currency" | |
}, | |
"percent": { | |
"style": "percent" | |
} | |
}, |
{ | |
"formats": { | |
"number": { | |
"currency": { | |
"style": "currency" | |
}, | |
"percent": { | |
"style": "percent" | |
} | |
}, |