Skip to content

Instantly share code, notes, and snippets.

View hellcp's full-sized avatar
🎯
Mission ready

Jacob Michalskie hellcp

🎯
Mission ready
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hellcp
hellcp / y2metadata
Last active May 20, 2019 14:44
Testing script for metadata
#!/usr/bin/env ruby
require 'builder'
require 'optparse'
require 'inifile'
options = {}
OptionParser.new do |parser|
parser.banner = "Usage: y2metainfo [options]"
parser.on("-h", "--help", "Show this help message") do ||
@hellcp
hellcp / y2bump
Last active October 3, 2019 03:14
#!/usr/bin/env ruby
#
# y2bump - bump the version and add a changelog entry
#
# Author: Stasiek Michalski <hellcp@opensuse.org>
# Copyright 2019
#
require "optparse"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hellcp
hellcp / sp.rb
Last active March 27, 2021 18:05
require 'mediawiki_api'
require 'discordrb'
require 'rmagick'
require 'open-uri'
require 'rexml/document'
require 'digest'
def lgbta_get_image_url(query)
client = MediawikiApi::Client.new 'https://lgbta.wikia.org/api.php'
result = client.query(srsearch: query, list: :search).data['search'].first
@hellcp
hellcp / gist:68feaa1e25078973f0bca99cd64b0b79
Last active October 26, 2021 19:17
Single character emoji list
U+1F600 😀 grinning face
U+1F603 😃 grinning face with big eyes
U+1F604 😄 grinning face with smiling eyes
U+1F601 😁 beaming face with smiling eyes
U+1F606 😆 grinning squinting face
U+1F605 😅 grinning face with sweat
U+1F923 🤣 rolling on the floor laughing
U+1F602 😂 face with tears of joy
U+1F642 🙂 slightly smiling face
U+1F643 🙃 upside-down face
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.