Skip to content

Instantly share code, notes, and snippets.

@PartTimeLegend
PartTimeLegend / gist:5170990
Last active January 29, 2018 10:05
Bitcoin Mining On Raspberry Pi

Bitcoin Mining On Raspberry Pi

This is a quick and dirty guide to Bitcoin Mining on your Raspberry Pi. It's not going to be fast or efficient and may cause damage. I'm not responsible if you break anything, kill a cat or your wife leaves you as a result of this.

The following commands are to be run via either Terminal on the Pi or via SSH. If you are looking for a Windows SSH client, I recommend PuTTY


@bradjolicoeur
bradjolicoeur / gist:e77c508089aea6614af3
Created August 8, 2014 20:15
Powershell Script to Increment Build Number in AssemblyInfo.cs
#
# This script will increment the build number in an AssemblyInfo.cs file
#
$assemblyInfoPath = "C:\Data\Temp\AssemblyInfo.cs"
$contents = [System.IO.File]::ReadAllText($assemblyInfoPath)
$versionString = [RegEx]::Match($contents,"(AssemblyFileVersion\("")(?:\d+\.\d+\.\d+\.\d+)(""\))")
Write-Host ("AssemblyFileVersion: " +$versionString)