Skip to content

Instantly share code, notes, and snippets.

@azasypkin
azasypkin / linux_fusion360.md
Created January 16, 2019 22:56 — forked from probonopd/linux_fusion360.md
Autodesk Fusion 360 in the Linux Browser
@azasypkin
azasypkin / index.js
Last active August 30, 2018 08:54 — forked from yankouskia/en.json
translate (npx https://gist.github.com/azasypkin/e3e3526c7bb73223ac53b5cb126ecfae /absolute-path/en.json zh-cn)
#!/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);
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