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
diff --git a/version.c b/version.c | |
index b5b0bfd..52bc832 100644 | |
--- a/version.c | |
+++ b/version.c | |
@@ -56,9 +56,9 @@ const int ruby_api_version[] = { | |
# define RUBY_FULL_REVISION RUBY_REVISION | |
#endif | |
#ifdef YJIT_SUPPORT | |
-#define YJIT_DESCRIPTION " +YJIT " STRINGIZE(YJIT_SUPPORT) | |
+#define YJIT_DESCRIPTION " +jemalloc +YJIT " STRINGIZE(YJIT_SUPPORT) |
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
diff --git a/version.c b/version.c | |
index a2d278f2db..9e008edb91 100644 | |
--- a/version.c | |
+++ b/version.c | |
@@ -65,9 +65,9 @@ const char ruby_revision[] = RUBY_FULL_REVISION; | |
const char ruby_release_date[] = RUBY_RELEASE_DATE; | |
const char ruby_platform[] = RUBY_PLATFORM; | |
const int ruby_patchlevel = RUBY_PATCHLEVEL; | |
-const char ruby_description[] = RUBY_DESCRIPTION_WITH(""); | |
-static const char ruby_description_with_mjit[] = RUBY_DESCRIPTION_WITH(" +MJIT"); |
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
diff --git a/version.c b/version.c | |
index 653a4238a9..c381e151e4 100644 | |
--- a/version.c | |
+++ b/version.c | |
@@ -61,17 +61,17 @@ const int ruby_api_version[] = { | |
# define RUBY_FULL_REVISION RUBY_REVISION | |
#endif | |
#ifdef YJIT_SUPPORT | |
-#define YJIT_DESCRIPTION " +YJIT " STRINGIZE(YJIT_SUPPORT) | |
+#define YJIT_DESCRIPTION " +jemalloc +YJIT " STRINGIZE(YJIT_SUPPORT) |
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 'aws-sdk-lightsail' | |
ls = Aws::Lightsail::Client.new(region: "ap-northeast-1") | |
pattern = /^(103|175|46)/ | |
instance_name = "vm" | |
ip_pool = Set.new | |
ip_names = 4.times.map { |i| "vm-ip-#{i}" } | |
loop do |
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: Jiting <[email protected]> | |
# Contributor: Felix Golatofski <[email protected]> | |
# Contributor: Butui Hu <[email protected]> | |
# Contributor: Sebastiaan Lokhorst <[email protected]> | |
pkgname=imagej-git | |
pkgver=r9160.19f0d69f4 | |
pkgrel=2 | |
_name=imagej | |
_title=ImageJ |
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 ruby | |
require 'nokogiri' | |
exit if ARGV.empty? | |
filename = ARGV[0] | |
doc = Nokogiri::XML(File.open(filename)) | |
danmus = doc.xpath("//d").map do |el| |
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 -S ruby -W0 | |
require 'watir' | |
require 'webdrivers' | |
Watir.default_timeout = 120 | |
args = %w[--headless --no-sandbox --disable-dev-shm-usage] | |
b = Watir::Browser.new :chrome, options: { args: args } | |
hosts = %w[live-push.bilivideo.com txy.live-send.acg.tv js.live-send.acg.tv] | |
ips = [] | |
hosts.each do |host| |
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 ruby | |
# frozen_string_literal: true | |
require 'colorize' | |
require 'open3' | |
require 'json' | |
require 'tempfile' | |
def parse_info(filename) | |
data = JSON.load File.open(filename) |