ffmpeg -i {in}.mov -vcodec libx264 -an -t 54 -s 1280x720 -pix_fmt yuv420p -preset slow {out}.mp4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.p-top_nav { | |
display: none; | |
} | |
.p-client--ia-top-nav { | |
grid-template-rows: 0px auto min-content; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
/* Place variables in here to use globally */ | |
} | |
.easing-variables { | |
--ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53); | |
--ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19); | |
--ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22); | |
--ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06); | |
--ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035); | |
--ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install stuff for windows | |
# First install chocolatey from here: | |
# https://chocolatey.org/docs/installation | |
# Dev | |
choco install git | |
choco install nodejs | |
choco install go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Greenfox Workshop</title> | |
<style> | |
body { | |
background: #333; |
ABSTRACTS
- Given a good enough material, any simple programming concepts could be picked up
- Source code is well organized and tracked in GitHub
- Source code changes are frequently commited
- Comprehend coding basics and implement them in code
- Understand what desgin patterns are and use them
ABSTRACTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk # using Python 3 | |
size = 600 | |
m = tk.Tk() | |
canvas = tk.Canvas(m, width=size, height=size) | |
canvas.pack() | |
pos = 0 | |
scale = 1/3 | |
def rect(n, x, y, size, color): | |
global scale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Diamond(): | |
def __init__(self, depth): | |
self.depth = depth | |
def draw(self): | |
self.triangle(self.depth//2, 'up') | |
self.triangle(self.depth//2, 'down') | |
def triangle(self, depth, direction): | |
if direction == 'up': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PRESS (CTRL/Command)+SHIFT+J and paste this code after you loaded all the extensions | |
var saveHTML = function(fileName, html){ | |
var link = document.createElement("a"); | |
link.download = fileName; | |
link.href = "data:text/html,"+html; | |
link.click(); | |
}; | |
var links = document.querySelectorAll('#browse h2'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var saveHTML = function(fileName, html){ | |
var link = document.createElement("a"); | |
link.download = fileName; | |
link.href = "data:text/plain,"+html; | |
link.click(); | |
}; | |
var links = document.querySelectorAll('a.ytd-playlist-video-renderer'); | |
var collection = ''; | |
for( i=0; i<links.length; i++){ |
NewerOlder