Skip to content

Instantly share code, notes, and snippets.

View Xatta-Trone's full-sized avatar
🏠
Working from home

Monzurul Islam Xatta-Trone

🏠
Working from home
View GitHub Profile
@Xatta-Trone
Xatta-Trone / dropbox-php-auth.md
Created September 26, 2023 21:32 — forked from phuze/dropbox-php-auth.md
Dropbox API V2: PHP Authentication Process

Effective September 2021, Dropbox will be deprecating long-lived access tokens.

This GIST generally describes how to authenticate requests to Dropbox API v2, for anyone working on a server-side PHP Dropbox implementation.

It's important to understand three types of codes you'll encounter:

  1. Access Code - this is a one-time code that represents user-granted app access.
  2. Access Token - this is short-lived token that provides access to Dropbox API endpoints.
  3. Refresh Token - this is a long-lived token that allows you to fetch a fresh Access Token.
@Xatta-Trone
Xatta-Trone / Test Driven Laravel.md
Created October 12, 2022 06:42 — forked from Pen-y-Fan/Test Driven Laravel.md
Test Driven Laravel
@Xatta-Trone
Xatta-Trone / .htaccess
Created September 29, 2022 13:49 — forked from davemackintosh/.htaccess
Working .htaccess for Single Page Apps
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.html [QSA,L]
</ifModule>
@Xatta-Trone
Xatta-Trone / meta-tags.md
Created September 13, 2017 10:50 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>