Skip to content

Instantly share code, notes, and snippets.

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

Asif Thebepotra incredibleasif

🏠
Working from home
View GitHub Profile
@incredibleasif
incredibleasif / array_functions.php
Created August 11, 2022 17:53
Array Function - PHP
<?php
/*
* Return differrnce from two multidimensional associative arrays
* Refernce : https://stackoverflow.com/a/61239457/6614080
*/
if(!function_exists("array_diff_multi_assoc")){
function array_diff_multi_assoc($arr1,$arr2){
$diff = array_diff(array_map('serialize', $arr1), array_map('serialize', $arr2));
return array_map('unserialize', $diff);
}
@incredibleasif
incredibleasif / media-query.css
Created February 5, 2019 17:10 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS