This file contains hidden or 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
# quick demo of fiber scheduling | |
# Ruby 3.1.1 | |
# see https://brunosutic.com/blog/ruby-fiber-scheduler | |
# see https://rubyapi.org/3.0/o/fiber/schedulerinterface | |
# see https://github.com/bruno-/fiber_scheduler_list | |
# using a default implementation of fiber_scheduler via | |
# gem install fiber_scheduler | |
require 'fiber_scheduler' |
This file contains hidden or 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 | |
LOWEST=0.3 | |
HIGHEST=4 | |
def sys(cmd, *args, **kwargs) | |
puts("*** running: \e[1m\e[33m#{cmd} #{args}\e[0m\e[22m") | |
system(cmd, *args, exception: true, **kwargs) |
This file contains hidden or 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
{ | |
"public_identifier": "richard-logwood", | |
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/richard-logwood/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230727%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230727T001314Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9e91441d14f3b012def5c567bc1667220b61f0c889306b180a728046b6706b84", | |
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/richard-logwood/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230727%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230727T001314Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f2375aa97fdc04d14a109a88edbac78297aa57ed41a58fbc176d6058cdcc5292", | |
"first_name": "Richard", | |
"last_name": "Logwood", | |
"full_name": "Richard Logwood", | |
"follower_count": 202, | |
"occupation": "Software Engineer at Adaptive Financial Consulting", | |
"headline": "Full Stack Software Enginee |
OlderNewer