Skip to content

Instantly share code, notes, and snippets.

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

Carsten Hennig CarstenHennig

🏠
Working from home
View GitHub Profile
const Person = {
name: "Shoaib",
address: "Banani, Dhaka",
email: "[email protected]"
};
function paintPerson(person) {
person.name = "Mehedi";
}
@kislayverma
kislayverma / generic-update-api.java
Created April 10, 2021 06:23
Generic update API
public class Booking {
String uniqueId;
User guest;
User host;
Date bookingTime;
Date confirmationTime;
Date cancellationTime;
Status status; //PENDING, CONFIRMED, CANCELLED_BY_GUEST, CANCELLED_BY_HOST
User lastUpdatedBy;
}
'eicon-editor-link' => 'eicon-editor-link',
'eicon-editor-unlink' => 'eicon-editor-unlink',
'eicon-editor-external-link' => 'eicon-editor-external-link',
'eicon-editor-close' => 'eicon-editor-close',
'eicon-editor-list-ol' => 'eicon-editor-list-ol',
'eicon-editor-list-ul' => 'eicon-editor-list-ul',
'eicon-editor-bold' => 'eicon-editor-bold',
'eicon-editor-italic' => 'eicon-editor-italic',
'eicon-editor-underline' => 'eicon-editor-underline',
'eicon-editor-paragraph' => 'eicon-editor-paragraph',
@softiconic
softiconic / functions.php
Last active December 2, 2023 19:01
Develop a new widget using the theme function with the Elementor page builder plugin.
//Elementor Function Code
class ElementorCustomElement
{
private static $instance = null;
public static function get_instance()
{
if (!self::$instance)
self::$instance = new self;
return self::$instance;
}
##
# User Database
#
# Note that this file is consulted directly only when the system is running
# in single-user mode. At other times this information is provided by
# Open Directory.
#
# See the opendirectoryd(8) man page for additional information about
# Open Directory.
##
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active April 24, 2025 04:34
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04