- Check for an existing
.gitignore
file in the project directory
ls -a
So, you love Slack, but you hate applications with large white backgrounds? Why not use Dark Mode!
Unfortunately, Slack does not have a Dark Mode, although it's on their list of possibilities.
But, don't fret - there is a solution! Because the slack native desktop apps are just wrappers around a web app, we can inject our own CSS to customize the application to our liking.
// Add on element with overflow | |
-webkit-mask-image: -webkit-radial-gradient(white, black); |
/* Sometimes it's pretty easy to run ito troubles with React ES6 components. | |
Consider the following code: */ | |
class EventStub extends Component { | |
componentDidMount() { | |
window.addEventListener('resize', this.onResize.bind(this)); //notice .bind | |
} | |
componentWillUnmount() { | |
window.removeEventListener('resize', this.onResize.bind(this)); |
Recommendations of unit types per media type:
Media | Recommended | Occasional use | Infrequent use | Not recommended |
---|---|---|---|---|
Screen | em, rem, % | px | ch, ex, vw, vh, vmin, vmax | cm, mm, in, pt, pc |
em, rem, % | cm, mm, in, pt, pc | ch, ex | px, vw, vh, vmin, vmax |
<?php | |
//returns a big old hunk of JSON from a non-private IG account page. | |
function scrape_insta($username) { | |
$insta_source = file_get_contents('http://instagram.com/'.$username); | |
$shards = explode('window._sharedData = ', $insta_source); | |
$insta_json = explode(';</script>', $shards[1]); | |
$insta_array = json_decode($insta_json[0], TRUE); | |
return $insta_array; | |
} |
<div id="tabMenu"> | |
<ul class="tabs"> | |
<li id="mainSeats"><a href="#mainSeatsContent">1</a></li> | |
<li id="125"><a href="#125Content">1</a></li> | |
<li id="delivery"><a href="#deliveryContent">1</a></li> | |
<li id="tickets"><a href="#ticketsContent">1</a></li> | |
<li id="pricesFees"><a href="#pricesFeesContent">1</a></li> | |
<li id="other"><a href="#otherContent">1</a></li> | |
</ul> | |
<ul class="tabs-content"> |