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
Checking Build System | |
CMake is re-running because C:/Users/HOMEDIR/Desktop/build_windows_x64_vc15_Release/CMakeFiles/generate.stamp is out-of-date. | |
the file 'C:/Users/HOMEDIR/Desktop/blender-cuda-subdivision-surface-gpu/CMakeLists.txt' | |
is newer than 'C:/Users/HOMEDIR/Desktop/build_windows_x64_vc15_Release/CMakeFiles/generate.stamp.depend' | |
result='-1' | |
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363. | |
-- CUDA path is C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin | |
CMake Warning at CMakeLists.txt:877 (message): | |
Translation path | |
'C:/Users/HOMEDIR/Desktop/blender-cuda-subdivision-surface-gpu/release/datafiles/locale' |
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
Checking Build System | |
CMake is re-running because C:/Users/HOMEDIR/Desktop/build_windows_x64_vc15_Release/CMakeFiles/generate.stamp is out-of-date. | |
the file 'C:/Users/HOMEDIR/Desktop/blender-cuda-subdivision-surface-gpu/CMakeLists.txt' | |
is newer than 'C:/Users/HOMEDIR/Desktop/build_windows_x64_vc15_Release/CMakeFiles/generate.stamp.depend' | |
result='-1' | |
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363. | |
CMake Warning at CMakeLists.txt:880 (message): | |
Translation path | |
'C:/Users/HOMEDIR/Desktop/blender-cuda-subdivision-surface-gpu/release/datafiles/locale' | |
is missing, This is a 'git submodule', which are known not to work with |
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
// from https://github.com/brimson/olive_effects_legacy/tree/master/vhs | |
// Adapted from https://www.shadertoy.com/view/XtBXDt | |
uniform sampler2D image; | |
uniform float time; | |
varying vec2 vTexCoord; | |
#define PI 3.14159265 |
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
.creator-profile-picture-and-name .post-author{color:#404040 !important;font-size:25px !important;} | |
.powered-by-footer{display:none !important;} | |
.creator-profile-card__bio {color:#404040 !important;font-size:18px !important;} | |
.products-section{background-color:#ffffff !important;} | |
.wrapper{background-color:#ffffff !important;} | |
.product-information{background-color:#fafafa !important;} | |
.product-name,.product-main .product-information h1{color:#5e5e5e !important;} | |
.product-main{border: 1px solid #949494 !important;} | |
.buy-form-main{background-color:#ffffff !important;} | |
.want-container{background-color:#ffffff !important;} |
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
#include <TFMini.h> | |
#include <SoftwareSerial.h> | |
// must be a 8x1 integer array of LED pins | |
const int DIRECTIONAL_LED_PINS[] = { | |
13, // north status (id = 0) | |
12, // northeast status (id = 1) | |
11, // east status (id = 2) | |
10, // southeast status (id = 3) | |
9, // south status (id = 4) |
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
<form action = "{{ url_for('WEB_MANAGESUBSCRIPTION') }}" method = 'POST'> | |
<div class = 'container-fluid'> | |
<p>Add a new subscription</p> | |
<div class = 'input-group d-flex justify-content-center row m-0'> | |
<div class = 'col-lg-12 p-0'> | |
<input name = 'url' type = 'text' class = 'form-control col-12 rounded' placeholder = 'Playlist/Channel URL'> | |
</div> | |
<div class = 'col-lg-6 p-0'> | |
<select class = 'custom-select form-control rounded col-12' name = 'format'> | |
<option value = 'best'>Best Audio and Video (YouTube)</option> |
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 | |
find . -name '*.m4a' -type f -exec bash -c 'ffmpeg -i "$0" -acodec libmp3lame -ab 320 "${0%.m4a}.mp3"' {} \; |
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 | |
function rcon { | |
[PATH_TO_TOOLS_DIR]/mcrcon -H 127.0.0.1 -P [RCON_PORT] -p [RCON_PASSWORD] "$1" | |
} | |
rcon "save-off" | |
rcon "save-all" | |
tar -cvpzf [PATH_TO_BACKUP_DIR]/server-$(date +%F_%R).tar.gz [PATH_TO_MINECRAFT_SERVER_DIR] | |
rcon "save-on" | |
## Delete older backups | |
[PATH_TO_BACKUP_DIR] -type f -mtime +7 -name '*.gz' -delete |
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
#python3 colortempadj.py [input_path] [temp_kelvin] [output_path] | |
#modified command line version of https://github.com/getinthefuckingrobot/Color-Temperature | |
#this was thrown together in a hurry, expect a documented version soon | |
import cv2, sys | |
import numpy as np | |
import matplotlib.pyplot as plt | |
def alphablend(color, tmpColor, tempStrength): | |
return color * (1-tempStrength) + tmpColor * tempStrength |
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 cv2, numpy, PIL.Image, PIL.ImageDraw, PIL.ImageFont, sys | |
verticalLines = int(sys.argv[-1]) | |
lineIntesity = int(sys.argv[-2]) | |
margin = 205 | |
finalResolution = [1200 + 5, 1000 + margin] | |
lineWidth = 5 | |
colors = ['#303030', '#ffffff'] #background and foreground | |
positionPercentagesFinalFinal = [0.66, 0.82] #[center of where finalImg will be pasted (1+ is higher 1- is lower 1 is dead center), percentage of height from top for the text] | |
bottomText = ['Q U A R A N T I N E'] #title |