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 | |
# 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 = { |
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
#!/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 |