Skip to content

Instantly share code, notes, and snippets.

View gist:75bb577306e8125d4109c07f35e3b122
.env files support
atom material icons
import cost
one dark theme
rainbow brackets
string manipulation
Commitlint Conventional Commit
Conventional Commit
Rajeshr34 / install_guide.readme
Last active April 20, 2022 20:30
WSL Install Docker+GIT+OPENSSH+CURL in Alpine 3.11.3
View install_guide.readme
!NOTE: host system (windows) should not install any kind of nodejs or python or any other development softwares except IDEs and DOCKER
Enable WSL
Open PowerShell as Administrator and run:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Update windows to insider program
Rajeshr34 / PUBG_CLOSE_TASK.bat
Last active June 2, 2019 05:35
PUBG_CLOSE_TASK (Run as admin)
Taskkill /IM AppMarket.exe /F
Taskkill /IM AndroidEmulator.exe /F
Taskkill /IM TBSWebRenderer.exe /F
Taskkill /IM QMEmulatorService.exe /F
Taskkill /IM aow_exe.exe /F
Rajeshr34 / tracker.php
Last active September 12, 2018 07:36
Price Tracker India
View tracker.php
use DiDom\Document;
use Stringy\Stringy as S;
class tracker
public function __construct()
Rajeshr34 / Query.zep
Last active March 15, 2019 06:15
View Query.zep
| Phalcon Framework |
| Copyright (c) 2011-2017 Phalcon Team ( |
| This source file is subject to the New BSD License that is bundled |
| with this package in the file LICENSE.txt. |
| |
Rajeshr34 / nginx_redirect
Last active November 23, 2017 06:53
Nginx Redirect www to non WWW
View nginx_redirect
#Main Domain
server {
listen 80;
server_name ~^www\.(?<dname>\w+)\.(?<dtype>\w+)$;
return 301 $scheme://$dname.$dtype$request_uri;
#Sub Domains if in case
Rajeshr34 / _cors
Last active November 4, 2017 16:23
View _cors
#location ~ \.php$ {
# try_files $uri =404;
# fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
# fastcgi_index /index.php;
# include fastcgi_params;
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
# fastcgi_param PATH_INFO $fastcgi_path_info;
# fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
Rajeshr34 /
Created October 30, 2017 02:17 — forked from ygotthilf/
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out
cat jwtRS256.key
Rajeshr34 /
Created October 26, 2017 05:32
Google App signing der file to Facebook base64
type deployment_cert.der | openssl sha1 -binary | openssl base64
Rajeshr34 / settings.text
Created June 27, 2017 09:55
Google Custom Search Chrome
View settings.text
Search Engine: