Skip to content

Instantly share code, notes, and snippets.

@TerryMooreII
TerryMooreII / wordle.js
Created September 9, 2022 01:51
Wordle solver
const words = [
'cigar',
'rebut',
'sissy',
'humph',
'awake',
'blush',
'focal',
@TerryMooreII
TerryMooreII / brackets.html
Created May 17, 2021 23:40
Tailwinds css and Brackets w/flex
<div class="flex justify-center mt-10">
<div class="flex flex-col">
<div class="flex flex-row">
<div class="flex flex-col rounded">
<div class="flex w-full flex-col mb-10 border border-l-0">
<div class="flex w-24 my-1">Team 1</div>
<div class="flex w-24 my-1">Team 2</div>
</div>
<div class="flex w-full flex-col mb-10 border border-l-0">
<div class="flex w-24 my-1">Team 1</div>
for file in *.js; do mv "$file" "${file/old-value/new-value}”; done
@TerryMooreII
TerryMooreII / ss.js
Created September 19, 2017 14:54
Screen shot website to base64
const webshot = require('webshot');
const streamToPromise = require('stream-to-promise')
var stream = webshot('www.google.com', {
screenSize: {
height:480,
width:600
}
});
@TerryMooreII
TerryMooreII / rename.sh
Created July 13, 2017 13:06
Batch Rename files and folder recursively
find . -depth -name '*a_*' -execdir bash -c 'mv "$0" "${0//a_/b_}"' {} \;
@TerryMooreII
TerryMooreII / hammerPants.js
Last active August 29, 2015 14:22
hammerPants.js
!function(){function t(){var t=new Audio("http://www.the3eds.com/private/MC%20Hammer%20-%20Hammertime.mp3");t.play()}function e(){i=document.createElement("img"),i.src="https://38.media.tumblr.com/17553eb21cb7b8cbd985813a7c335a47/tumblr_mgwcl7550T1s3hncbo1_250.gif",i.style.position="fixed",i.style.bottom="0px",i.style.left="0px";var t=document.getElementsByTagName("body")[0];t.appendChild(i)}function n(){var t=0,e=!0,n=i.width;setInterval(function(){e&&t<window.innerWidth-n?t+=20:t>0?(e=!1,t-=20):e=!0,i.style.left=t+"px"},50)}var i;t(),e(),n()}();
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Simon" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
#game{
margin:0 auto;
.container {
width: 200px;
height: 200px;
position: relative;
perspective: 1000px;
}
#cube {
@TerryMooreII
TerryMooreII / jsbin.fizuxa.css
Last active August 29, 2015 14:04
Optical Illusion CSS3
body{
background-color:black;
}
#title{
color:#fff;
font-size:18px;
margin-bottom:20px
}