Skip to content

Instantly share code, notes, and snippets.

View speckworks's full-sized avatar
👷‍♂️
building

John K. Speck speckworks

👷‍♂️
building
View GitHub Profile
@speckworks
speckworks / index.html
Created April 11, 2020 16:36
Zebra Sphere
<div class=cropper>
<img class="sphere" src="https://cdn1.vectorstock.com/i/thumb-large/47/65/zebra-pattern-eps-10-vector-10114765.jpg" alt="Zebra Pattern EPS 10">
</div>

How to debug

  1. Replicate the bug (multiple times). Investigate: When does it happen? Describe the bug:
    • When I do X
    • Y happens
    • But I expected (wanted) Z to happen
  2. Form a hypothesis or educated guess about WHY the bug is happening
    • Read any errors, carefully — use debugging tools to fully understand what the error is telling you
    • Use your past experience with similar bugs to come up with ideas
  3. Pick the most likely hypothesis
  • If you have a reason, a gut feeling, or a favorite, use those to guide you
@lopspower
lopspower / README.md
Last active May 17, 2024 04:22
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@potter0815
potter0815 / cloneall.sh
Last active January 30, 2024 13:07
clone all private repos of an organization
#!/bin/bash
#requires jq -> http://stedolan.github.io/jq/
#optional change working_dir
working_dir=${1-$(pwd)}
cd $working_dir
user="github_username"
token="application token"
organization="Organization_Name"