Skip to content

Instantly share code, notes, and snippets.

View bserem's full-sized avatar

Bill Seremetis bserem

View GitHub Profile
@danieliser
danieliser / hide-header-footer-in-iframe.css
Last active April 12, 2023 11:11
Automatically hide elements on your site if its loaded in an iframe. JavaScript is used to detect when in a frame and add a class to the <html> element. CSS can then be used to hide or show elements.
@zpalexander
zpalexander / .bash_profile
Created April 15, 2017 18:50
Bash Profile
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export NVM_DIR="$HOME/.nvm"
. "$(brew --prefix nvm)/nvm.sh"
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
@alphamu
alphamu / Android Privacy Policy Template
Created February 9, 2017 03:17
A template for creating your own privacy policy for Android apps. Look for "[" and "<!--" to see where you need to edit this app in order to create your own privacy olicy.
<html>
<body>
<h2>Privacy Policy</h2>
<p>[Individual or Company Name] built the [App Name] app as a [open source | free | freemium | ad-supported | commercial] app. This SERVICE is provided by [Individual or company name] [at no cost] and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding [my|our] policies with the collection, use, and
disclosure of Personal Information if anyone decided to use [my|our] Service.</p>
<p>If you choose to use [my|our] Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that [I|we] collect are used for providing and
improving the Service. [I|We] will not use or share your information with anyone except as described
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 6, 2024 07:22
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@ddneat
ddneat / curl-loops.md
Last active May 9, 2016 07:11
curl multiple files from lorempixel and rename them

curl multiple files

curl -O -v --cookie "insert_cookie" https://images-url.com/?id=[0-10]

lorempixel with custom name

for i in {1..10}; do wget -O $i.jpg http://lorempixel.com/512/512; done;

download from lorempixel

for i in {1..100}; do wget http://lorempixel.com/512/512; done

rename multiple files

@inhies
inhies / pimping.md
Last active December 14, 2015 20:40
Soon to be blog post

title: Terminal colors for tmux, vim, and weechat tags: terminal, command line, vim, tmux, solarized date: 13 Mar 2013 13:26 AST image: htop.png

Solarized Terminal Colors

@Apsu
Apsu / uefisetup.sh
Last active July 8, 2021 03:54
Arch Linux UEFI Setup
# **************** READ THIS FIRST ******************
#
# This is not a script for you to run. I repeat, do not download and run this!
#
# This is only a guide to show the required steps for successful UEFI + GRUB2 installation
# Many of the choices are examples or assumptions; don't blindly type shit into your machine
# until/unless you at least read the comments around each command
#
# These steps assume you've booted in UEFI mode by preparing your USB stick per these instructions:
# https://wiki.archlinux.org/index.php/UEFI#Archiso
@smeranda
smeranda / facebook_like-box_responsive.css
Created May 1, 2012 20:37
Flexible width layout for Facebook Like Box/Activity Stream to use in Responsive Designs
/*
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/
*/
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
display: none;
}