Last active
July 8, 2024 10:58
-
-
Save BeKnowDo/eda124eea1aba844f9eecfbcd6cc411a to your computer and use it in GitHub Desktop.
Revisions
-
BeKnowDo revised this gist
Mar 30, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -186,7 +186,7 @@ Let's go with [Cmder](https://cmder.net). + Download [Cmder](https://cmder.net) + Extract the zip file into your desired directory (I'd keep it at the root of your C: drive - i.e.: C:/Cmder) This is a mandatory security step from GitHub. - Open PowerShell (as admin) and type the following command: ```ssh-keygen.exe``` -
BeKnowDo revised this gist
Mar 30, 2020 . 1 changed file with 0 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -205,13 +205,3 @@ This is a mandatory security step from GitHub. - Paste your rsa key and click submit/save. Now you are able to successfully clone any respository from GitHub. -
BeKnowDo revised this gist
Jan 28, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -213,5 +213,5 @@ Please make sure you're in the target directory you want the repository to be cl ## Attunity Connection String Example ``` $connection_string = 'Driver={Attunity Connect Driver};BindUrl=attconnect://ATTUNITY-IP/Navigator;DefTdpName=KANERMS;OneTdpMode=1;misc/language=enus;queryProcessor/noThreads=true;debug/logFile=ODBC_MYDSN_%p.log;'; ``` -
BeKnowDo revised this gist
Jan 23, 2020 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,9 @@ ### Install MySQL Workbench * Install via chocolately ```choco install mysql.workbench -y``` ### Composer (PHP package manager) * Install the Composer package manager for PHP ```choco install composer -y``` <hr /> ## Other Developer Applications -
BeKnowDo revised this gist
Dec 6, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ ```choco install vscode -y``` ```choco install git -y``` **IF YOU RECEIVE A DEPENDENCY ERROR** - please run ```choco install git.install -y``` ```choco install smartgit -y``` -
BeKnowDo revised this gist
Dec 6, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -25,6 +25,7 @@ ```choco install vscode -y``` ```choco install git -y``` ** IF YOU RECEIVE A DEPENDENCY ERROR - please run ```choco install git.install -y``` ```choco install smartgit -y``` -
BeKnowDo revised this gist
Dec 3, 2019 . No changes.There are no files selected for viewing
-
BeKnowDo revised this gist
Dec 3, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -47,6 +47,10 @@ <hr /> #### PHP.ini Enabled Extensions + Un-comment extensions directory ``` extension_dir = "ext" ``` + Make sure to enable the following extensions <br /> -
BeKnowDo revised this gist
Dec 3, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -166,7 +166,8 @@ server { - ```nginx -s quit``` graceful shutdown - ```nginx -s reload``` changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes - ```nginx -s reopen``` re-opening log files * Next, you'll need to create an entry in Windows' hosts file which is located in `C:\Windows\System32\drivers\ `. ### Generating SSH Key -
BeKnowDo revised this gist
Dec 3, 2019 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -60,6 +60,13 @@ extension=pdo_mysql extension=pdo_odbc ``` ## Download HiddenConsole Download the following code snippet that will run PHP in the background without needing to have a console/terminal opened. [HiddenConsole](https://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip) - unzip this file into the ```c:\tools``` directory. [Read more](https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/) on why we want this tool. ### Create bat file in the same directory as your PHP Configuration Path.<br /> We use this .bat file to run PHP-FPM. You can name this file anything you'd like, i.e.: ```start-php-fcgi.bat```. <br /> @@ -71,11 +78,7 @@ ECHO Starting PHP FastCGI... set PATH=C:\tools\php73\;%PATH% C:\tools\RunHiddenConsole.exe C:\tools\php73\php-cgi.exe -b 127.0.0.1:9000 ``` Now open a new terminal/prompt and run the following command ```c:\tools\php73\start-php-fcgi.bat``` -
BeKnowDo revised this gist
Dec 3, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -63,7 +63,7 @@ extension=pdo_odbc ### Create bat file in the same directory as your PHP Configuration Path.<br /> We use this .bat file to run PHP-FPM. You can name this file anything you'd like, i.e.: ```start-php-fcgi.bat```. <br /> Copy the following into that file and make sure to use your **PHP CONFIGURATION PATH** ``` @ECHO OFF -
BeKnowDo revised this gist
Dec 3, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ ### Install Chocolately * https://chocolatey.org/ ### Install ConEmu * Install via chocolately ```choco install conemu -y``` ### Install Nginx * Install via chocolately ```choco install nginx -y``` ** The `-y` argument is to skip any confirmation messages...just install it. It's fine ;) -
BeKnowDo revised this gist
Oct 23, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -29,6 +29,8 @@ ```choco install 7zip.install -y``` ```choco install dbeaver -y``` <hr /> ### Configuration Paths -
BeKnowDo revised this gist
Oct 23, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ### Configuration Paths ##### Nginx Configuration Path * `C:\tools\nginx-1.17.0\conf` or whichever is the latest version installed **Please use the path of the latest version of nginx installed by chocolately** ##### PHP Configuration Path * `C:\tools\php72` or whichever is the latest version installed -
BeKnowDo revised this gist
Oct 17, 2019 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -47,9 +47,12 @@ ``` extension=curl extension=fileinfo extension=intl extension=gd2 extension=odbc extension=pdo_mysql extension=pdo_odbc ``` ### Create bat file in the same directory as your PHP Configuration Path.<br /> -
BeKnowDo revised this gist
Oct 17, 2019 . 1 changed file with 4 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -121,16 +121,14 @@ http { ``` server { listen 80; server_name LOCAL_DOMAIN; index index.php; error_log C:/nginx-1.17.3/logs/error.log; access_log C:/nginx-1.17.3/logs/access.log; root C:/THE_ROOT_OF_YOUR_PROJECT; location / { try_files $uri /index.php$is_args$args; } location ~ \.php { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; -
BeKnowDo revised this gist
Oct 17, 2019 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,28 +6,28 @@ ** The `-y` argument is to skip any confirmation messages...just install it. It's fine ;) ### Install PHP * Install via chocolately ```choco install php -y``` ### Install MySQL * Install via chocolately ```choco install mysql -y``` ### Install MySQL Workbench * Install via chocolately ```choco install mysql.workbench -y``` <hr /> ## Other Developer Applications ```choco upgrade chocolatey -y``` ```choco install vscode -y``` ```choco install git -y``` ```choco install smartgit -y``` ```choco install vlc -y``` ```choco install 7zip.install -y``` <hr /> @@ -48,7 +48,7 @@ ``` extension=curl extension=odbc extension=pdo_odbc extension=pdo_mysql ``` -
BeKnowDo revised this gist
Oct 17, 2019 . 1 changed file with 16 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,23 @@ <hr /> ## Other Developer Applications ```choco upgrade chocolatey``` ```choco install vscode``` ```choco install git``` ```choco install smartgit``` ```choco install vlc``` ```choco install 7zip.install``` <hr /> ### Configuration Paths ##### Nginx Configuration Path * `C:\tools\nginx-1.17.0\conf` or whichever is the latest version installed @@ -143,20 +159,6 @@ server { - ```nginx -s reopen``` re-opening log files * Next, you'll need to create an entry in Windows' hosts file which is located in `C:\Windows\System32\drivers\etc`. ### Generating SSH Key #### Windows 7 (how dare you) -
BeKnowDo revised this gist
Oct 17, 2019 . No changes.There are no files selected for viewing
-
BeKnowDo revised this gist
Oct 2, 2019 . No changes.There are no files selected for viewing
-
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -140,7 +140,7 @@ server { - ```nginx -s stop``` fast shutdown - ```nginx -s quit``` graceful shutdown - ```nginx -s reload``` changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes - ```nginx -s reopen``` re-opening log files * Next, you'll need to create an entry in Windows' hosts file which is located in `C:\Windows\System32\drivers\etc`. -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -137,9 +137,9 @@ server { * Next, you'll need to find "Path" variable under "System variables" (http://drops.cavscout.us/vtP5bo) and enter the nginx path which is: `C:\tools\nginx-1.17.0`. * Click 'OK' and you should be all set to use nginx in your terminal. * You now have the following options to run in the terminal: - ```nginx -s stop``` fast shutdown - ```nginx -s quit``` graceful shutdown - ```nginx -s reload``` changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes - nginx -s reopen re-opening log files * Next, you'll need to create an entry in Windows' hosts file which is located in `C:\Windows\System32\drivers\etc`. -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -45,11 +45,11 @@ Copy the following into that file: @ECHO OFF ECHO Starting PHP FastCGI... set PATH=C:\tools\php73\;%PATH% C:\tools\RunHiddenConsole.exe C:\tools\php73\php-cgi.exe -b 127.0.0.1:9000 ``` Download the following code snippet that will run PHP in the background without needing to have a console/terminal opened. [HiddenConsole](https://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip) - unzip this file into the ```c:\tools``` directory. [Read more](https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/) on why we want this tool. -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -49,9 +49,9 @@ C:\tools\php73\php-cgi.exe -b 127.0.0.1:9000 ``` Download the following code snippet that will run PHP in the background without needing to have a console/terminal opened. [HiddenConsole](https://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip) [Read more](https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/) on why we want this tool. Now open a new terminal/prompt and run the following command ```c:\tools\php73\start-php-fcgi.bat``` -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -47,8 +47,12 @@ ECHO Starting PHP FastCGI... set PATH=C:\tools\php73\;%PATH% C:\tools\php73\php-cgi.exe -b 127.0.0.1:9000 ``` Download the following code snippet that will run PHP in the background without needing to have a console/terminal opened. (HiddenConsole)[https://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip] (Read more)[https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/] on why we want this tool. Now open a new terminal/prompt and run the following command ```c:\tools\php73\start-php-fcgi.bat``` <br /> -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,7 @@ #### PHP.ini Enabled Extensions + Make sure to enable the following extensions <br /> ``` extension=curl @@ -47,7 +47,8 @@ ECHO Starting PHP FastCGI... set PATH=C:\tools\php73\;%PATH% C:\tools\php73\php-cgi.exe -b 127.0.0.1:9000 ``` Download the following code snippet that will run PHP in the background without needing to have a console/terminal opened. (HiddenConsole)[https://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip]. (Read more)[https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/] on why we want this tool. Now open a new terminal/prompt and run the following command ```c:\tools\php73\start-php-fcgi.bat``` <br /> -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -47,6 +47,7 @@ ECHO Starting PHP FastCGI... set PATH=C:\tools\php73\;%PATH% C:\tools\php73\php-cgi.exe -b 127.0.0.1:9000 ``` Download the following code snippet that will run PHP in the background without needing to have a console/terminal opened. (HiddenConsole)[https://redmine.lighttpd.net/attachments/660/RunHiddenConsole.zip]. (Read more)[https://www.nginx.com/resources/wiki/start/topics/examples/phpfastcgionwindows/] on why we want this tool. Now open a new terminal/prompt and run the following command ```c:\tools\php73\start-php-fcgi.bat``` <br /> -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -26,15 +26,15 @@ <hr /> #### PHP.ini Enabled Extensions + Make sure to enable the following extensions <br /> ``` extension=curl extension=odbc extension=pdo_mysql extension=pdo_mysql ``` ### Create bat file in the same directory as your PHP Configuration Path.<br /> We use this .bat file to run PHP-FPM. You can name this file anything you'd like, i.e.: ```start-php-fcgi.bat```. -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -26,15 +26,15 @@ <hr /> #### PHP.ini Enabled Extensions Make sure to enable the following extensions <br /> ``` extension=curl extension=odbc extension=pdo_mysql extension=pdo_mysql ``` ### Create bat file in the same directory as your PHP Configuration Path.<br /> We use this .bat file to run PHP-FPM. You can name this file anything you'd like, i.e.: ```start-php-fcgi.bat```. -
BeKnowDo revised this gist
Oct 2, 2019 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -26,7 +26,6 @@ <hr /> #### PHP.ini Enabled Extensions Make sure to enable the following extensions <br />
NewerOlder