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
sleep 1 | |
t app key mode | |
sleep 1 | |
t app key record | |
sleep 1 | |
d:\autoexec2.ash |
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
#fix_apache | |
#http://lists.bitfolk.com/lurker/message/20140907.170406.4b9ef2e5.en.html | |
echo start>>httpd.log | |
echo ps -C httpd -FH>>httpd.log | |
ps -C httpd -FH>>httpd.log | |
echo ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr>>httpd.log | |
ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr>>httpd.log | |
#cat /etc/httpd/conf/httpd.conf | grep LoadModule | |
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak | |
sed -i 's|^LoadModule|#LoadModule|g' /etc/httpd/conf/httpd.conf |
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
vagrantfile: | |
target: local | |
vm: | |
box: puphpet/centos65-x64 | |
box_url: puphpet/centos65-x64 | |
hostname: '' | |
memory: '512' | |
cpus: '1' | |
chosen_provider: virtualbox | |
network: |
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
#!/bin/sh | |
### Core | |
xcode-select --install | |
xcodebuild -license | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew tap caskroom/cask | |
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup | |
brew install brew-cask | |
brew install git | |
brew install wget |
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
::setup - Setup Vagrant | |
ECHO *** install chocolatey | |
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
ECHO *** install virtualbox | |
choco install virtualbox | |
ECHO *** install vagrant | |
choco install vagrant | |
ECHO *** done! | |
pause | |
::EOF |
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
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm | |
yum install php56w php56w-opcache | |
yum install yum-plugin-replace -y | |
yum replace php-common --replace-with=php56w-common -y | |
service httpd restart |
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
::setup - Setup Windows Development Environment | |
ECHO *** install chocolatey | |
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
ECHO *** install Google Chrome | |
choco install GoogleChrome -y | |
ECHO *** install Firefox | |
choco install firefox -y | |
pause | |
::EOF |
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
::install_dotnetfx40.bat - installs dotNetFx40_Full_x86_x64.exe | |
::based on install_ooo.bat by @jpswade | |
@ECHO OFF | |
:SETTINGS | |
SET INSTALLNAME=Microsoft .NET Framework | |
SET SOURCEDIR=%CD% | |
SET INSTALLURL=http://www.microsoft.com/en-gb/download/details.aspx?id=17718 | |
SET INSTALLEXE=dotNetFx40_Full_x86_x64.exe | |
:START |
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 | |
ECHO Fixes for Windows AutoUpdates | |
ECHO @see http://support.microsoft.com/kb/971058 | |
ECHO By @jpswade | |
PAUSE | |
ECHO Updating the time... | |
W32TM /config /update /syncfromflags:manual /manualpeerlist:"time-b.nist.gov,0x8" | |
ECHO Stopping the services... |
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
::setup_test.bat - Setup Windows Testing Environment | |
@ECHO OFF | |
:SETTINGS | |
SET SETUPNAME=Setup Windows Testing Environment | |
:START | |
TITLE %SETUPNAME% Installer | |
ECHO *** %SETUPNAME% Installer | |
ECHO. | |
:ADMINCHECK |