A Pen by Evan Travers on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container | |
.hero-image | |
%img(src="http://images.junkee.com/wp-content/uploads/2013/12/shia-labeouf-magic-gif.gif") | |
%h1 magic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\/ and \/ a.b | |
Prob of A given B: | |
P(A | B) = P(A n B) \/ P(B) | |
Distributions | |
Uniform | |
PDF = 1\/b-a | |
CDF = x-a\/b-a | |
E[X] = 1\/2(a+b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim syntax file | |
" Language: Slim | |
" Maintainer: Andrew Stone <andy@stonean.com> | |
" Version: 1 | |
" Last Change: 2010 Sep 25 | |
" TODO: Feedback is welcomed. | |
" Quit when a syntax file is already loaded. | |
if exists("b:current_syntax") | |
finish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'nokogiri' | |
require 'csv' | |
doc = Nokogiri::XML(open(ARGV[0])) | |
values = | |
doc.css('Row').map do |row| | |
row.css('Data').map do |col| | |
col.text | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="section-2"> | |
<section class="container"> | |
<div class="col">text</div> | |
<div class="col">text</div> | |
<div class="col">text</div> | |
<div class="col">text</div> | |
</section> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# weechat.conf -- weechat v0.4.3 | |
# | |
[debug] | |
[startup] | |
command_after_plugins = "" | |
command_before_plugins = "" | |
display_logo = off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
// assumes a ul | |
@mixin horizontal-list { | |
list-style: none; | |
> li { | |
display-inline: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" make file completion relative to current file | |
:set autochdir | |
:autocmd InsertEnter * let save_cwd = getcwd() | set autochdir | |
:autocmd InsertLeave * set noautochdir | execute 'cd' fnameescape(save_cwd) |