Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻

Martin Kolb ediathome

👨‍💻
View GitHub Profile
@ediathome
ediathome / plugin.php
Last active May 9, 2022
yourls-plugin-users-in-database.php - In connection with Auth Manager Plus
View plugin.php
<?php
/*
Plugin Name: Users in Database
Plugin URI:
Description: Puts users in the database
Version: 1.0
Author: Nick Bair - revised by Martin Kolb
Author URI: https://github.com/njbair
Author URI: https://github.com/ediathome
*/
View paddle_controller.rb
#
# A controller for all Paddle related stuff
#
# For use of .env file see Gist by dblandin
# https://gist.github.com/dblandin/8509457
#
class PaddleController
def initialize
add_license if should_add_license?
@ediathome
ediathome / .rubocop.yml
Last active Aug 29, 2015
Example rubocop config file for usage with Rubymotion
View .rubocop.yml
#
# Custom .rubocop.yml file for use with Rubymotion projects
# based on this blog post:
# http://qiita.com/watson1978/items/debafdfc49511fb173e9
#
AllCops:
Exclude:
- '**/Rakefile' # exclude the Rakefile
# Disable to check whether method name use camel case