Skip to content

Instantly share code, notes, and snippets.

View dhatawesomedude's full-sized avatar
🎯
Focusing

Orlando Bayo Adeyemi dhatawesomedude

🎯
Focusing
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Canvas Video</title>
<style>
video{
border: 4px solid cornflowerblue;
}
canvas{
@dhatawesomedude
dhatawesomedude / serverless-deploy.yml
Created August 31, 2021 04:45 — forked from hadynz/serverless-deploy.yml
Serverless deploy with state management in S3
name: Continuous deploy
on:
push:
branches: [master]
jobs:
serverless-deploy:
runs-on: ubuntu-latest
@dhatawesomedude
dhatawesomedude / list.txt
Created August 30, 2021 11:16 — forked from shortjared/list.txt
List of AWS Service Principals
a4b.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
apigateway.amazonaws.com
appflow.amazonaws.com
application-autoscaling.amazonaws.com
appstream.application-autoscaling.amazonaws.com
@dhatawesomedude
dhatawesomedude / iterm2-solarized.md
Created February 8, 2021 10:41 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

const PdfMake = require("pdfmake");
const fonts = {
Helvetica: {
normal: "Helvetica",
bold: "Helvetica-Bold",
italics: "Helvetica-Oblique",
bolditalics: "Helvetica-BoldOblique",
},
};
@dhatawesomedude
dhatawesomedude / README.md
Created February 11, 2020 04:01 — forked from sliminality/README.md
Hidden dependencies in CSS

Hidden dependencies

Sarah Lim, Northwestern University

Update, September 2019: This Gist detailed an early idea which formed the basis for a major research project. For more information, you can read the resulting full paper, which received Best Paper Honorable Mention at UIST 2018. A tool based on this research is now available on Firefox Nightly.

What are hidden dependencies?

Hidden dependencies between CSS properties are a common source of beginner confusion. For instance, a user might write the following code in order to vertically align some text within a <div>:

@dhatawesomedude
dhatawesomedude / Component.vue
Created February 9, 2020 13:51 — forked from philippkuehn/Component.vue
codeblock extension for tiptap using on scrumpy.io
<template>
<div class="c-code-block">
<div class="c-code-block__meta" contenteditable="false" v-if="editable">
<icon-btn
class="c-code-block__action-icon"
name="more"
:dropdown-props="{ closeOnClick: false }"
ref="icon"
>
<template v-slot:dropdown>
@dhatawesomedude
dhatawesomedude / ng-material-datetimepicker.js
Created May 31, 2017 00:48
js/ng-material-datetimepicker.js
(function (window, angular) {
'use strict';
var moduleName = "ngMaterialDatePicker";
var VIEW_STATES = {
DATE: 0,
HOUR: 1,
MINUTE: 2
};
@dhatawesomedude
dhatawesomedude / tmux-cheatsheet.markdown
Created January 31, 2017 20:57 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@dhatawesomedude
dhatawesomedude / question_3.py
Last active June 30, 2016 06:25
Oby_question_3
#oby's program question 3.
import sys
from random import randint
import math
number_of_characters = 2
stop_condition = 1
while stop_condition is 1:
print ('what is the name of character 1, type it and press enter when done')