Skip to content

Instantly share code, notes, and snippets.

View orklann's full-sized avatar
🏠
Working from home

rkt orklann

🏠
Working from home
View GitHub Profile
@orklann
orklann / keystroke-toggle-linenumbers-settings.json
Created July 15, 2021 13:09 — forked from pid/keystroke-toggle-linenumbers-settings.json
Sublime Text keystroke toggle line numbers show/hide
{
"keys": ["ctrl+alt+l"],
"command": "toggle_setting",
"args": {
"setting": "line_numbers"
}
@orklann
orklann / cloudSettings
Created July 18, 2020 09:46
Visual Studio Code Settings Sync Gist
// Empty
[
{
"name": "NHK FM",
"status": "ACTIVE",
"country_code": "jp",
"country_name": "Japan",
"streams": [
{
"quality": 0,
"url": "https://nhkradioakfm-i.akamaihd.net/hls/live/512290/1-fm/1-fm-01.m3u8"
@whipowill
whipowill / install_diablo2_on_mac.md
Last active May 23, 2022 04:28
Install Diablo II on Mac OSX
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@muan
muan / details-links.md
Last active December 21, 2019 10:34
Details on details cheatsheet.
@orklann
orklann / pixelegg.me.domain.md
Created November 15, 2017 00:53
pixelegg.me can not be opened after renew domain

After renew pixelegg.me, it can not be opened.

Solution:

Go to godaddy.com and change the A record for @

A @ 45.32.225.253 600 seconds

@orklann
orklann / ignore-discord-web.md
Created November 1, 2017 12:37
忽略 Discord 网页版的服务器
discordapp.com, gateway.discord.gg
"""
1. Store the image and create an instance of ImagefileProcessHistory with status NOT_STARTED
ImageFileProcessHistory
- local_path
- file_name
- status # enum: NOT_STARTED, STARTED, SUCCEEDED, FAILED
- bytes_processed
- bytes_total
"""
@orklann
orklann / 1pixel-wegbl.txt
Last active August 4, 2017 05:23
Draw 1 pixel with Webgl
canvas.width = canvas.height = 400;
left-top is the origin in pixels
|---|---|
| | |
|---o---|
| | |
|---|---|
`o` is the origin in Webgl viewport