Skip to content

Instantly share code, notes, and snippets.

$ RUST_LOG="debug" RUST_BACKTRACE=1 ./servo ~/Downloads/servo
./servo: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./servo)
./servo: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./servo)
./servo: /usr/lib/libssl.so.1.0.0: no version information available (required by ./servo)
INFO:style::error_reporting: 51:3 Unsupported property declaration: 'width: fit-content;'
INFO:style::error_reporting: 52:3 Unsupported property declaration: 'height: fit-content;'
INFO:style::error_reporting: 60:1 Invalid rule: 'dialog::backdrop {'
INFO:style::error_reporting: 69:3 Unsupported rule: 'dialog:modal {'
INFO:style::error_reporting: 87:8 Unsupported property declaration: 'display: ruby;'
INFO:style::error_reporting: 88:6 Unsupported property declaration: 'display: ruby-text;'
$ RUST_LOG="debug" RUST_BACKTRACE=1 ./runservo.sh ~/Downloads/servo
./servo: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./servo)
./servo: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./servo)
./servo: /usr/lib/libssl.so.1.0.0: no version information available (required by ./servo)
INFO:style::error_reporting: 51:3 Unsupported property declaration: 'width: fit-content;'
INFO:style::error_reporting: 52:3 Unsupported property declaration: 'height: fit-content;'
INFO:style::error_reporting: 60:1 Invalid rule: 'dialog::backdrop {'
INFO:style::error_reporting: 69:3 Unsupported rule: 'dialog:modal {'
INFO:style::error_reporting: 87:8 Unsupported property declaration: 'display: ruby;'
INFO:style::error_reporting: 88:6 Unsupported property declaration: 'display: ruby-text;'
@evotopid
evotopid / bench.lua
Created December 16, 2015 12:02
Lua Table insert
Source = {}
for i=1,2000000 do
table.insert(Source, math.random())
end
start = os.clock()
a = {}
for i=1,2000000 do
@evotopid
evotopid / main.lua
Created December 14, 2015 20:41
Proof of issue plugin
function Initialize(a_Plugin)
PLUGIN = a_Plugin
PLUGIN:SetName("AreaGetBlockIssue")
PLUGIN:SetVersion(1)
cPluginManager.BindCommand("/BlockIssue", "issue.getblock", HandleBlockIssueCommand, "Proof of concept")
return true
end
@evotopid
evotopid / benchmark.rb
Last active August 29, 2015 14:06
Ruby Benchmark: String#bytesize vs String#size
# String#bytesize vs String#size
require 'benchmark'
N=20_000_000
short_utf8_string = "ääää"
long_utf8_string = "äääääääääääääääääääääääääääääääääääääääääääääääääääääääää"
short_ascii_string = "aaaa"
long_ascii_string = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
@evotopid
evotopid / benchmark.rb
Last active August 29, 2015 14:06
Ruby Benchmark: dynamic anonymous class definition vs. named class
require 'benchmark'
N = 500_000
Benchmark.bm(15) do |x|
x.report("named class") do
class A
def initialize
@a = 1234
end
@evotopid
evotopid / README.md
Created September 19, 2011 13:43
Chromium Updater - Mac OS X

Information

This is an updater script for the open source Web browser Chromium for the people (probably mostly developers) who want to stay on the bleeding edge version of Chromium.

It's made for Mac OS X. It downloads a copy from the build server and unpacks it to the right destination. You should shut down Chromium before running this, because it could lead to various problems if you don't.