Skip to content

Instantly share code, notes, and snippets.

Jim Counts jamesrcounts

Block or report user

Report or block jamesrcounts

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
View settings.json
"files.autoSave": "afterDelay",
"workbench.colorTheme": "Visual Studio Light",
"cSpell.userWords": [
"workbench.iconTheme": "material-icon-theme",
"window.zoomLevel": 1,
"editor.rulers": [
jamesrcounts / boxstarter.ps1
Created Jan 9, 2019 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jess Frazelle <>
# Last Updated: 2017-09-11
# Install boxstarter:
# . { iwr -useb } | iex; get-boxstarter -Force
# You might need to set: Set-ExecutionPolicy RemoteSigned
# Run this boxstarter by calling the following from an **elevated** command-prompt:
jamesrcounts /
Created Jun 11, 2015
Python Challenge 0
url = ""
print(url % 2**38)
jamesrcounts / starter.cmd
Last active Mar 11, 2019
Boxstarter: Windows 10
View starter.cmd
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-WindowsOptionalFeature -Online -FeatureName containers –All
choco install Microsoft-Hyper-V-All -source windowsFeatures
choco install Microsoft-Windows-Subsystem-Linux -source windowsfeatures
jamesrcounts /
Created Jun 5, 2015
Tortise Text Reporter for Python
from subprocess import call
from approvaltests.Reporter import Reporter
class TortoiseTextReporter(Reporter):
def get_command(approved_path, received_path):
return ['C:\\Program Files\\TortoiseSVN\\bin\\tortoisemerge.exe', received_path, approved_path]
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl | tar xz --strip-components=1
./configure --prefix=$HOME/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl | sh
jamesrcounts /
Created Apr 16, 2015
Recursive Square Attempt
package org.teachingkidsprogramming.section05recursion;
import org.teachingextensions.logo.Tortoise;
public class RecursiveSquare
public static void main(String[] args) throws Exception
double length = 100.0;
jamesrcounts / starter.cmd
Created Mar 30, 2015
Minimal box starter
View starter.cmd
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
choco install googlechrome
Set-ExecutionPolicy -Force Unrestricted
jamesrcounts / index.html
Last active Aug 29, 2015
Highlight Match Directive
View index.html
<!DOCTYPE html>
<title>AngularJS Tutorials</title>
<link rel="stylesheet" href="//">
<div ng-app="myApp">
<!-- we've replaced the use of $scope with the preferred "controller as" syntax. see:>
View starter.cmd
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
choco install googlechrome
choco install sublimetext2
choco install console2
choco install sourcecodepro
choco install githubforwindows
choco install tortoisemerge
choco install pscx
You can’t perform that action at this time.