Skip to content

Instantly share code, notes, and snippets.

View rowe-morehouse's full-sized avatar
👋
… hi!

Rowe Morehouse rowe-morehouse

👋
… hi!
View GitHub Profile
<?
//
// AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio)
//
// File: twitterFollowerCuratorBot.php
//
// Created: May 2021
// License: MIT
//
@rowe-morehouse
rowe-morehouse / DTN.md
Created May 26, 2021 17:01 — forked from cassidoo/DTN.md
Deploy to Netlify Button

Insta-deploy templates to Netlify

Make a Deploy to Netlify button like this:

Deploy to Netlify

With this:

@rowe-morehouse
rowe-morehouse / annoying.js
Created April 25, 2021 02:54 — forked from Kilian/annoying.js
How to be an asshole
/**
* Annoying.js - How to be an asshole to your users
*
* DO NOT EVER, EVER USE THIS.
*
* Copyright (c) 2011 Kilian Valkhof (kilianvalkhof.com)
* Visit https://gist.github.com/767982 for more information and changelogs.
* Visit http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/ for the introduction and weblog
* Check out https://gist.github.com/942745 if you want to annoy developer instead of visitors
*
<div class="flex bg-white max-h-full font-roboto" style="height:580px">
<div class="md:w-1/2">
<div class="flex flex-col justify-center items-center h-full px-16">
<div>
<h2 class="text-4xl font-semibold text-gray-900">Build Your New <span class="text-indigo-500">Idea</span></h2>
<p class="text-gray-500">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis commodi cum cupiditate ducimus, fugit harum id necessitatibus odio quam quasi, quibusdam rem tempora voluptates. Cumque debitis dignissimos id quam vel!</p>
</div>
<div class="mt-8 flex w-full">
@rowe-morehouse
rowe-morehouse / infinite-zoom.css
Created October 15, 2020 02:34 — forked from jayllellis/infinite-zoom.css
Infinite slow zoom CSS animation
.infinite-zoom{
-webkit-animation: zoomSlow 60s infinite linear;
-moz-animation: zoomSlow 60s infinite linear;
animation: zoomSlow 60s infinite linear;
}
@-webkit-keyframes zoomSlow {
0% {
-moz-transform: scale(1);
-webkit-transform: scale(1);
@rowe-morehouse
rowe-morehouse / regex.md
Created October 15, 2020 00:32 — forked from magicznyleszek/regex.md
RegEx Cheatsheet
@rowe-morehouse
rowe-morehouse / multiply-blending-mode-to-png.md
Created October 15, 2020 00:28 — forked from mfd/multiply-blending-mode-to-png.md
Multiply blending mode to PNG in Photoshop
  1. copy your image (Ctrl+A and Ctrl+C)
  2. make a new document-sized pure-black layer behind it
  3. group the black layer and yor image together
  4. add mask to the group
  5. enter mask edit mode (alt+click on the mask icon/thumbnail)
  6. paste your image in the mask (b/w) and then invert it.
  7. save it as a 24-bit transparent PNG
for i in **/*.mp4; do
    d=$(dirname "$i");
    b=$(basename "$i" .mp4);
    mkdir -p "720/${d}"
    ffmpeg -i "$i" -c:v libx264 -s hd720 "720/${d}/${b}_720.mp4"
done