I hereby claim:
- I am atog on github.
- I am atog (https://keybase.io/atog) on keybase.
- I have a public key whose fingerprint is 2B3B 8F7A 9009 11F7 3E67 03F5 7B29 9633 E6C5 A1D4
To claim this, I am signing this object:
public Calendar getWorldClockCurrentDateTime() { | |
URLConnection connection = new URL("http://worldclockapi.com/api/json/cet/now").openConnection(); | |
BufferedReader bfr = new BufferedReader(new InputStreamReader(connection.getInputStream())); | |
JSONObject dateTimeJson = new JSONObject(bfr.readLine()); | |
Date date = dateParser.parse(dateTimeJson.getString("currentDateTime")); | |
Calendar rvalue = Calendar.getInstance(); | |
rvalue.setTime(date); | |
return rvalue; | |
} |
I hereby claim:
To claim this, I am signing this object:
require 'psych' | |
class MemoryPicker | |
STORAGE_NAME = "picked.yml" | |
def initialize(path) | |
@path = path | |
@storage = read_or_initialize_storage | |
end |
set -g default-command fish | |
# Easy config reload | |
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." | |
# vi is good | |
setw -g mode-keys vi | |
set-option -g default-terminal screen-256color | |
bind-key : command-prompt |
require 'json' | |
require 'open-uri' | |
class GhostMigrate | |
attr_accessor :archive, :posts, :tags, :posts_tags, :template, :base_url | |
def run(filename, url) | |
@archive = JSON.parse(File.read(filename)) | |
@posts = archive["db"][0]["data"]["posts"] |
curl -fsSL https://gist.github.com/FiveYellowMice/c50490693d47577cfe7e6ac9fc3bf6cf.txt | env PKG_CONFIG_PATH=/usr/ | |
lib/openssl-1.0/pkgconfig:/usr/lib/pkgconfig rbenv install --patch 1.9.3-p551 |
# https://github.com/nightsense/seabird | |
# Colors (Seagull) | |
colors: | |
# Default colors | |
primary: | |
background: '0xffffff' | |
foreground: '0x61707a' | |
# Normal colors |
<?xml version="1.0"?> | |
<opml version="1.1"> | |
<head> | |
<title>Castro 2 Podcast Feeds</title> | |
</head> | |
<body> | |
<outline xmlUrl="https://rss.art19.com/ctrl-walt-delete" text="Ctrl-Walt-Delete" title="Ctrl-Walt-Delete" type="rss" version="RSS"/> | |
<outline xmlUrl="https://www.relay.fm/upgrade/feed" text="Upgrade" title="Upgrade" type="rss" version="RSS"/> | |
<outline xmlUrl="http://www.tech45.eu/wordpress/feeds/tech45_podcast.xml" text="Tech45" title="Tech45" type="rss" version="RSS"/> | |
<outline xmlUrl="http://feeds.soundcloud.com/users/soundcloud:users:46838518/sounds.rss" text="De Correspondent" title="De Correspondent" type="rss" version="RSS"/> |
# install the 't' gem: httjp://sferik.github.io/t/ | |
# set the path to the executable | |
t_cmd = '~/.rbenv/shims/t' | |
followings = `#{t_cmd} followings`.split /\s/ | |
whois_cmd = "#{t_cmd} whois " | |
activity = {} |
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb | |
index 8c04cb5..132d803 100644 | |
--- a/ext/openssl/extconf.rb | |
+++ b/ext/openssl/extconf.rb | |
@@ -104,6 +104,9 @@ | |
have_func("SSLv2_method") | |
have_func("SSLv2_server_method") | |
have_func("SSLv2_client_method") | |
+have_func("SSLv3_method") | |
+have_func("SSLv3_server_method") |