Skip to content

Instantly share code, notes, and snippets.

View jsonpittman's full-sized avatar

Jason Pittman jsonpittman

  • Birmingham, AL
View GitHub Profile
;*******************************************************************************
;* *
;* long branch never - Episode 03 Homework *
;* https://www.youtube.com/watch?v=6DldT2rH63c *
;* *
;* Jason Pittman *
;* *
;*******************************************************************************
org $4000
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Set-StartScreenOptions -EnableBootToDesktop
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
cinst chocolatey
cinst googlechrome
cinst firefox
cinst 7zip.install
cinst notepadplusplus.install
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Set-StartScreenOptions -EnableBootToDesktop
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
cinst chocolatey
cinst googlechrome
cinst firefox
cinst 7zip.install
cinst notepadplusplus.install
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
. { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
Install-BoxstarterPackage -PackageName [filepath] -DisableReboots
"
" .vimrc
"
" Vim configuration resource file. Specifies desired
" behavior for the vim editor. Place this file at
" ~/.vimrc
"
:set showmode " Tell us when we're in insert mode.
:set tabstop=4 " Set the tabstop to 4 spaces
:set shiftwidth=4 " Shiftwidth should match tabstop
@jsonpittman
jsonpittman / CMOC.txt
Created July 15, 2019 04:06
CMOC and LWTOOLS on Fedora
// **********************************************************************
//** Steps to install CMOC and LWTOOLS on Fedora workstation **
//** CMOC and LWTOOLS versions are current versions as of 7/14/19 **
// **********************************************************************
// First, install updates and reboot:
sudo yum -y update
sudo yum -y install bison flex make gcc-c++
@jsonpittman
jsonpittman / cmoc.bat
Last active September 27, 2021 02:50
Easily install Cygwin, LWTOOLS, and CMOC in Windows
1) open an elevated command prompt (right click on Command Prompt and "Run as Administrator")
2) enter command: mkdir c:\Cygwin
3) enter command: cd c:\Cygwin
4) Paste the text below into notepad. Save in c:\Cygwin as "cmoc.bat":
bitsadmin /transfer wcb /priority high https://www.cygwin.com/setup-x86_64.exe c:\Cygwin\setup-x86_64.exe
setup-x86_64.exe -q --site http://cygwin.osuosl.org/ --root c:\Cygwin -P bison -P flex -P make -P gcc-c++ -P perl -P wget -P cygport
cd c:\Cygwin\bin
bash --login -c "cd /home; wget http://www.lwtools.ca/releases/lwtools/lwtools-4.18.tar.gz; tar zxvf lwtools-4.18.tar.gz"
bash --login -c "cd /home/lwtools-4.18; make; make install"
10 N=1:S=1
20 TM=TIMER
30 FOR X = 1 TO 1000
40 N=N+S
50 IF S > 100 OR S < 1 THEN S=-S
60 NEXT X
70 T=TIMER:PRINT:PRINT (T-TM)/60;"SECONDS":REM RESULT = 16.15
80 TM=TIMER
90 FOR X = 1 TO 1000
100 N=N+S