Skip to content

Instantly share code, notes, and snippets.

View stubbornella's full-sized avatar
😀
Building a browser

Nicole Sullivan stubbornella

😀
Building a browser
View GitHub Profile
@stubbornella
stubbornella / twitter-harassment.md
Created November 7, 2014 18:19
Twitter's obnoxious condescending response to harassment

Hello,

We understand that you might come across content on Twitter that you dislike or you find offensive. However, Twitter is a global platform that lets us participate in broader conversations and connect with people from many corners of the world. Just like when we are interacting in a public space we may overhear conversations that are offensive, coming across inflammatory content on Twitter can be frustrating.

We've reviewed the content and while you may find it offensive, it is not in violation of our rules, so we will not be removing it from the platform. You can learn more about how to deal with abusive users here: https://support.twitter.com/articles/15794

If someone feels personally threatened, or if you believe the content you are reporting is prohibited in your local jurisdiction, please contact your local authorities with the information you provided to us. You can point local law enforcement to our Law Enforcement Guidelines here: https://support.twitter.com/articles/41949.

Thanks,

@stubbornella
stubbornella / tabs-react-interface.jsx
Created January 6, 2015 19:59
tabs jsx interface react
<Tabs>
<Tab heading="My first tab" >Content for first tab</Tab>
<Tab heading="My second tab" >Content for second tab</Tab>
</Tabs>
<SimpleTabs defaultActiveKey={1}>
  <Tab eventKey={1} tab="Home">
    ...
  </Tab>
  <Tab eventKey={2} tab="Profile">
    ...
  </Tab>
</SimpleTabs>
@stubbornella
stubbornella / OOCSS Boxes in SASS
Created August 8, 2012 22:45
Old IE support for SASS - OOCSS Boxes
$ie-support: 7 !default;
@mixin oobox($ie-corner-tag: false){ // can be any HTML tag including; div, b, span, etc.
.box {
.hd,.bd,.ft{
@include clearfix-me(micro);
}
@if $ie-corner-tag { // this code only ever executes if you want rounded corners in IE<8. Better without.
%corners-and-wrappers {
@mixin whitespace($sizes: (5, 10, 20)){ //for now assume this list is always ascending
if length($sizes = 1){
} @else if length($sizes = 2) {
}
$types: (p,m);
$locations: (a, v, h, t, r, b, l);
$key: (p padding, m margin, a, v -top -bottom, h -left -right, t -top, r -right, b -bottom, l -left);
@each $location in $locations {
@stubbornella
stubbornella / css-stats-ack.sh
Created October 1, 2012 22:07 — forked from pjkix/css-stats-ack.sh
shell script to generate some css file statistics
#!/bin/bash
## v1.0.6
## this script will gernerate css stats
### example output
# CSS STATS
# ----------
# Floats: 132
@stubbornella
stubbornella / dabblet.css
Created January 7, 2013 00:19
jared's gradient
/**
* jared's gradient
*/
font-family: Open Sans;
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@stubbornella
stubbornella / dabblet.css
Created January 7, 2013 00:17 — forked from anonymous/dabblet.css
in a box
/**
* in a box
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
/* natural motion demos */
.natural-motion{
/**
* in a box
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
/* natural motion demos */
.natural-motion{
@stubbornella
stubbornella / dabblet.css
Created January 7, 2013 00:27 — forked from anonymous/dabblet.css
jared's gradient
/**
* jared's gradient
*/
background-color: #fff;
background-image:-webkit-linear-gradient(0deg,transparent 20px ,#abced4 21px,#abced4 22px, transparent 22px);
background-repeat: repeat;
background-size: 200px;