I hereby claim:
- I am preeteshjain on github.
- I am preetesh (https://keybase.io/preetesh) on keybase.
- I have a public key whose fingerprint is 7A14 5224 6473 0BE0 F8E7 2052 60C2 BB9B 5E82 2555
To claim this, I am signing this object:
| format_python() { | |
| if [ $# -lt 1 ]; then | |
| echo "Usage: format_python <path> [<path> ...]" | |
| return 1 | |
| fi | |
| # Virtual-env check | |
| if [ -z "$VIRTUAL_ENV" ]; then | |
| echo "Warning: no Python virtualenv detected. You may want to activate one." | |
| read -r -p "Continue anyway? (y/N) " answer |
| <?php | |
| /* | |
| A simple PHP class to perform basic operations against Amazon S3 and compatible | |
| services. Requires modern PHP (7+, probably) with curl, dom, and iconv modules. | |
| Copyright 2022 Marco Arment. Released under the MIT license: | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights |
| sudo apt install php8.0-opcache php8.0-pdo php8.0-xml php8.0-bcmath php8.0-calendar php8.0-ctype php8.0-curl php8.0-dom php8.0-exif php8.0-ffi php8.0-fileinfo php8.0-ftp php8.0-gd php8.0-gettext php8.0-iconv php8.0-mbstring php8.0-phar php8.0-posix php8.0-readline php8.0-shmop php8.0-simplexml php8.0-sockets php8.0-sysvmsg php8.0-sysvsem php8.0-sysvshm php8.0-tokenizer php8.0-xmlreader php8.0-xmlwriter php8.0-xsl php8.0-zip |
| { | |
| "editor.fontFamily": "MonoLisa", | |
| "workbench.colorTheme": "Default Light+", | |
| "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
| "editor.lineHeight": 50, | |
| "editor.renderLineHighlight": "none", | |
| "editor.detectIndentation": false, | |
| "files.insertFinalNewline": true, | |
| "editor.tabSize": 2, | |
| "files.trimTrailingWhitespace": true, |
| services: | |
| # symfony style rules | |
| PhpCsFixer\Fixer\Basic\BracesFixer: | |
| allow_single_line_closure: true | |
| PhpCsFixer\Fixer\PhpTag\BlankLineAfterOpeningTagFixer: ~ | |
| PhpCsFixer\Fixer\Operator\NewWithBracesFixer: ~ | |
| PhpCsFixer\Fixer\Phpdoc\PhpdocAlignFixer: | |
| tags: | |
| - method | |
| - param |
| smd() { | |
| if [ $1 = "a" ] | |
| then | |
| homestead up | |
| cd /e/homestead_projects/project | |
| subl . | |
| explorer . | |
| python -mwebbrowser "http://project.test" | |
| python -mwebbrowser "http://phpmyadmin.test/db_structure.php?server=1&db=project_db" | |
| npm run watch |
| alias ..="cd .." | |
| # Access Homestead from anywhere | |
| function homestead() { | |
| ( cd ~/Homestead && vagrant $* ) | |
| } | |
| # Sublime Text shortcut | |
| alias 'subl="/c/Program Files/Sublime Text 3/subl.exe"' |
I hereby claim:
To claim this, I am signing this object:
| @charset "UTF-8"; | |
| /* | |
| * Skeleton V2.0.4 | |
| * Copyright 2014, Dave Gamache | |
| * www.getskeleton.com | |
| * Free to use under the MIT license. | |
| * http://www.opensource.org/licenses/mit-license.php | |
| */ | |
| /* Table of contents | |
| –––––––––––––––––––––––––––––––––––––––––––––––––– |
Showcase your app on your website with this simple pen. You can customize this to suit your needs, I always keep the code as simple as possible. Note: Google Maps is icon is used just for demo purpose. This pen uses Font Awesome: http://fontawesome.io
A Pen by Preetesh Jain on CodePen.