I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.
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
FROM node | |
RUN npm install -g localtunnel |
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
version: '3' | |
services: | |
web: | |
build: | |
context: server | |
dockerfile: Dockerfile-dev | |
command: npm start # expecting bind port to 3000 | |
... | |
lt: | |
build: |
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
let vimplug_exists=expand('~/.vim/autoload/plug.vim') | |
if !filereadable(vimplug_exists) | |
if !executable("curl") | |
echoerr "You have to install curl or first install vim-plug yourself!" | |
execute "q!" | |
endif | |
echo "Installing Vim-Plug..." | |
echo "" | |
silent !\curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
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
import ApplicationController from "./application_controller" | |
import TomSelect from "tom-select" | |
export default class extends ApplicationController { | |
static values = { url: String } | |
connect() { | |
super.connect() | |
this.initTomSelect() | |
} |
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 fs = require('fs'); | |
const file = JSON.parse(fs.readFileSync('./dump.har')).log; | |
const targetMimeType = 'image/jpeg'; | |
let count = 1; | |
for (const entry of file.entries) { | |
if (entry.response.content.mimeType === targetMimeType) { | |
// ensure output directory exists before running! | |
fs.writeFileSync(`output/${count}.png`, new Buffer(entry.response.content.text, 'base64'), 'binary'); | |
count++; |
Based on the contents http://blog.jamiek.it/2015/04/manually-fixing-multiple-screens-with.html
- Set your Ubuntu to the highest DPI from the System Configurations
- If not using Ubuntu, then you may need to configure based on instructions here and use a DPI calclator.
- Please referer to the full blog post and give thanks to the OP.
- This is just notes and a cached script for my personal laptop
- My External Monitor (HDMI2) is Above my Laptop Screen (eDP1)
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
// ==UserScript== | |
// @name ZEN-mode | |
// @namespace http://noromanba.flavors.me | |
// @description open reader-view/mode aggressively for UserScript | |
// @include http://example.com/DIY | |
// @grant none | |
// @noframes | |
// @run-at document-end | |
// @version 2016.5.24.5 | |
// @homepage https://gist.github.com/noromanba/baa3c522a81fe2bed2577381bc6b5091 |