Skip to content

Instantly share code, notes, and snippets.

View d3vzr's full-sized avatar

Ahmed Abdelsalam d3vzr

View GitHub Profile
@d3vzr
d3vzr / DOM3D.js
Created March 28, 2024 06:14 — forked from OrionReed/dom3d.js
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@d3vzr
d3vzr / gist:3f66b3b962c904d25612dcae4a779d4f
Created May 3, 2023 08:58
Digital Ocean Promo Coupon $200 credit

👉NEW!!! Digital Ocean Promo Coupon $200 credit, May 2023 👈

DigitalOcean Referral Badge

  1. 🎉 Use this link to Sign Up.
  2. 🎉 Activate your account by credit card or PayPal.
  3. 🎉 Done! Now you have free $200 credit.
@d3vzr
d3vzr / README.md
Created April 27, 2023 22:36 — forked from horosin/README.md
Chrome Remote Desktop on Debian Server

Chrome Remote Desktop on Debian/Ubuntu Server

Get a remote connection to your cloud server! This utility script by default installs XFCE, Chrome and Chrome Remote Desktop.

Based on this guide, made ready to install with one command and use xfce by default.

Steps:

  1. Install requirements (please check if the script is safe before you execute this command!)
@d3vzr
d3vzr / $100 Vultr Credit Coupon 2020.md
Created October 15, 2020 00:26
$100 Vultr Credit Coupon 2020
@d3vzr
d3vzr / DigitalOceanCouponCode.md
Last active November 1, 2022 13:55
DigitalOcean Coupon Code $100 60 days