Skip to content

Instantly share code, notes, and snippets.

View Nathan2055's full-sized avatar

Nathan Larsen Nathan2055

View GitHub Profile
@prestonw
prestonw / Sticky Header on Mobile
Last active June 4, 2021 14:42
Beaver Themer : Sticky Header on Mobile #willwp #bbforum
@media (max-width:1150px) {
.fl-builder-content-300[data-type="part"]{
z-index: 999;
min-width: 100%;
width: 100%;
position: -webkit-sticky;
position: sticky;
top: 0;
}
@Synthetica9
Synthetica9 / pyg.py
Last active May 16, 2016 15:34
An interpeter for pyg, the golfed python. Fully backwards compatible with python.
#A golfed python 'accent'. Fully backwards compatible with python.
#NOT SUITED FOR DAY-TO-DAY PROGRAMMING!
#If you DO use it for a production (non-challenge/codegolf) program, I'm not
#responsible for anything bad that happens to you, your computer,
#your spare time, your code maintainability, any kittens that god might kill,
#or the tears of blood you will weep.
import sys
from math import *
anonymous
anonymous / gist:2523336
Created April 29, 2012 02:01
Changing author info
#!/bin/sh
git filter-branch --env-filter '
an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"
if [ "$GIT_COMMITTER_EMAIL" = "your@email.to.match" ]
@defunkt
defunkt / clients.md
Created April 18, 2010 14:09
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support