Skip to content

Instantly share code, notes, and snippets.

View imranhoshain's full-sized avatar
🎯
Focusing

Imran Hoshain imranhoshain

🎯
Focusing
View GitHub Profile
elementor-pro.php
Line No - 17
if ( get_option('_elementor_pro_license_data') ) {
delete_option( '_elementor_pro_license_data');
}
update_option( 'elementor_pro_license_key', '*********' );
update_option( '_elementor_pro_license_v2_data', [ 'timeout' => strtotime( '+12 hours', current_time( 'timestamp' ) ), 'value' => json_encode( [ 'success' => true, 'license' => 'valid', 'expires' => '01.01.2030', 'features' => [] ] ) ] );
add_filter( 'elementor/connect/additional-connect-info', '__return_empty_array', 999 );
@imranhoshain
imranhoshain / Real Home Agent Filtering
Created May 15, 2023 17:39
Real Home Agent Filtering
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class RHEA_Agents_Widget extends \Elementor\Widget_Base {
public function get_name() {
return 'ere-agents-widget';
}
@imranhoshain
imranhoshain / Custom Fonts `font-display` swap
Last active September 24, 2022 15:54
Custom Fonts `font-display` swap
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) {
return 'swap';
}, 10, 3 );
#include<stdio.h>
int main(){
int n;
printf("How many number to find: ");
scanf("%d", &n);
int i, a[n];
for(i=0;i<=(n-1);i++)
scanf("%d", &a[i]);
int b[n/2],c[n/2];
#include <stdio.h>
int main(){
int n;
printf("Type your count number I found maximum number: ");
scanf("%d", &n);
int a[n];
int i;
for(i=0; i<=(n-1); i++){
scanf("%d", &a[i]);
}
package arrayinsdel;
import java.util.Scanner;
/**
*
* @author Spy Hacker
*/
public class ArrayInsDel {
/**
* @param args the command line arguments
*/
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package findmaxnumber;
import java.util.Scanner;
/**
*
* @author Spy Hacker
/*
* In order to enable this script, follow these steps:
*** Open the Google Sheet you want to use,
** From the Tools menu select "Script Editor"
* Paste this script into code editor and hit Save.
*
*** Then click:
** "Publish" & select "Deploy as web app...
*** Select:
** Execute the app as: Me (youremail@gmail.com)
<style>
.totalpoll-question-content {
margin-bottom: 1em;
margin-left: 0px !important;
}
.totalpoll-question-choices label {
display: none;
}
a.loadMore, a.loadLess {
<?php
// child here
function ptc_my_theme_enqueue_styles()
{
$parent_style = "parent-style"; //
//wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style(
"child-style",
get_stylesheet_directory_uri() . "/style.css",