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
#!/bin/bash | |
################################# | |
# Instructions | |
# | |
# First, install ffmpeg and youtube-dl | |
# | |
# https://ffmpeg.org/download.html | |
# https://ytdl-org.github.io/youtube-dl/download.html | |
# |
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
#!/bin/bash | |
wget https://github.com/samuelngs/apple-emoji-linux/releases/download/latest/AppleColorEmoji.ttf | |
mv AppleColorEmoji.ttf ~/.local/share/fonts | |
fc-cache -f -v |
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
#!/bin/bash | |
# Requirements: | |
# ffmpeg | |
# identify | |
# mktemp | |
# tar | |
# Generate .tar of frames using https://github.com/spite/ccapture.js/ | |
# Use the path of the .tar file as the first and only arguement in this script |
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
cd ~/intval3 | |
git reset --hard | |
git pull | |
npm i | |
sudo pm2 restart process.json --update-env |
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
SPIRALROTATION=720; | |
SPIRALSTEPS=20; | |
INITIALRADIUS=20; | |
PITCH=6; | |
XMAXSHAPE=2; | |
module ShapeToExtrude () | |
{ | |
// Build in +x space. The outside edge of this shape must follow the extrusion path, or there will be open seams.. | |
polygon ( points= [ |
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
const { ipcRenderer } = require('electron'); | |
const { basename } = require('path'); | |
var opts = { | |
lines: 13, // The number of lines to draw | |
length: 38, // The length of each line | |
width: 17, // The line thickness | |
radius: 45, // The radius of the inner circle | |
scale: 1, // Scales overall size of the spinner | |
corners: 1, // Corner roundness (0..1) |
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
const int PIN_MOTOR_FORWARD = 9; | |
const int PIN_MOTOR_BACKWARD = 10; | |
void setup () { | |
pinMode(PIN_MOTOR_FORWARD, OUTPUT); | |
pinMode(PIN_MOTOR_BACKWARD, OUTPUT); | |
} | |
void loop () { | |
analogWrite(PIN_MOTOR_FORWARD, 125); |
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
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
var sms = function (str) { | |
window.location.href = 'sms:?body=' + str; | |
}; | |
sms('Product Title \n http://academy.com \n Custom Message'); |