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
# palettegen.rb | |
# Copyright 2008 Michael Yacavone, myacavone at gmail.com | |
# Released under the MIT license ("do whatever you want") | |
# http://www.opensource.org/licenses/mit-license.php | |
# Would love to receive improvement patches! | |
# Version 1.0 | |
# February 18, 2007 | |
# Version 1.1 |
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
## defn main | |
.text | |
.globl main | |
main: | |
## frame 32 20 64 80 | |
pushl %ebp | |
movl %esp,%ebp | |
subl $72,%esp | |
movl $2,%eax | |
movl %eax,32(%esp) |
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
strace ./eval | |
execve("./eval", ["./eval"], [/* 87 vars */]) = 0 | |
[ Process PID=23363 runs in 32 bit mode. ] | |
brk(0) = 0x8e9b000 | |
uname({sys="Linux", node="t530", ...}) = 0 | |
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7789000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat64(3, {st_mode=S_IFREG|0644, st_size=228057, ...}) = 0 | |
mmap2(NULL, 228057, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7751000 |
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
./red-050 | |
*** Driver Internal Error: Script Error : Cannot use lesser? on date! value | |
*** Where: run-console | |
*** Near: [if any [ | |
not exists? exe | |
(modified? exe) < modified? bin | |
] [ | |
console: %environment/console/ | |
write script read-cache console/console.red | |
write temp-dir/help.red read-cache console/help.red |
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
REBOL [title: "Video"] | |
url: http://cam.luzern.org/axis-cgi/jpg/image.cgi?resolution=320x240 | |
view layout [ | |
image 640x480 rate 0 feel [ | |
engage: func [f a e] [ | |
if a = 'time [ | |
f/image: load url | |
show f | |
] | |
] |
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
picture: to-image layout [ | |
backcolor white | |
h1 "More GUI Examples:" | |
box red 500x2 | |
bar: progress | |
slider 200x16 [bar/data: value show bar] | |
area "Type here" | |
drop-down | |
across | |
toggle "Click" "Here" [print value] |
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
>> probe extract svv/vid-styles 2 | |
[face blank-face | |
IMAGE | |
BACKDROP | |
BACKTILE | |
BOX | |
BAR | |
SENSOR | |
KEY | |
BASE-TEXT |
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
~/dev/erl $ erl -pa . | |
Eshell V6.3 (abort with ^G) | |
1> maybe:start_link(). | |
{ok,<0.34.0>} | |
2> maybe:unlift(5). | |
{error,badarg} | |
3> N = maybe:nothing(). | |
#Ref<0.0.0.32> | |
4> maybe:unlift(N). | |
nothing |
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
#------------------------------------------------------------------------------ | |
# Modified Calculate-core 3.1.9.3 | |
# Processed template files: | |
# /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-apps/portage/make.conf | |
# For modify this file, create /etc/make.conf.clt template. | |
#------------------------------------------------------------------------------ | |
#------------------- | |
# Basic build option | |
#------------------- |
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
[blocks B ] x11-libs/libXi[abi_x86_32(-)] ("x11-libs/libXi[abi_x86_32(-)]" is blocking app-emulation/emul-linux-x86-xlibs-20140508) | |
[blocks B ] x11-libs/libXp[abi_x86_32(-)] ("x11-libs/libXp[abi_x86_32(-)]" is blocking app-emulation/emul-linux-x86-xlibs-20140508) | |
[blocks B ] x11-libs/libXtst[abi_x86_32(-)] ("x11-libs/libXtst[abi_x86_32(-)]" is blocking app-emulation/emul-linux-x86-xlibs-20140508) | |
[blocks B ] x11-libs/libXt[abi_x86_32(-)] ("x11-libs/libXt[abi_x86_32(-)]" is blocking app-emulation/emul-linux-x86-xlibs-20140508) | |
[blocks B ] media-libs/glu[abi_x86_32(-)] ("media-libs/glu[abi_x86_32(-)]" is blocking app-emulation/emul-linux-x86-opengl-20140508) | |
[blocks B ] app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] ("app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]" is blocking media-libs/flac-1.3.1-r1, media-sound/musepack-tools-465-r1, media-libs/libsndfile-1.0.25-r1, media-libs/libvorbis-1.3.4, media-sound/mpg123-1.18.1, media-libs/libogg-1.3.1, media-sound/gsm-1. |