Skip to content

Instantly share code, notes, and snippets.

View miguelangelgonzalez's full-sized avatar

Miguel Angel Gonzalez miguelangelgonzalez

View GitHub Profile
@miguelangelgonzalez
miguelangelgonzalez / fetch_rubymine_license.rb
Created October 24, 2019 13:59 — forked from avsej/fetch_rubymine_license.rb
Automate rubymine license fetching
#!/usr/bin/env ruby
require 'rubygems'
require 'net/http'
require 'digest/md5'
require 'pp'
begin
require 'faker'
rescue LoadError
puts "You should install faker gem. (gem install faker)"
exit
@miguelangelgonzalez
miguelangelgonzalez / PredicatableGuid.cs
Created May 30, 2017 15:50 — forked from ChrisMcKee/PredicatableGuid.cs
Namespaced Deterministic Guid - RFC 4122 dotnetcore
using System;
using System.Security.Cryptography;
using System.Text;
namespace Utility
{
/// <summary>
/// Helper methods for working with <see cref="Guid"/>.
/// </summary>
public static class GuidUtility
using System;
using System.Net.Mail;
using Gurock.SmartInspect;
public class MailProtocol: Gurock.SmartInspect.Protocol
{
private string fHost;
private int fPort;
private string fTo;
private string fFrom;
@miguelangelgonzalez
miguelangelgonzalez / mingle.groovy
Last active January 21, 2016 15:24 — forked from miguelgonzalezLF/mingle.groovy
Mingle integration for Gitblit using a groovy script
/*
* Copyright 2011 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software