Skip to content

Instantly share code, notes, and snippets.

View edsqjr's full-sized avatar

edsqjr edsqjr

  • Recife / Brazil
  • 14:21 (UTC -03:00)
View GitHub Profile
@edsqjr
edsqjr / gist:c3d2669d7ed1e594a6e22565a9c3b8e1
Last active April 29, 2024 21:04
Install php + composer on Ubuntu 22.04 LTS
# resumed from references:
https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
https://stackoverflow.com/questions/19335305/composer-install-error-requires-ext-curl-when-its-actually-enabled
# install php 8.1 from package
sudo apt-get install php8.1
# install composer from script
wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet
@edsqjr
edsqjr / gist:de9378262cd263d400d0fb51ad12b849
Created March 6, 2024 12:25
Export extraneous files stored in Google Drive via direct link
If you have files stored in Google Drive which are not native Google files, you can export them via direct download link, as follows.
1. Share your Google Drive file via URL and select its ID:
Your link is:
https://drive.google.com/file/d/m34098hnc09gjmx048hG7oiurcnroueihn34/view?usp=sharing
Your file ID is:
m34098hnc09gjmx048hG7oiurcnroueihn34