A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
These instructions are based on this article: https://www.alexruf.net/2016/05/23/setup-gogs-git-service.html.
Setup Raspberry Pi with minimal Raspbian image. You need to connect to the HDMI port and set the following:
sudo raspi-config
There you need to enable the SSH server and you should change the hostname.
return function(request, next_middleware) | |
local CLIENT_ID = "foo" | |
local CLIENT_SECRET = "bar" | |
local APP_URL = "http://localhost:9000/#overview" | |
if request.uri == '/callback' then | |
local session_code = request.args["code"] | |
local url = "https://github.com/login/oauth/access_token" | |
local request_body = { | |
client_id = CLIENT_ID, |
Converted via https://domchristie.github.io/turndown
Sublime Text/Merge 中文 Telegram 交流群組: https://t.me/sublime_tw
ST 4 is currently under private alpha for power users to test and report issues to let the dev team make it polished before it gets publicly announced. It has been almost under alpha for 8 months already and it's actually kind of stable for daily use now. If you have a ST 3 license, you can join the offical ST Discord chat server to download and test it. And the most important thing, report issues you encoutered so ST 4 can become better. I hope people can interact with the dev team more so I don't directly put download links here but maybe you are smart enough to guess them :)
Dev Channel Changelog
set nocompatible | |
filetype plugin indent on | |
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab | |
set number | |
set hidden | |
set splitbelow | |
set splitright |
set nocompatible | |
filetype plugin indent on | |
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab | |
set number | |
set hidden | |
set splitbelow | |
set splitright |
--[[ | |
script to make mpv play torrents/magnets directly using btfs | |
requires: | |
- linux | |
- btfs | |
- xterm (optional) | |
usage: |
-- luarocks install JSON4Lua | |
-- luarocks install luacrypto | |
local json = require "json" | |
local crypto = require "crypto" | |
local secret = '<MY SUPER SECRET>' | |
local event = 'push' | |
local branch = 'refs/heads/master' |