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
--- a/lib/dockerSemanticTokens.js | |
+++ b/lib/dockerSemanticTokens.js | |
@@ -252,6 +252,8 @@ | |
var onbuild = instruction; | |
this.createTokensForInstruction(onbuild.getTriggerInstruction()); | |
return; | |
+ case dockerfile_ast_1.Keyword.RUN: | |
+ return; | |
} | |
this.createArgumentTokens(instruction, args); |
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
# vim: ft=sh | |
# docker run --rm -it -v =(curl -s https://gist.githubusercontent.com/waltarix/f1d2046dc93ec61721bcd2cacd7d48f8/raw/af8fd9cbfb40bf79d0113f3a436c9e57d01a0a4b/ash_profile):/etc/profile alpine:3.9 ash -l | |
# or | |
# docker run --rm -it -v =(curl -s https://git.io/fjity):/etc/profile alpine:3.9 ash -l | |
export CHARSET=UTF-8 | |
export PAGER=less | |
cat <<ZONE | base64 -d | gzip -d > /etc/localtime |
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
#ifndef WCWIDTH9_H | |
#define WCWIDTH9_H | |
#include <stdlib.h> | |
#include <stdbool.h> | |
struct wcwidth9_interval { | |
long first; | |
long last; | |
}; |
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
/* | |
* Written by Alexey Tourbin <[email protected]>. | |
* | |
* The author has dedicated the code to the public domain. Anyone is free | |
* to copy, modify, publish, use, compile, sell, or distribute the original | |
* code, either in source code form or as a compiled binary, for any purpose, | |
* commercial or non-commercial, and by any means. | |
*/ | |
#include <assert.h> | |
#include <stdlib.h> |
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
diff --git a/src/Text/Pandoc/Writers/Textile.hs b/src/Text/Pandoc/Writers/Textile.hs | |
index 98f9157..8e086e1 100644 | |
--- a/src/Text/Pandoc/Writers/Textile.hs | |
+++ b/src/Text/Pandoc/Writers/Textile.hs | |
@@ -40,13 +40,13 @@ import Text.Pandoc.Templates (renderTemplate') | |
import Text.Pandoc.XML ( escapeStringForXML ) | |
import Data.List ( intercalate ) | |
import Control.Monad.State | |
-import Data.Char ( isSpace ) | |
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
# vim:ft=zsh | |
whence peco &>/dev/null && function { | |
function peco_select_history { | |
emulate -L zsh | |
local delimiter=$'\0; \0' newline=$'\n' | |
BUFFER=${"$(print -rl ${history//$newline/$delimiter} | peco --query "$LBUFFER")"//$delimiter/$newline} | |
CURSOR=$#BUFFER |
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
[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m | |
[0;39;42m [0m[0;39;42m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;42m [0m[0;39;42m [0m | |
[0;39;42m [0m[0;39;42m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;42m [0m[0;39;42m [0m | |
[0;39;42m [0m[0;39;42m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;42m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;40m [0m[0;39;42m |
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
@ECHO OFF | |
SET HOME=%~dp0 | |
START /B %HOME%/bin/runemacs.exe |
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
<?php | |
const CALC_LIMIT = 1000; | |
// fibo | |
var_dump(implode(', ', nacci(CALC_LIMIT, [0, 1]))); | |
// tribo | |
var_dump(implode(', ', nacci(CALC_LIMIT, [0, 0, 1]))); |
NewerOlder