Skip to content

Instantly share code, notes, and snippets.

View debojyoti452's full-sized avatar
🌏
an artist who codes

Debojyoti Singha debojyoti452

🌏
an artist who codes
View GitHub Profile
@debojyoti452
debojyoti452 / instruction_setup_php_env_in_mac.md
Last active September 20, 2023 19:04
Php developement Env setup in Mac OS

Setting up the specified environment on a Mac can be broken down into several steps. Below are the steps to help you set up the requirements on a macOS system:

  1. Install Homebrew (if not already installed):

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Install PHP 7.4 and extensions:

@debojyoti452
debojyoti452 / DBHelper.swift
Created March 7, 2023 16:14
iOS ScreenTime API
import Foundation
class Helper {
static func saveUserDefault(duration: String) {
UserDefaults.standard.set(duration, forKey: "key_452")
}
static func loadUserDefault() -> String {
let defaults = UserDefaults.standard