Skip to content

Instantly share code, notes, and snippets.

Avatar

Guillaume Coré fridim

View GitHub Profile
View evalin.rb
#!/usr/bin/env ruby
# Author : Emad Elsaid (https://github.com/blazeeboy)
require 'json'
require 'open-uri'
require 'uri'
require 'net/http'
CODE_LIMIT = 10
$url = "https://eval.in/"
$languages = {
@fridim
fridim / timezone.rb
Last active Aug 29, 2015 — forked from vivien/timezone.rb
Script to toggle timezones in i3blocks
View timezone.rb
#!/bin/ruby
#
# Toggle timezones in i3blocks
# Author: Vivien Didelot <vivien.didelot@gmail.com>
#
# Fill the ZONES array and define a block like this:
#
# [timezone]
# command=THIS_SCRIPT
# interval=5
You can’t perform that action at this time.