This file contains hidden or 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
To load "cl-cuda-test": | |
Load 1 ASDF system: | |
cl-cuda-test | |
; Loading "cl-cuda-test" | |
...... | |
[37mtest cuInit[0m | |
Invoking CU-INIT succeded. | |
[37mtest cuDeviceGet[0m | |
Invoking CU-DEVICE-GET succeded. | |
CUDA device handle: 0 |
This file contains hidden or 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
# Test script | |
```lisp | |
#!/bin/sh | |
#|-*- mode:lisp -*-|# | |
#| | |
exec ros -Q -- $0 "$@" | |
|# | |
(progn ;;init forms |
This file contains hidden or 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
{ | |
"properties": { | |
"context": { | |
"properties": { | |
"condition": { | |
"properties": { | |
"metricName": { | |
"type": "string" | |
}, | |
"metricUnit": { |
This file contains hidden or 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
$ git clone -b release https://github.com/docker/compose.git | |
$ cd compose |
This file contains hidden or 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
escape ^Tt | |
altscreen on | |
defscrollback 1000 | |
termcapinfo xterm* ti@:te@ | |
startup_message off | |
defbce on | |
term xterm-256color | |
hardstatus alwayslastline | |
#hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%' | |
#hardstatus alwayslastline "%{= cd} %-w%{= wk} %n %t* %{-}%+w %= LoadAVG [%l] " |
This file contains hidden or 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
// | |
// NSUUID+Base64.h | |
// | |
// | |
#import <Foundation/Foundation.h> | |
@interface NSUUID (Base64) | |
- (instancetype)initWithBase64String:(NSString*)string withPadding:(BOOL)padding; |
This file contains hidden or 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
#!/bin/sh | |
mkdir ${TMPDIR}/com.apple.IconServices |
This file contains hidden or 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
(defmacro condx-aux [f & clauses] | |
(when clauses | |
(list f (first clauses) | |
(if (next clauses) (second clauses) | |
(throw (IllegalArgumentException. "condx requires an even number of forms"))) | |
(cons 'condx (next (next clauses)))))) | |
(defmacro condx | |
"condx extends cond to allow 'if-let' style binding forms. | |
Example: |
This file contains hidden or 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
(defun init-cygpath () | |
(when (eq system-type 'cygwin) | |
(require 'compile) | |
(require 'cl) | |
(labels ((dquote (s) (concat "\"" s "\"")) | |
(apply-cygpath (opt p) | |
(replace-regexp-in-string | |
"\n" "" | |
(shell-command-to-string | |
(mapconcat 'identity (list "cygpath" opt (dquote p)) " "))))) |