Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / gist:33b974bce767e97f06defddbec9a8cba
Created December 8, 2017 14:43
Manual Monacoin
1 - Download the miner https://github.com/tpruvot/ccminer/releases
2 - Extract the miner somewhere
3 - Create a new text file in the miner's folder, call it MINE_monacoin.bat and write into it
:start
ccminer-x64.exe -r 0 -a lyra2v2 -o stratum+tcp://hub.miningpoolhub.com:20593 -u USERNAME.WORKERNAME -p WORKERPASSWORD
timeout 1
goto start
@pxlshpr
pxlshpr / Carthage Instructions.md
Last active October 19, 2017 21:05
These are the steps required to add and embed a framework into your project using Carthage.
  1. Add the URL of the framework's repo to your Cartfile using one of the following:
  github "ReactiveCocoa/ReactiveCocoa" # GitHub.com
  github "https://enterprise.local/ghe/desktop/git-error-translations" # GitHub Enterprise
  git "https://enterprise.local/desktop/git-error-translations2.git"
  git "/Users/user/foo/bar.git"

…optionally followed by one of the following version specifiers:

@ColinEberhardt
ColinEberhardt / gist:b4bf4e4566ffa88afcda
Created March 20, 2015 08:14
Pipe forward operator and curried free functions = fluent interface
// meet Stringy - a simple string type with a fluent interface
struct Stringy {
let content: String
init(_ content: String) {
self.content = content
}
func append(appendage: Stringy) -> Stringy {