Skip to content

Instantly share code, notes, and snippets.

View AskChanDra's full-sized avatar

Chandra Thapa AskChanDra

View GitHub Profile
@AskChanDra
AskChanDra / php.ini
Created January 16, 2022 07:48
xDebug for MAMP
[xdebug]
zend_extension="/Applications/MAMP/bin/php/php7.4.12/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.profiler_enable=0
xdebug.profiler_output_dir="/Applications/MAMP/tmp"
@AskChanDra
AskChanDra / launch.json
Last active January 16, 2022 07:34
Vscode PHP debug
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug (Local)",
"type": "php",
"request": "launch",
"port": 9000
},
{
@AskChanDra
AskChanDra / scrolltotop.md
Created October 15, 2020 07:24
Scroll to Top

Scroll to Top code :

<style>
/* Scroll function element */
.scroll {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 70px;