Skip to content

Instantly share code, notes, and snippets.

View guinslym's full-sized avatar

Guinslym guinslym

View GitHub Profile
@guinslym
guinslym / coming-soon-page-with-countdown.markdown
Created March 13, 2022 03:20
Coming soon page with countdown
@guinslym
guinslym / coming-soon-page-with-countdown.markdown
Created March 13, 2022 03:18
Coming soon page with countdown
from django.db import models
#https://ddialliance.org/Specification/DDI-Codebook/2.1/DTD/Documentation/DDI2-1-tree.html
#https://ddialliance.org/Specification/DDI-Codebook/2.1/DTD/Documentation/version2-1-all.html#element-definition=codeBook
#https://ddialliance.org/Specification/DDI-Codebook/2.1/
class ElementAbstractModel(models.Model):
class Meta:
abstract = True
tagName = models.CharField(
max_length=40,
import numpy as np
import cv2
import imutils
vid = cv2.VideoCapture(0)
if not vid.isOpened():
print("Error: Could not open video.")
exit()
@guinslym
guinslym / nginx-centos7.yml
Created April 3, 2021 11:52 — forked from icasimpan/nginx-centos7.yml
Sample ansible playbook to install nginx with sample page on CentOS7
## Credits to John Lieske - https://www.ansible.com/blog/getting-started-writing-your-first-playbook
---
- name: Install nginx
hosts: host.name.ip
become: true
tasks:
- name: Add epel-release repo
yum:
name: epel-release
@guinslym
guinslym / zoom.py
Created March 31, 2021 09:49
OpenCV Python Video Zoom Function by clicking mouse
# Author: Noche, Kaiseir Josephus B.
import numpy as np
import cv2
### DEFINED FUNCTIONS ################################
def mousecall(event,x,y,flags,param):
if event == cv2.EVENT_LBUTTONDBLCLK:
zoomin(x,y)
KLASS - Map Marye official music video!
https://youtu.be/wrrSzHft6Mo
GAZZMAN DISIP - Heartbreak & Misery official
https://youtu.be/dXeky5cXmLQ
Nu Look - Confessions
https://youtu.be/0HRtxSdXPP4
NU LOOK "What about Tmrw"
## my box VMs ##
[DigitialOceanExample]
PPP.PPP.PPP.PPP (redacted by author)
@guinslym
guinslym / 404-error-lost-and-alone-codepenchallenge.markdown
Created June 14, 2020 13:12
404 Error - Lost and Alone #CodePenChallenge

404 Error - Lost and Alone #CodePenChallenge

My take for this week's challenge featuring some simple SVG animation

A Pen by Janet Mendez on CodePen.

License.

@guinslym
guinslym / 404-makes-bear-sad.markdown
Created June 14, 2020 13:10
404 Makes bear sad 🐻😭

404 Makes bear sad 🐻😭

404 page put together for my new personal site using CSS variables for animation and positioning based on mouse movement. Uses sibling combinator to wipe away those tears when hovering over the link to get out of there!

Enjoy!

A Pen by Jhey on CodePen.

License.