Skip to content

Instantly share code, notes, and snippets.

Isao Sugimoto d6rkaiz

Block or report user

Report or block d6rkaiz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
d6rkaiz / git-cleanup-repo
Created Oct 21, 2017 — forked from robmiller/git-cleanup-repo
A script for cleaning up Git repositories; it deletes branches that are fully merged into `origin/master`, prunes obsolete remote tracking branches, and as an added bonus will replicate these changes on the remote.
View git-cleanup-repo
# git-cleanup-repo
# Author: Rob Miller <>
# Adapted from the original by Yorick Sijsling
git checkout master &> /dev/null
# Make sure we're working with the most up-to-date version of master.
git fetch
d6rkaiz / hook.rb
Created May 1, 2016 — forked from asimihsan/hook.rb
Hook for to do DNS challenges
View hook.rb
#!/usr/bin/env ruby
require 'aws-sdk'
require 'pry'
require 'awesome_print'
require 'domain_name'
# ------------------------------------------------------------------------------
# Credentials
# ------------------------------------------------------------------------------
View staging.rb
require Rails.root.join('config/environments/production')
MyApp::Application.configure do
config.action_dispatch.tld_length = 2 # vs
d6rkaiz / 0_reuse_code.js
Created Aug 22, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
d6rkaiz /
Created Jun 19, 2012 — forked from DAddYE/
OSX For Hackers
# This is a script with usefull tips taken from:
# Run in interactive mode with:
# $ sh -c "$(curl -sL"
# or run it without prompt questions:
View wp-xml-import.rb
# -*- encoding: utf-8 -*-
require 'fileutils'
require 'date'
require 'yaml'
require 'rexml/document'
include REXML
doc =[0])
FileUtils.mkdir_p "_posts"
You can’t perform that action at this time.