Skip to content

Instantly share code, notes, and snippets.

View sodevious's full-sized avatar
💅
building prettyfabnails.com

nicole sodevious

💅
building prettyfabnails.com
View GitHub Profile
Cloning github.com/sodevious/pf-vip-commerce (Branch: main, Commit: 926cd67)
Cloning completed: 1.250s
Installing build runtime...
Build runtime installed: 2.793s
No Build Cache available
Installing dependencies...
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
python3 -m http.server 9000
@sodevious
sodevious / style.scss
Created February 4, 2019 22:03
style.scss
$navy-blue: #00204a;
$purple: #39065a;
$teal: #29a19c;
$bright-blue: #49beb7;
$orange: #F17430;
$peach: #F9B99E;
$coral: #e61c5d;
$beige: #C9C3B0;
$gray-light: #E7E7E7;
@sodevious
sodevious / bootstrap-4-upgrade.md
Last active July 23, 2018 14:57
Manual upgrading notes for Bootstrap 3 -> Bootstrap 4
  • a cannot be used without an href. Convert to <button> instead.
  • col-sm-offset-* becomes offset-sm-* instead. (and etc)
  • Classes like hidden-md-up, hidden-sm-down get removed
  • col-xs-*, is now col-*
  • $font-size-* variables get removed
  • .text-xs-center is now .text-center
@sodevious
sodevious / email-scrape.py
Created March 3, 2017 16:15 — forked from sladjandr/email-scrape.py
Scrape all mailto links from a page - Python
import requests
import xlwt
from bs4 import BeautifulSoup
wb = xlwt.Workbook()
ws = wb.add_sheet('Emails')
ws.write(0,0,'Emails')
emailList= []

Get all but last in an array

var secondLocation =  location.splice(-(location.length) + 1);

@sodevious
sodevious / contracting-rate-info.js
Created May 11, 2016 18:04 — forked from jonathanmarvens/contracting-rate-info.js
Use this little Gist to calculate your contracting rate information. It's a very simple formula. Note: *YMMV* ... my formula may or may not work for you.
function contractingRateInfo( options ) {
var
committed_days,
committed_days_cost,
committed_hours,
committed_hours_cost,
hourly,
weekly
;
@sodevious
sodevious / variables.py
Created October 29, 2014 19:00
terrible variable names
import random
florida_nouns = ['coral', 'glades','west', 'broward','pines','north','coconut','dolphin',
'palm','silver','lakes','bay','everglades','cypress','creek','beach','south',
'park','shores','sunset','springs','crystal','trail','hollywood']
school_kind = ['Elementary School', 'High School', 'Middle School', 'Charter School']
coin = ['heads','tails']
@sodevious
sodevious / fl_schools.py
Last active August 29, 2015 14:05
This function generates possibilities of school names in Florida. Because seemingly that's how they all were named!
import random
florida_nouns = ['coral', 'glades','west', 'broward','pines','north','coconut','dolphin',
'palm','silver','lakes','bay','everglades','cypress','creek','beach','south',
'park','shores','sunset','springs','crystal','trail','hollywood']
school_kind = ['Elementary School', 'High School', 'Middle School', 'Charter School']
coin = ['heads','tails']
@sodevious
sodevious / duh.txt
Created October 19, 2013 01:58
jekyll links a better way
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
[jekyll-gh]: https://github.com/mojombo/jekyll
[jekyll]: http://jekyllrb.com