Reduce the animation of the hotkey window:
defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001
Reduce the animation of the hotkey window:
defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001
import pyodideModule from "npm:pyodide/pyodide.js"; | |
let input = ""; | |
for await ( | |
const line of Deno.stdin.readable.pipeThrough(new TextDecoderStream()) | |
) { | |
input += line; | |
} | |
const pyodide = await pyodideModule.loadPyodide(); |
I used a EC2 A1 instance (a1.2xlarge) with Ubuntu 20.04 (arm64)
$ lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
// ==UserScript== | |
// @name Realpython Popup Remover | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Block realpython registration | |
// @author You | |
// @match https://realpython.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=realpython.com | |
// @grant none | |
// ==/UserScript== |
An alternative way to implement "dynamic" svg is using html-loader.
First, create a component for svg, SvgIcon.vue
:
<template>
<div v-html="require(`../../assets/icon-${icon}.svg`)"></div>
</template>
<script>
export default {
"========================================== | |
" Original: https://github.com/wklken/vim-for-server | |
"========================================== | |
" leader | |
let mapleader = ',' | |
let g:mapleader = ',' | |
" syntax | |
syntax on |
准备公网域名 创建两个A记录ngrok
和*.ngrok
到云主机的IP
在系统上安装Go,最好不要安装在/usr/local/下,会有很多权限问题,直接安装在home目录下即可
注意对应下载相应系统的版本
参考的配置,其中GOPATH不用管:
GOPATH="/home/ubuntu/go"
Ubuntu Linux系统环境变量配置文件: /etc/profile : 在登录时,操作系统定制用户环境时使用的第一个文件 ,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行。 /etc /environment : 在登录时操作系统使用的第二个文件, 系统在读取你自己的profile前,设置环境文件的环境变量。 ~/.profile : 在登录时用到的第三个文件 是.profile文件,每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登录时,该文件仅仅执行一次!默认情况下,他设置一些环境变量,执行用户的.bashrc文件。 /etc/bashrc : 为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取. ~/.bashrc : 该文件包含专用于你的bash shell的bash信息,当登录时以及每次打开新的shell时,该该文件被读取。
可以直接在系统设置中的Additional Drivers里面安装375版本
If you want to install jupyter with Python 2.7.x pip install jupyter
You'll get errors like:
When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
Beginning with IPython 6.0, Python 3.3 and above is required.