Skip to content

Instantly share code, notes, and snippets.

@krsakai
krsakai / NSDate+Utils.h
Last active Aug 29, 2015 — forked from yutaaa/NSDate+Utils.h
Objective-C NSDate Utils.
View NSDate+Utils.h
//
// NSDate+Utils.h
//
// Copyright (c) 2015 Yuta Takahashi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@krsakai
krsakai / sshpass.rb
Created Aug 30, 2019 — forked from M-Barnett/sshpass.rb
brew install sshpass
View sshpass.rb
require 'formula'
class Sshpass < Formula
url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.06/sshpass-1.06.tar.gz'
homepage 'http://sourceforge.net/projects/sshpass'
sha256 'c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"