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
./gradlew forceConfigurationResolution analyzeClassesDependencies --stacktrace | |
> Task :analyzeClassesDependencies FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':analyzeClassesDependencies'. | |
> Cannot change dependencies of dependency configuration ':apiHelper' after it has been resolved. | |
* Try: |
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
_position | |
absolute_file_path | |
add_child | |
add_mouse_hover_control | |
add_to_parent | |
adjust_current_position | |
after_initialize | |
aliceblue | |
align | |
angle |
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
Warming up -------------------------------------- | |
small.png by filename | |
220.000 i/100ms | |
small.png by tmp 75.000 i/100ms | |
small.png by raw bytes | |
533.000 i/100ms | |
Calculating ------------------------------------- | |
small.png by filename | |
2.390k (± 5.7%) i/s - 12.100k in 5.079918s | |
small.png by tmp 925.886 (± 8.1%) i/s - 4.650k in 5.059677s |
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
#! /usr/bin/env jruby | |
require 'swt' | |
# swt gem doesn't appear to import the ScrolledComposite we need | |
# Looking at docs it's plenty old enough to be in any Java version we support | |
module Swt | |
include_package 'org.eclipse.swt.custom' | |
module Custom |
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
$ ruby -e 'puts RbConfig::CONFIG["CFLAGS"]' | |
-O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat | |
$ gdb --args /usr/local/bin/ruby -e '"new string"' | |
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 | |
Copyright (C) 2014 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" |
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
# http://github.com/shoes/shoes4 | |
# @jasonrclark | |
Shoes.app width: 450, height: 800 do | |
oval 150, 75, 150, 150, fill: blue | |
rect 100, 500, 250, 50, fill: red | |
rect 150, 150, 150, 400, fill: white | |
rect 150, 400, 75, 50, fill: black |
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
#! /usr/bin/env jruby | |
require 'swt' | |
#module Swt | |
#include_package 'org.eclipse.swt.graphics' | |
#include_package 'org.eclipse.swt.events' | |
#include_package 'org.eclipse.swt.dnd' | |
#module Events |
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
✔ ♥♥♥♥ [jruby-1.7.22] (master)* | |
~/source/jruby-guard-rspec:bundle exec guard -i -d | |
10:22:59 - DEBUG - Notiffany: gntp not available (Please add "gem 'ruby_gntp'" to your Gemfile and run your app with "bundle exec".). | |
10:22:59 - DEBUG - Notiffany: growl not available (Please add "gem 'growl'" to your Gemfile and run your app with "bundle exec".). | |
10:22:59 - DEBUG - Notiffany: terminal_notifier not available (Please add "gem 'terminal-notifier-guard'" to your Gemfile and run your app with "bundle exec".). | |
10:22:59 - DEBUG - Notiffany: libnotify not available (Unsupported platform "darwin"). | |
10:22:59 - DEBUG - Notiffany: notifysend not available (Unsupported platform "darwin"). | |
10:22:59 - DEBUG - Notiffany: notifu not available (Unsupported platform "darwin"). | |
10:22:59 - DEBUG - Command execution: {"ALTERNATE_EDITOR"=>"false"} emacsclient --eval '1' | |
10:22:59 - DEBUG - Notiffany: emacs not available (Emacs client failed). |
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
javascript:(function()%7B(function()%7Bemoji%3D%5B"bowtie","smile","laughing","blush","smiley","relaxed","smirk","heart_eyes","kissing_heart","kissing_closed_eyes","flushed","relieved","satisfied","grin","wink","stuck_out_tongue_winking_eye","stuck_out_tongue_closed_eyes","grinning","kissing","kissing_smiling_eyes","stuck_out_tongue","sleeping","worried","frowning","anguished","open_mouth","grimacing","confused","hushed","expressionless","unamused","sweat_smile","sweat","disappointed_relieved","weary","pensive","disappointed","confounded","fearful","cold_sweat","persevere","cry","sob","joy","astonished","scream","neckbeard","tired_face","angry","rage","triumph","sleepy","yum","mask","sunglasses","dizzy_face","imp","smiling_imp","neutral_face","no_mouth","innocent","alien","yellow_heart","blue_heart","purple_heart","heart","green_heart","broken_heart","heartbeat","heartpulse","two_hearts","revolving_hearts","cupid","sparkling_heart","sparkles","star","star2","dizzy","boom","collision","anger","exclamation","qu |
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 'benchmark/ips' | |
class FakeDimension | |
def initialize | |
@margin_start = 10 | |
@margin_start_relative = false | |
end | |
def relative?(result) | |
result.is_a?(Float) && result <= 1 |
NewerOlder