Skip to content

Instantly share code, notes, and snippets.

View whoaitsaimz's full-sized avatar

Pearl Pospiech whoaitsaimz

View GitHub Profile
@glowinthedark
glowinthedark / generate_directory_index_caddystyle.py
Last active February 16, 2024 21:58
Generate directory index (recurse subfolders with `-r` or `--recursive`). Use `-h` or `--help` for all options ❗️superseded by https://github.com/glowinthedark/index-html-generator
#!/usr/bin/env python3
# NOTE: this script is deprecated;
# maintained version with SVG icons: https://github.com/glowinthedark/index-html-generator/
# ---
# Copyright 2020 glowinthedark
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@stottsan
stottsan / instagram.html
Created November 30, 2012 17:44
Client-side (jQuery/HTML) and server-side (Node.js) code for my Heroku-based Instagram feed reader.
<link rel="stylesheet" href="/css/instagram.css" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<div class="instagram"></div>
<div class="load-more btn">Gimme more photos...</div>
<div class="error">Oops, there was an error getting the photos...</div>
<script src="/js/instagram.js"></script>