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
[1] pry(main)> loop { } | |
^CInterrupt: | |
from (pry):1:in `block in __pry__' | |
[2] pry(main)> |
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
ส็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็็- |
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
# Maintainer: Kristaps Esterlins <kristaps.esterlins@gmail.com> | |
# | |
pkgname=artwiz-ru-fonts | |
_pkgname=artwiz_ru | |
pkgver=1 | |
pkgrel=2 | |
pkgdesc="Russian version of the artwiz fonts. Supported encodings: ISO 10646-1, KOI8-R and CP1251" | |
arch=('i686' 'x86_64') | |
url="http://www.freshports.org/russian/artwiz-ru/" |
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
-module(my_tuple_to_list). | |
-compile(export_all). | |
my_tuple_to_list(T) -> | |
my_tuple_to_list_acc(T, [], tuple_size(T)). | |
my_tuple_to_list_acc(_T, L, 0) -> L; | |
my_tuple_to_list_acc(T, L, N) -> | |
my_tuple_to_list_acc(T, [element(N, T)|L], N - 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
x = {} | |
> Object {} | |
x[{}] = 1 | |
> 1 | |
x[{a: 999}] = 2 | |
> 2 | |
x[{}] | |
> 2 | |
x[{a: 999}] | |
> 2 |
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
# $Id$ | |
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> | |
# Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz> | |
pkgname=openra | |
pkgver=20150424 | |
pkgrel=1 | |
pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL" | |
arch=('any') | |
url="http://openra.net" | |
license=('GPL3') |
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
ls /tmp/.X11-unix |
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
.gradient (@color-from: #EEFF99, @color-to: #66EE33) { | |
background: #EEFF99; | |
background: -webkit-gradient(linear, 0 0, 0 bottom, from(@color-from), to(@color-to)); | |
background: -webkit-linear-gradient(@color-from, @color-to); | |
background: -moz-linear-gradient(@color-from, @color-to); | |
background: -ms-linear-gradient(@color-from, @color-to); | |
background: -o-linear-gradient(@color-from, @color-to); | |
background: linear-gradient(@color-from, @color-to); | |
-pie-background: linear-gradient(@color-from, @color-to); | |
} |
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
# Replace this: | |
$create_game_with_scene = :main_menu unless defined? $create_game_with_scene | |
# By: | |
$create_game_with_scene ||= :main_menu | |
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
require 'ray' | |
class BackgroundScene < Ray::Scene | |
def setup | |
@bg_color = Ray::Color.yellow | |
end | |
def render(win) | |
win.clear @bg_color | |
end |
OlderNewer