This file contains hidden or 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
fn main() { | |
fizzbuzz(15); | |
} | |
fn fizzbuzz(n: i32) { | |
for i in 1..n { | |
if i % 3 == 0 && i % 5 == 0 { | |
println!("FizzBuzz"); | |
} else if i % 3 == 0 { | |
println!("Fizz"); |
This file contains hidden or 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
import "buffer"; | |
import P from "parsimmon"; | |
import { NextRequest, NextResponse } from "next/server"; | |
/** State and city tokens are just letters */ | |
const dashToken = P.string("-"); | |
const slashToken = P.string("/"); | |
const zipPrefixToken = P.regex(/zip-/i); | |
const zipToken = P.regex(/[\d]+/i); | |
const poiToken = P.string("/p"); |
This file contains hidden or 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
/* | |
// Usage: | |
gulp.task('docs', function(cb) { | |
gulp.src('path/to/your/src') | |
.pipe(hologram(cb)); | |
}); | |
*/ | |
var gulp = require('gulp'), | |
notify = require('gulp-notify'), |
This file contains hidden or 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
var O = (function() { | |
var account = s_account || '', // <== fill this in with default s_account | |
instance = s || s_gi(account); | |
/** | |
* Description | |
* @method init | |
* @return | |
*/ |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
$fad-img--width: 940px; $fad-img--height: 724px; %inherit-font { color: #000; font-weight: normal; } .fad-landing__img { width: $fad-img--width; height: $fad-img--height; display: table; background-repeat: no-repeat; background-position: center; overflow: hidden; padding-top: 10px; .fad-landing__img__txt { display: table-cell; vertical-align: middle; padding: 120px 0 0 80px; p { @extend %inherit-font; } ul { margin: -15px 0 0 30px; line-height: 120%; & li { @extend %inherit-font; } } } } |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
.bem { | |
&__element { | |
color: red; | |
} | |
&--tall { |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
// dude...lik | |
$var: 2px; | |
$doubled: $var * 2; | |
$divided: $var / 2; |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
// dude...lik | |
$var: 2px; | |
$doubled: $var * 2; | |
.foo { |
This file contains hidden or 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
.form { | |
@include e(field) {} | |
@include m(inline) {} | |
} | |
// or... | |
.form { | |
&__field {} | |
&--inline {} | |
} |
This file contains hidden or 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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.0.rc.1) | |
// ---- | |
.blocker { | |
@at-root &__item{ | |
text-align: left | |
} | |
&--mo{ |
NewerOlder