Skip to content

Instantly share code, notes, and snippets.

View wisehackermonkey's full-sized avatar
♨️
making computers sweat

Oran C wisehackermonkey

♨️
making computers sweat
View GitHub Profile
@wisehackermonkey
wisehackermonkey / what??
Created September 2, 2017 05:15
cPP stuff
test
@wisehackermonkey
wisehackermonkey / cli.md
Last active June 6, 2020 05:19
how to use git cli

how to use githhub cli

how to create repo from command line

gh repo create <REPONAME 

create with good defaults

gh repo create  --public 
@wisehackermonkey
wisehackermonkey / bad.md
Created June 16, 2020 05:11
bad_string

̴̵̶̷̸̡̢̧̨̛̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼͇͈͉͍͎̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̽̾̿̀́͂̓̈́͆͊͋͌̕̚ͅ͏͓͔͕͖͙͚͐͑͒͗͛ͣͤͥͦͧͨͩͪͫͬͭͮͯ͘͜͟͢͝͞͠͡

 function collideRectCircle(rx, ry, rw, rh, cx, cy, diameter) {
  //2d
  // temporary variables to set edges for testing
  var testX = cx;
  var testY = cy;

  // which edge is closest?
  if (cx < rx){         testX = rx       // left edge
 }else if (cx &gt; rx+rw){ testX = rx+rw } // right edge
by oran collins
github.com/wisehackermonkey
oranbusiness@gmail.com
20200620
create a app that auto clicks authenication links from online account signup flows to make the process easer to use.

how to install agleEye by ThoughtfulDev on digital ocean

/: Stalk your Friends. Find their Instagram, FB and Twitter Profiles using Image Recognition and Reverse Image Search.
https://github.com/ThoughtfulDev/EagleEye
20200621

Install

git clone https://github.com/ThoughtfulDev/EagleEye

how to update python from 3.5 -> 3.7 raspberry pi

sudo apt-get update
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh
sudo md5sum Miniconda3-latest-Linux-armv7l.sh
sudo /bin/bash Miniconda3-latest-Linux-armv7l.sh
conda config --add channels rpi
conda install python=3.6 # notes 3.7 doesnt exist! as of (20200623)
conda create --name python36 python=3.6

improvements for website-to-note.exe

  • make a alternate version that copies it into markdown format
[example website title](www.example.com)
  • strip out url encoding
@wisehackermonkey
wisehackermonkey / idea-p5js-instructions-popup.md
Created June 28, 2020 04:59
p5.js popup for instructions on how to play game, mobile and desktop friendly

idea

p5.js popup for instructions on how to play game, mobile and desktop friendly

add: one liner

example

instructions("arrows to move, goal is to get the blocks")

have templates for common input types