Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Mission ready

Sasi Olin hellcp

🎯
Mission ready
View GitHub Profile
View sp.rb
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
View pattern-sway.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View y2bump
#!/usr/bin/env ruby
#
# y2bump - bump the version and add a changelog entry
#
# Author: Stasiek Michalski <hellcp@opensuse.org>
# Copyright 2019
#
require "optparse"
@hellcp
hellcp / y2metadata
Last active May 20, 2019
Testing script for metadata
View y2metadata
#!/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 ||
View fred-avatar.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hellcp
hellcp / libyui.svg
Last active Oct 21, 2018
Logo for libYUI
View libyui.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hellcp
hellcp / nvidia-prime.svg
Created Jul 13, 2018
Icon for nvidia-prime-switch
View nvidia-prime.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hellcp
hellcp / PixelFed-V4.svg
Created Jun 12, 2018
Another PixelFed logo proposal
View PixelFed-V4.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hellcp
hellcp / FredV2.svg
Created Jun 7, 2018
Improved mascot proposal for PixelFed
View FredV2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.