Skip to content

Instantly share code, notes, and snippets.

View alexilyaev's full-sized avatar

Alex Ilyaev alexilyaev

View GitHub Profile
@alexilyaev
alexilyaev / naming-conventions.md
Last active November 5, 2015 22:09
Naming Conventions

CSS

Use dash-cased class names

  • It's consistent with CSS property naming convention
.some-class-name {}
@alexilyaev
alexilyaev / test.directive.spec.js
Last active August 29, 2015 14:25
Simple Angular Directive spec boilerplate
describe('test.directive', function () {
'use strict';
var $rootScope;
var $scope;
var $compile;
var preCompiledElement;
var element;
var controller;
@alexilyaev
alexilyaev / NewMacGuidelines.md
Last active January 17, 2024 15:36
New Mac Guidelines

New Mac Guidelines

Setup

  • Install Dropbox
    • Used for syncing configs between several computers
    • Make available offline
      • Finder > Dropbox > Settings
  • Install VS Code and VS Code Insiders
  • Turn on Settings Sync for VS Code
@alexilyaev
alexilyaev / Gruntfile.js
Last active July 30, 2017 13:06
Gruntfile.js - JSHint, Uglify, SASS, Clean, Watch, Connect with LiveReload
module.exports = function (grunt) {
'use strict';
var port = grunt.option('port') || 9001,
lrPort = grunt.option('lr-port') || 35731,
hostname = 'localhost',
baseFolder = '.';
// Display the elapsed execution time of grunt tasks
require('time-grunt')(grunt);