putty-solarized [/tc | /tcl] /d | /l session_name
- /tc generate setting of TERMCAP environment variable. it will be passed to sshd.
| async def create_piped_processes( | |
| *cmds, stdin = asyncio.subprocess.DEVNULL, stdout = None): | |
| if stdout is None: | |
| out, w = os.pipe() | |
| else: | |
| out = None | |
| w = stdout | |
| p = [] | |
| for ii, c in reversed(tuple(enumerate(cmds))): | |
| if ii == 0: |
| const s = '#6c757d'; | |
| console.log(s.replace(/#([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])/i, | |
| (m, r, g, b) => `rbd(${parseInt(r, 16)}, ${parseInt(g, 16)}, ${parseInt(b, 16)})`)); | |
| console.log(s.replace(/#([0-9a-f]{6})/i, (m, rgb) => (h => `rbg(${h >> 16}, ${(h >> 8) & 255}, ${h & 255})`)(parseInt(rgb, 16)))); | |
| console.log(s.replace(/#[0-9a-f]{6}/i, xrgb => (h => `rbg(${h >> 16}, ${(h >> 8) & 255}, ${h & 255})`)(parseInt(xrgb.substring(1), 16)))); |
| #!/bin/sh | |
| case $1 in | |
| !!!\ locked\ !!!) | |
| shift | |
| ;; | |
| *) | |
| case $1 in | |
| [-+] | forward | backward | [1-9] | [1-9][0-9]) | |
| ;; | |
| *) |
| --- shell.c.orig Fri Apr 12 21:21:39 2013 | |
| +++ shell.c Sat May 18 10:16:01 2013 | |
| @@ -36,6 +36,81 @@ | |
| #include <ctype.h> | |
| #include <stdarg.h> | |
| +#if defined(_WIN32) | |
| +#include <windows.h> | |
| +#include <wincon.h> | |
| +static int stdout_is_interactive = 0; |
| ;; cli-mode.el -- Microsoft C++/CLI mode | |
| ;; | |
| ;; This mode is derived from C++ mode. | |
| ;; | |
| (require 'cc-mode) | |
| (eval-when-compile | |
| (require 'cc-langs) | |
| (require 'cc-fonts)) |
| ref class Evaluator | |
| { | |
| public: | |
| static System::Object^ Eval(System::String ^statement) { | |
| return _evaluatorType->InvokeMember( | |
| "Eval", | |
| System::Reflection::BindingFlags::InvokeMethod, | |
| nullptr, _evaluator, | |
| gcnew array<System::Object^>(1) { statement }); | |
| } |
putty-solarized [/tc | /tcl] /d | /l session_name
| #!/bin/sh | |
| # ***** BEGIN LICENSE BLOCK ***** | |
| # Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
| # | |
| # The contents of this file are subject to the Mozilla Public License Version | |
| # 1.1 (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # http://www.mozilla.org/MPL/ | |
| # |
| Building OpenDylan on FreeBSD amd64 | |
| =================================== | |
| Install tools | |
| ------------- | |
| devel/autoconf, devel/gmake | |
| Install Boehm-GC | |
| ---------------- | |
| + put the patch into ports/devel/boehm-gc-threaded/files/patch-~~~__dyn_load.c | |
| + install ports |
| --- ./apps/app_rand.c.orig 2001-02-20 17:13:19.000000000 +0900 | |
| +++ ./apps/app_rand.c 2013-01-03 12:55:09.000000000 +0900 | |
| @@ -129,6 +129,7 @@ int app_RAND_load_file(const char *file, | |
| BIO_flush(bio_e); | |
| RAND_screen(); | |
| BIO_printf(bio_e," done\n"); | |
| + BIO_flush(bio_e); | |
| #endif | |
| if (file == NULL) |