Skip to content

Instantly share code, notes, and snippets.

View pazthor's full-sized avatar
🎯
Focusing "el dominio"

Julio Cesar pazthor

🎯
Focusing "el dominio"
View GitHub Profile
@shelldandy
shelldandy / cuda_gopro_export.sh
Last active June 28, 2021 21:17
Linux DaVinci Resolve back to original bitrate on h265 using nvidia hwaccel
#!/usr/bin/bash
#
# Author: BowlineDandy
#
# Convert DaVinci Resolve Videos Back to Original GoPro sizes
# And have them be web friendly as well
# Outperforms Compressor in Mac
# Requires Nvidia GPU
# Requires CUDA Enabled ffmpeg (Custom compiled from Source)
#
// Y Combinator
const Y = a => (b => b (b)) (b => a (c => b (b) (c)))
// isomorphic Church encoding/decoding
const Church = {
to: n => f => x => Array.from (Array (n)).reduce (f, x),
from: f => f (x => x + 1) (0)
}
const True = a => b => a
anonymous
anonymous / cubes.pde
Created April 25, 2017 22:48
spinning cubes
// by dave whyte :) @beesandbombs
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
@ldez
ldez / gmail-github-filters.md
Last active November 7, 2024 14:56
Gmail and GitHub - Filters

Gmail and GitHub

How to filter emails from GitHub in Gmail and flag them with labels.

The labels in this document are just examples.

Pull Request

Filter Label
@kitzy
kitzy / RemoveTransmissionVulnerablity.sh
Created August 30, 2016 17:54
A script to remove the OSX/Keydnap vulnerability distributed through Transmission.app
#!/bin/bash
#################
### Variables ###
#################
# Items at the system level to be removed
systemItems=(
/Applications/Transmission.app
/Library/Application\ Support/com.apple.iCloud.sync.daemon/
@wh1tney
wh1tney / deploy-static-site-heroku.md
Last active September 15, 2024 22:48
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions

@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #