Skip to content

Instantly share code, notes, and snippets.

😛
OK

rcmdnk rcmdnk

😛
OK
Block or report user

Report or block rcmdnk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0857206dd37f0a8a35e4d1abd63f747c
見出し部分。ここをクリック。**見出し部分のMarkdown太文字は不可**
Name|Description|Default Value|Mandatory| :---|:----------|:------------|:--------| config_dir | Directory for some gcpm related files.|**~/.config/gcpm/** (user)
**/var/cache/gcpm** (service)|No oatuh_file | Path to OAuth information file for GCE/GCS usage.|**/oauth**|No service_account_file | Service account JSON file for GCE/GCS usage.
If not specified, OAuth connection is tried.|-|No
View asterisk.md

asterisk escape test:

hoge

*hoge*

*hoge*

*hoge*

View CapsLockCtrlEscape.ahk
#Include %A_LineFile%\..\vim.ahk
Return
#if
g_LastCtrlKeyDownTime := 0
g_AbortSendEsc := false
g_ControlRepeatDetected := false
View .cvimrc
"Settings
"set nohud
"set autohidecursor
"set noinsertmappings
set smoothscroll
set autoupdategist
set noautofocus
"let scrollstep = 30
let fullpagescrollpercent = 90
View numlock.json
{
"title": "numlock",
"rules": [
{
"description": "numlock: X -> FX",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "escape"
View switch.json
{
"title": "Switch key",
"rules": [
{
"description": "F12 switch",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f12"
@rcmdnk
rcmdnk / sticky.json
Last active Sep 1, 2017
Sticky shift by semicolon example for Karabiner-Elements
View sticky.json
{
"title": "sticky",
"rules": [
{
"description": "sticky shift - shift modifier",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "semicolon"
View details_summary_test.md
見出し部分。ここをクリック。**見出し部分のMarkdown太文字は不可**
*divの下に行を空けないで書くとMarkdownは変換されない*

ここが隠れてる部分。

中身には色々書ける。

View screen-utf8-osc.diff
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1508,8 +1508,24 @@
{
if (curr->w_stringp >= curr->w_string + MAXSTR - 1)
curr->w_state = LIT;
+# ifdef UTF8
+ else if (c < 0x80)
+ *(curr->w_stringp)++ = c;
+ else if (c < 0x800)
View screen-utf8-osc.diff
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1506,8 +1506,24 @@
{
if (curr->w_stringp >= curr->w_string + MAXSTR - 1)
curr->w_state = LIT;
+# ifdef UTF8
+ else if (c < 0x80)
+ *(curr->w_stringp)++ = c;
+ else if (c < 0x800)
You can’t perform that action at this time.