Skip to content

Instantly share code, notes, and snippets.

View Danroyal001's full-sized avatar
💻
In the cloud

SigmaDev (Σ) Danroyal001

💻
In the cloud
  • In the cloud
  • In the cloud
  • 10:00 (UTC -04:00)
View GitHub Profile
@Danroyal001
Danroyal001 / PumpkinEye.ino
Created August 6, 2023 13:35 — forked from scottbez1/PumpkinEye.ino
Example code to animate the eye movements of a pumpkin Halloween decoration. See https://youtu.be/tyLo3LW5UCo for the full build video! Consider sponsoring me on github to support projects like this: https://github.com/sponsors/scottbez1
#include <Servo.h>
Servo s;
int pos[] = { 90, 80, 65, 120, 105, 110, 98, 68, 84, 74};
int d[] = {3000, 500, 1200, 1530, 700, 200, 800, 450, 300, 670};
void setup() {
s.attach(6); // <---- Change 6 to the pin you're using
}
@Danroyal001
Danroyal001 / .htaccess
Created March 27, 2023 16:20 — forked from ganeshaampuh/.htaccess
Laravel default .htaccess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]