Skip to content

Instantly share code, notes, and snippets.

View seangeleno's full-sized avatar

Sean Marcel Esteva seangeleno

View GitHub Profile
@seangeleno
seangeleno / APT-SOCKS-TURN-OFF.sh
Last active February 10, 2023 20:39 — forked from wonderbeyond/set-apt-proxy.md
[ubuntu][socks5][proxy] Set proxy for apt
#!/bin/bash
## TURN OFF socks proxy for aptitude package manager on debian
cat /etc/apt/apt.conf.d/proxy.conf | sed 's/Acquire/\#Acquire/g' | sudo tee /etc/apt/apt.conf.d/proxy.conf
@seangeleno
seangeleno / index.html
Created January 23, 2020 05:09
Responsive Background Video
<section class="fullsize-video-bg">
<div class="inner">
<div>
<h1>Responsive Background Video</h1>
<p>with color and dot-grid overlay
</div>
</div>
<div id="video-viewport">
<video width="1920" height="1280" autoplay muted loop>
<source src="https://storage.googleapis.com/coverr-main/mp4/Winter-Grass.mp4" type="video/mp4" />
@seangeleno
seangeleno / index.html
Created January 12, 2020 20:24
Rainbow Rotating Dots
<canvas id="c"></canvas>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5.1/dat.gui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.5/TweenMax.min.js"></script>
@seangeleno
seangeleno / audio-cloud.markdown
Last active January 12, 2020 19:34
AUDIO CLOUD

AUDIO CLOUD

A reactive particle system based on audio analysis of FFT (fast fourier transform) spectrum. Groups of circles are tied from low to high frequencies of audio in the current time.

Instructions:

  • Move mouse to affect circles positions.
  • Change the controls in the top panel to see different arrangements and color themes.

Libraries used in this pen:

  • jQuery
@seangeleno
seangeleno / index.html
Created January 12, 2020 19:21
Life unfolding in form, shape and colors
<div class="_controls hidden"><button class="_new">New</button>
<span style="pointer-events: none">Move mouse to let the form evolve.<br>Click New to start from a new form.</span></div>
<svg width="100%" height="100%" class="_svg">
<g class="_g"></g>
</svg>
@seangeleno
seangeleno / index.html
Created October 13, 2019 19:12
Visualizing The Sun's Path in the Sky
<canvas id="zdog-canvas" width="800" height="640"></canvas>
<div class="place-controls">
<button id="south">« South</button>
<p id="place">Current Place</p>
<button id="north">North »</button>
</div>
<div class="time-controls">
<p id="month">Current Month</p>
<div class="buttons">
<button id="rewind">«</button>
@seangeleno
seangeleno / Liberal Regex Pattern for Web URLs
Created October 1, 2019 06:01 — forked from gruber/Liberal Regex Pattern for Web URLs
Liberal, Accurate Regex Pattern for Matching Web URLs
The regex patterns in this gist are intended only to match web URLs -- http,
https, and naked domains like "example.com". For a pattern that attempts to
match all URLs, regardless of protocol, see: https://gist.github.com/gruber/249502
# Single-line version:
(?i)\b((?:https?:(?:/{1,3}|[a-z0-9%])|[a-z0-9.\-]+[.](?:com|net|org|edu|gov|mil|aero|asia|biz|cat|coop|info|int|jobs|mobi|museum|name|post|pro|tel|travel|xxx|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cs|cu|cv|cx|cy|cz|dd|de|dj|dk|dm|do|dz|ec|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|s
#!/bin/bash
# bash script to withdraw btc from coinbasepro programatically with electrum wallet
electrum -v daemon start -w $HOME/.electrum/wallets/default_wallet -s electrums3lojbuj.onion:50001:t -p socks5:127.0.0.1:9050 && electrum -v daemon load_wallet -w $HOME/.electrum/wallets/default_wallet && ccxt coinbasepro withdraw BTC $(ccxt coinbasepro fetchBalance | grep -e "BTC: [0-9].[0-9]\{8\}" | head -1 | cut -c 18-27) $(electrum getunusedaddress)
@seangeleno
seangeleno / hex2rgb-an-animated-guide-to-hex-codes.markdown
Created June 11, 2019 01:45
Hex2RGB | An Animated Guide to Hex Codes

Hex2RGB | An Animated Guide to Hex Codes

This is a animated guide to what hex codes are, and how to convert them to RGB. Knowing this can make it easier to adjust, or understand your colors when all you have is the hex code. There a some interactivity and animations that make this guide semi-engaging.

A Pen by Josh Kennedy on CodePen.

License.