Skip to content

Instantly share code, notes, and snippets.

View joydevpal's full-sized avatar
🏠
Working from home

Joydev Pal joydevpal

🏠
Working from home
View GitHub Profile
@joydevpal
joydevpal / alt-production-mode-firebase-rules
Created June 12, 2021 17:02 — forked from cvan/alt-production-mode-firebase-rules
Firebase security rules for Test Mode and Production Mode (defaults) for https://console.firebase.google.com
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if false;
}
}
}
@joydevpal
joydevpal / generate-ssh-key.sh
Created June 17, 2020 14:05 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
@joydevpal
joydevpal / List.md
Created February 9, 2018 03:14 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@joydevpal
joydevpal / auto_links_keywords_in_content_excerpt.php
Created August 25, 2016 11:21
Automatically add links to specific word defined through this function in Wordpress content or excerpt
<?php
function themename_customize_register($wp_customize){
$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'priority' => 120,
));
// =============================
@joydevpal
joydevpal / contact.html
Created April 25, 2016 11:04 — forked from ajtroxell/contact.html
Build a simple PHP, jQuery, and AJAX Powered Contact Form, from: http://ajtroxell.com/build-a-simple-php-jquery-and-ajax-powered-contact-form/
<form id="contact" name="contact" method="post">
<fieldset>
<label for="name" id="name">Name<span class="required">*</span></label>
<input type="text" name="name" id="name" size="30" value="" required/>
<label for="email" id="email">Email<span class="required">*</span></label>
<input type="text" name="email" id="email" size="30" value="" required/>
<label for="phone" id="phone">Phone</label>
<input type="text" name="phone" id="phone" size="30" value="" />