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
@kconner
kconner / macOS Internals.md
Last active June 18, 2024 10:28
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@DarkGhostHunter
DarkGhostHunter / preload.php
Last active July 18, 2023 18:14
Preloader script
<?php
/**
* This file is generated automatically by Preloader.
*
* This script uses Composer Autoload file and `require_once` to preload the files in this
* list. Add this file to your `php.ini` in `opcache.preload` to preload this list into
* PHP at startup. Additionally, this file also includes information about Opcache.
*
*
* Add (or update) this line in `php.ini`:
@gokulkrishh
gokulkrishh / media-query.css
Last active June 18, 2024 18:06
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@6174
6174 / Random-string
Created July 23, 2013 13:36
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);