This file contains hidden or 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, maximum-scale=1.0, user-scalable=no"> | |
<meta name="theme-color" content="#ffffff"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="default"> | |
<meta name="apple-mobile-web-app-title" content="Lizard"> |
This file contains hidden or 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
#!/bin/bash | |
# Extracts frames every 3 seconds from dash cam videos and creates a timelapse | |
# Save this file, chmod +x ./run.sh, and then run with ./run.sh | |
# Configuration | |
INPUT_DIR="./raw_video" # Change this to your video files directory | |
OUTPUT_DIR="./timelapse_frames" | |
FINAL_VIDEO="dashcam_timelapse.mp4" | |
FRAME_RATE=60 |
This file contains hidden or 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
{ | |
"editor.codeLens": false, | |
"workbench.colorTheme": "Atom One Dark", | |
"editor.quickSuggestions": { | |
"other": false, | |
"comments": false, | |
"strings": false | |
}, | |
"editor.selectionHighlight": false, | |
"editor.highlightActiveIndentGuide": false, |
This file contains hidden or 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
const data = { | |
users: [] | |
}; | |
for (let i=0; i<100; i++) { | |
data.users.push({ | |
id: i, | |
name: `User #${i}` | |
}); | |
} |
This file contains hidden or 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
{ | |
"editor.codeLens": false, | |
"workbench.activityBar.visible": false, | |
"window.zoomLevel": 1, | |
"workbench.colorTheme": "One Dark Pro", | |
"editor.quickSuggestions": { | |
"other": false, | |
"comments": false, | |
"strings": false | |
}, |
This file contains hidden or 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
#!/usr/bin/bash | |
# usage ./cr2_to_jpg.sh /path/to/cr2/images/ /path/to/converted/jpgs/ | |
i=1 | |
total=$(find $1 -type f | wc -l) | |
for file in $1*.CR2 | |
do | |
dcraw -c -w -b 1.5 $file | pnmtojpeg > $2$(basename $file .CR2).jpg |
This file contains hidden or 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
LCtrl & Tab:: AltTab | |
!Tab:: Send ^{Tab} | |
!+Tab:: Send ^+{Tab} | |
^Space:: Send ^{Esc} |
This file contains hidden or 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
docker-compose run --rm npm run gulpwatch |
This file contains hidden or 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> | |
<head> | |
<title>AR Demo</title> | |
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script> | |
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<script> | |
// We're going to register a custom event listener through a-frame that will fire |
This file contains hidden or 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
<template> | |
<div class="wrapper"> | |
<div class="box" @scroll="handleScroll"> | |
<p>Your content here...</p> | |
</div> | |
<a href="#" v-if="hasScrolledToBottom">Show After Scrolling</a> | |
</div> | |
</template> | |
<script> | |
export default { |
NewerOlder