Skip to content

Instantly share code, notes, and snippets.


Greg GitHubGreg

  • Montreal, Canada
View GitHub Profile
codediodeio / database.rules.json
Last active Jan 12, 2021
Common Database Rules for Firebase
View database.rules.json
// No Security
"rules": {
".read": true,
".write": true
bl4ck5un / responsive-semantic-ui.css
Created May 12, 2017
Responsive helpers (mobile-only etc.) for semantic-ui
View responsive-semantic-ui.css
/* Semantic UI has these classes, however they're only applicable to*/
/* grids, containers, rows and columns.*/
/* plus, there isn't any `mobile hidden`, `X hidden` class.*/
/* this snippet is using the same class names and same approach*/
/* plus a bit more but to all elements.*/
/* see*/
/* Mobile */
@media only screen and (max-width: 767px) {
[class*="mobile hidden"],
ScottPhillips / .htaccess
Created Feb 2, 2012
Common .htaccess Redirects
View .htaccess
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php
#Redirect an entire site:
Redirect 301 /
#Redirect an entire site to a sub folder
Redirect 301 /
You can’t perform that action at this time.