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
# ~/.config/starship.toml | |
command_timeout = 2000 | |
[character] | |
success_symbol = "[λ](green)" | |
error_symbol = "[λ](red)" | |
[username] | |
style_user = "green bold" |
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
Function My-History { | |
[CmdletBinding()] | |
param() | |
cat $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt | |
} | |
Remove-Item 'Alias:\history' -Force | |
New-Alias -Name 'history' -Value 'My-History' -Scope Global | |
New-Alias -Name 'grep' -Value 'Select-String' -Scope Global |
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
[XDebug] | |
zend_extension = "C:\xampp7\php\ext\php_xdebug.dll" | |
xdebug.stopOnEntry = true | |
xdebug.profiler_enable = off | |
xdebug.profiler_enable_trigger = Off | |
xdebug.profiler_output_name = cachegrind.out.%t.%p | |
xdebug.show_local_vars=0 | |
xdebug.remote_handler = "dbgp" | |
xdebug.remote_cookie_expire_time = 36000 | |
xdebug.output_dir = "C:\xampp7\tmp" |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for Xdebug", | |
"type": "php", | |
"request": "launch", |
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 | |
REM Set a temporary file to store the output | |
set outputFile=%TEMP%\phpcbf_output.txt | |
REM Run phpcbf command and redirect output to the temporary file | |
C:\xampp7\php\php.exe "C:\Program Files\PHP_Tools\phpcbf" %* > "%outputFile%" | |
REM Store the exit code of phpcbf | |
set exitCode=%ERRORLEVEL% |