Skip to content

Instantly share code, notes, and snippets.

@MrVladevoit
MrVladevoit / main.dart
Created December 3, 2018 07:59
Vladislav Voitovich HW#1
import 'dart:math';
void main() {
// Task1: Создайте функцию, которая принимает две строки и возвращает строку, состоящую из двух строк с отступом между ними
void generateWelcomeText(String str, String str2) {
print(str + ' ' + str2);
}
generateWelcomeText('Hello', 'World');
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->

Настройки Atom. Синхронизация между несколькими устройствами.

Смотри плагин sync-settings, чтобы забрать себе все эти настройки. Или можно скачать эти файлы и заменить у себя в ~/.atom/

@MrVladevoit
MrVladevoit / svg
Created June 30, 2017 05:50
svg-sprite html
<!-- icon -->
<svg class="icon icon-name">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="images/sprite/sprite.svg#name"></use>
</svg>
@MrVladevoit
MrVladevoit / popup.js
Created June 15, 2017 06:51
gp popup
(function ($) {
/*----------------------------------------
POPUPS / MODALS
----------------------------------------*/
var popup = $(".popup"),
popupOpen = $("[data-popup='open']"),
popupClose = $("[data-popup='close']"),
@MrVladevoit
MrVladevoit / custom.js
Created June 14, 2017 11:57
scroll-transition jquery
/*========== TRANSITION SCROLL ==============*/
$('.scroll').on("click", function (e) {
e.preventDefault();
var anchor = $(this);
$('html, body').stop().animate({
scrollTop: $(anchor.attr('href')).offset().top
}, 1000);
});
@MrVladevoit
MrVladevoit / custom.js
Created May 16, 2017 14:08
jquery-start
(function ($) {
})(jQuery);
@MrVladevoit
MrVladevoit / _mixins.scss
Created May 11, 2017 13:42
my-mixin-fonts
//===========//
//MIXIN FONTS
//===========//
@mixin font-face($file_name, $font_name:$file_name, $path:$font_path, $weight:normal, $style:normal){
@font-face {
font-family: quote($font_name);
font-style: $weight;
font-weight: $style;
src: url($path + $file-name + ".eot"); /* IE9 Compat Modes */
@MrVladevoit
MrVladevoit / _fonts.scss
Created May 11, 2017 07:55
_fonts.scss
/* ==========================================================================
FONTS
===========================================================================*/
/* Proxima Nova
===========================================================================*/
/* LIGHT */
@font-face {
font-family: 'Proxima Nova';
@MrVladevoit
MrVladevoit / pages.pug
Created May 11, 2017 07:53
gp-pages:pug
<!-- навиагация по страницам верстки / удалить на продакшене-->
#pages-22.pages
#toogle-23.pages-header
p Навигация страниц верстки
span GP
i#close-24.icon-pages
ul
li: a(href="./") Главная
li: a(href="ui.html") ui
script.