Skip to content

Instantly share code, notes, and snippets.

View AlexEmashev's full-sized avatar
🔰
Come code with me...

Alexander Emashev AlexEmashev

🔰
Come code with me...
  • Metamins
  • Nizhny Novgorod, Russian Federation
View GitHub Profile
@bradwilson
bradwilson / settings.json
Last active September 27, 2024 18:25
Ubuntu color scheme for Windows Terminal
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": "copy",
"keys": "ctrl+shift+c"
},
{
"command": "paste",
@emanuer
emanuer / setHeight
Last active May 3, 2020 23:26
In Angular4: set height of elements after the page was initialized
import {Component, ElementRef, AfterViewInit, QueryList, ViewChild, ViewChildren} from '@angular/core';
@Component({
selector: 'app-something',
templateUrl: '<section #fa1><div #fa1View></div><div #fa1View></div></section>',
styleUrls: ['']
})
export class AppComponent implements AfterViewInit {
@ViewChild('fa1') fa1: ElementRef;
@ViewChildren('fa1View') fa1Views: QueryList<ElementRef>;
@eyecatchup
eyecatchup / material-design-breakpoints.css
Last active December 4, 2020 20:08
CSS media queries based on the breakpoint guidance published by the Material Design team. http://www.google.com/design/spec/layout/adaptive-ui.html#adaptive-ui-breakpoint
/* Material Design Adaptive Breakpoints */
/*
Below you'll find CSS media queries based on the breakpoint guidance
published by the Material Design team. You can choose to use, customise
or remove these breakpoints based on your needs.
http://www.google.com/design/spec/layout/adaptive-ui.html#adaptive-ui-breakpoints
*/
/* mobile-small */
@staltz
staltz / introrx.md
Last active November 14, 2024 11:27
The introduction to Reactive Programming you've been missing
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active November 4, 2024 04:19
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@CMCDragonkai
CMCDragonkai / angularjs_directive_attribute_explanation.md
Last active November 29, 2023 15:35
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>