Skip to content

Instantly share code, notes, and snippets.

View orsifrancesco's full-sized avatar
👋

Francesco Orsi orsifrancesco

👋
View GitHub Profile
@afzafri
afzafri / fbpostscrape.php
Last active March 31, 2023 20:15
Fetch/Scrape Facebook Page posts contents without using Facebook API
<?php
/* Facebook Page Posts Scrapper API created by Afif Zafri.
Fetch/Scrape posts contents of a page without using Facebook API
Usage: http://site.com/api.php?username=CODE , where CODE is the page username
*/
if(isset($_GET['username']))
{
@wojteklu
wojteklu / clean_code.md
Last active July 22, 2024 13:54
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@joyrexus
joyrexus / README.md
Last active June 19, 2024 09:35 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@adamloving
adamloving / temporary-email-address-domains
Last active May 31, 2024 15:43
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com