Skip to content

Instantly share code, notes, and snippets.

View Anenth's full-sized avatar
🎯
Busy building apps people love ❤️

Anenth Anenth

🎯
Busy building apps people love ❤️
View GitHub Profile
@Anenth
Anenth / config.json
Created July 29, 2017 07:00 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
[{"pid":53245,"tid":1295,"ts":345821666954,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../components/scheduler/base/task_queue_impl.cc","src_func":"PushOntoImmediateIncomingQueueLocked"},"dur":27857,"tdur":635,"tts":5745664},
{"pid":53245,"tid":1295,"ts":345821687212,"ph":"X","cat":"toplevel","name":"TaskQueueManager::ProcessTaskFromWorkQueue","args":{"src_file":"../../base/trace_event/trace_log.cc","src_func":"SetEnabled"},"dur":7550,"tdur":316,"tts":5745925},
{"pid":53245,"tid":1295,"ts":345821694770,"ph":"X","cat":"toplevel","name":"TaskQueueManager::ProcessTaskFromWorkQueue","args":{"src_file":"../../base/trace_event/trace_log.cc","src_func":"SetEnabled"},"dur":21,"tdur":18,"tts":5746260},
{"pid":53245,"tid":1295,"ts":345821694792,"ph":"X","cat":"toplevel","name":"TaskQueueManager::ProcessTaskFromWorkQueue","args":{"src_file":"../../base/trace_event/trace_log.cc","src_func":"SetEnabled"},"dur":7,"tdur":5,"tts":5746282},
{"pid":53245,"tid":1295,"ts":345821694800,"ph":"X",
@Anenth
Anenth / atjs.less
Last active August 29, 2015 14:20
At.js bootstrap style
.atwho-view {
top: 0;
left: 0;
position: absolute;
display: none;
overflow: auto;
ul {
&:extend(.dropdown-menu);
position: relative;
@Anenth
Anenth / preference
Created February 11, 2015 07:05
sublime pref
{
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/User/base16-eighties.dark (SL).tmTheme",
"detect_indentation": false,
"draw_white_space": "selection",
"folder_exclude_patterns":
[
".svn",
@Anenth
Anenth / Utils.scss
Last active August 29, 2015 14:10
Useful Sass mixins
// 1. BEM Mixin
@mixin e($name) {
@at-root &__#{$name} {
@content;
}
}
//modifiers get appended with "--" and the $name
@mixin m($name) {
@at-root &--#{$name} {
@Anenth
Anenth / gulpfile.js
Created October 3, 2014 14:22
Gulp build
gulp.task("build:html", function() {
var cssFilter = $.filter(path.styles.css);
var jsFilter = $.filter(path.scripts.distjs);
var gutil = require('gulp-load-utils')(['log']);
return gulp.src(path.html.rawBase)
.pipe($.useref.assets().on("error", gutil.log))
.pipe(jsFilter)
.pipe(jsFilter.restore())
.pipe(cssFilter)
@Anenth
Anenth / SassMeister-input.scss
Created July 25, 2014 14:35
Generated by SassMeister.com.
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// ----
$sizes : small medium large;
@each $size in $sizes{
@include m($size) {
@include #{$size}-only() {
display: none;
@Anenth
Anenth / SassMeister-input-HTML.html
Created July 9, 2014 09:04
Generated by SassMeister.com.
<a>hello</a>
@Anenth
Anenth / SassMeister-input-HTML.html
Created May 29, 2014 04:57
Generated by SassMeister.com.
<div class="l-two-col">
<div class="l-first"></div>
<div class="l-second"></div>
</div>
<div class="l-three-col">
<div class="l-first"></div>
<div class="l-second"></div>
<div class="l-third"></div>
</div>
@Anenth
Anenth / SassMeister-input.scss
Created May 22, 2014 16:56
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
$base-font-size: 1em;
$font-size-h1 : $base-font-size * 2.25; // 16 * 2.25 = 36px
$font-size-h2 : $base-font-size * 2; // 16 * 2 = 32px
$font-size-h3 : $base-font-size * 1.75; // 16 * 1.75 = 28px
$font-size-h4 : $base-font-size * 1.5; // 16 * 1.5 = 24px