Skip to content

Instantly share code, notes, and snippets.

@polodev
polodev / facebook-css.css
Created April 4, 2022 03:28
Hide facebook like comment
[aria-label="Leave a comment"] {
display: none;
}
[aria-label="Like"] {
display: none;
}
[aria-label="Leave a comment"] {
display: none;
}
[aria-label="Like"] {
@polodev
polodev / march_24_app_update_list.md
Last active March 30, 2022 06:28
App update list march 24, 2022

Profile edit

  • Remove email and mobile update option
  • Profile pic is not showing (its a bug?)

OMC / Travel Insurance

  1. Country search in travel option need to be case insensitive
  2. Company Logo not showing in omc search result
  3. User details textarea need to have some padding

Bottom navigation will be following order

if (request()->has('starting_date') && request('starting_date')) {
  $query->wheredate('created_at', '>=', request('starting_date'));
}
if (request()->has('ending_date') && request('ending_date')) {
  $query->whereDate('created_at', '<=', request('ending_date'));
}

raw sql from debugbar

<?php
namespace App\Libraries;
// one year period
const pragati_health_insurance_plans = [
['plan' => 'pragati_health_insurance_plan_1', 'title' => 'Pragati Health Insurance - Plan 1', 'self_price' => 'p1_s', 'couple_price' => 'p1_c', 'child_price' => 'p1_x'],
['plan' => 'pragati_health_insurance_plan_2', 'title' => 'Pragati Health Insurance - Plan 2', 'self_price' => 'p2_s', 'couple_price' => 'p2_c', 'child_price' => 'p2_x'],
];

AWS

Next 6 months

  • lightsail vps server charging $20 each month

  • lightsail database server charging $15 each month

  • lightsail s3 bucket charging approx $3 each month

  • $20 X 6months = $120

  • $15 X 6months = $90

  • $3 X 6months = $18

  • total for 6 months - $228

Not doing more than 12 reps, will cost my gym time
# Common gym (every day) ( 30 + 10 = 40 minutes max)
1. Pull Up - 5 mins
2. Overhead press/chest press - 5 mins
3. Squat (2-4 sets) - 5 mins
4. Dumbbell Lateral raises (2-4 sets) - 5 mins
5. Dumbbell Front raises (2-4 sets) - 5 mins
6. Machine Lat Pull-down (2-4 sets) - 5 mins
7. Forearms Exercise ( ending optional )
@polodev
polodev / question-answer-for-sabuj.md
Last active October 7, 2021 11:32
Question answer for Sabuj
  1. How are you?
    I am fine. How are you, sir? 

  2. What's your name?
    My Name is Sabuj Aich 

  3. What's your passport number?
    My Passport number is XXXX

  4. What's your date of birth?

var products = {
"categoryList": [
{
"_id": "1",
"name": "electronics",
"children" : [
{
"_id": "2",
"name": "mobile",
"parentId": "1",
@polodev
polodev / server_zsh_alias.txt
Created July 2, 2020 08:16
server zsh alias
alias gs="git status"
alias www="cd /var/www"
alias sa="cd /etc/apache2/sites-available"
alias ra="sudo systemctl restart apache2"
alias gpull="git pull origin master"
alias migfs="echo 'never'"
alias art="php artisan"
alias up="php artisan up"
alias down="php artisan down"