Skip to content

Instantly share code, notes, and snippets.

View steveturner's full-sized avatar

Steven Turner steveturner

View GitHub Profile
@steveturner
steveturner / build.scala
Created February 5, 2014 23:35
build.scala sample
import sbt._
import Keys._
import play.Project._
object ApplicationBuild extends Build {
val hgbranch = "hg branch".!!.trim
val branch = if (hgbranch == "default") {
"RELEASE"
} else {
@echo off
setlocal
set "location=\\dbserver2\students"
for /d %%d in (%location%\*) do (
md "%%d\Complaints"
)
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Set-TaskbarOptions -Lock -Dock Bottom
Update-ExecutionPolicy
choco install -y 7zip.install
#choco install -y atom
choco install -y chrome
@steveturner
steveturner / ExampleCDISPI.java
Last active March 30, 2018 22:13
An example using CDI to provide multiple implementations of an interface.
@Inject
private Instance<IPropagationModel> providerSource;
public ProviderLister() {
}
public List<String> getProviderList() {
List<String> names = new ArrayList<String>();
for (IPropagationModel provider : providerSource) {

Keybase proof

I hereby claim:

  • I am steveturner on github.
  • I am kylixz (https://keybase.io/kylixz) on keybase.
  • I have a public key ASA6bcLsj6IrNm6XaJY2JA_6wDj_MEi8x1BvxVCQ7xd4Kwo

To claim this, I am signing this object:

@steveturner
steveturner / Brewfile
Created February 14, 2019 06:19
Steve T's brew file config for work Feb 2019
tap "b-ramsey/kali"
tap "brewsci/bio"
tap "homebrew/boneyard"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "osgeo/osgeo4mac"
tap "rxseger/hackrf"
@steveturner
steveturner / interviewbox.txt
Created July 9, 2019 06:44
Interview BoxStarter
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -DisableUpperRightCornerShowCharms -DisableUpperLeftCornerSwitchApps -DisableUsePowerShellOnWinX
Set-TaskbarOptions -Lock -Dock Bottom
Update-ExecutionPolicy
choco install -y 7zip.install
#choco install -y atom
choco install -y chrome