- Break the work into as many small pieces as possible and let one person handle each unique piece
- Think super small microservices with a gateway to connect them all
- Mock everything first and set it up for real afterwards
- Have a CI/CD plan set up ahead of time so that builds and deploys to smoothly. <3 Docker
- Bring people with the following skillsets
- UI / UX Frontend Developer (This person is almost always required and will have constant work the whole hackathon)
- Mobile Developer (May or may not be the same as the UI / UX Developer)
- Backend Developer (It is frequently useful to run your own api for data collation or processing)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Advanced Window Snap | |
* Snaps the Active Window to one of nine different window positions. | |
* | |
* @author Andrew Moore <[email protected]> | |
* @version 1.0 | |
*/ | |
/** | |
* SnapActiveWindow resizes and moves (snaps) the active window to a given position. |
- Get the current date:
$date_now = Get-Date
- Get the expiration date:
$extended_date = $date_now.AddYears(3)
- Create the cert:
$cert = New-SelfSignedCertificate -certstorelocation cert:\localmachine\root -dnsname website.local -notafter $extended_date -Type CodeSigningCert
- Create a password:
$pwd = ConvertTo-SecureString -String 'PASSWORD' -Force -AsPlainText
- Get the path of the cert:
$path =
cert:\localMachine\root' + $cert.thumbprint` - Export the cert so it can be imported as a Trusted Root Certificate:
Export-PfxCertificate -cert $path -FilePath ~\powershellcert.pfx -Password $pwd
- You might be able to skip this step. Since it's created as root I'm not sure if exporting / importing is necessary
- Get the cert once it is imported:
$cert = @(Get-ChildItem cert:\CurrentUser\root -codesigning)[0]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="audacity" /> | |
<package id="autohotkey" /> | |
<package id="blender" /> | |
<package id="discord" /> | |
<package id="ditto" /> | |
<package id="firefox" /> | |
<package id="flux" /> | |
<package id="gimp" /> |
NOTE: Skip straight to step 6 if you have already installed python2.7.
-
Install chocolatey Run this in a cmd prompt window. Make sure to right click the icon and use "Run as administrator"
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
-
Open a new admin command prompt
-
Install python
- This step will use chocolatey to install python2 and python3 on your computer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor] | |
"AutoRun"="%USERPROFILE%\\aliases.cmd" | |
- Make cmd aliases
- Run
certutil.exe -urlcache -split -f "https://gist.github.com/2ajoyce/246cfd1feee333ef09692506010c2648/raw/" %USERPROFILE%\aliases.cmd
in the cmd prompt - Download and run https://gist.github.com/2ajoyce/f80263b8b248084da6d7c54dc8ffdfe2 to create a registry key
- Run
- Make git bash aliases
- Run
certutil.exe -urlcache -split -f "https://gist.github.com/2ajoyce/9a82fb6858d262055981ebcc94d0de54/raw/" %USERPROFILE%\.bash_profile
in the cmd prompt
- Run
- Install Chocolatey
- Install programs with chocolatey
- Run
certutil.exe -urlcache -split -f "https://gist.github.com/2ajoyce/ae087a4107d8bae35b5f54c4f50e1cff/raw/" %USERPROFILE%\packages.config
in the cmd prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="sql-server-management-studio" /> | |
<package id="autodesk-fusion360" /> | |
<package id="autohotkey" /> | |
<package id="spotify" /> | |
<package id="ditto" /> | |
<package id="dotnet4.5" /> | |
<package id="dotnetcore-sdk" /> | |
<package id="filezilla" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Save this file as %USERPROFILE%\aliases.bat | |
:: Run regedit and go to HKEY_CURRENT_USER\Software\Microsoft\Command Processor | |
:: Add String Value entry with the name AutoRun and the full path of your .bat/.cmd file. | |
:: Copied from: https://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt | |
DOSKEY ls=dir /B | |
DOSKEY ll=dir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Player { | |
constructor() { | |
this.health = 20; | |
this.healing = false; | |
} | |
playTurn(warrior) { | |
if (warrior.health() > 12 && !this.healing) { | |
this.sense(warrior); | |
} else if (warrior.health() < this.health) { |
NewerOlder