Skip to content

Instantly share code, notes, and snippets.

Stanislav c01nd01r

Block or report user

Report or block c01nd01r

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Effector tips.md

restore

https://effector.now.sh/en/api/effector/restore

Используется тогда, когда необходимо из ивента напрямую выставить значение в стор в обход .on.

Аналог без restore:

const $store = createStore('');
const event = createEvent();
$store.on(event, (_, payload) => payload);
@carestad
carestad / vuejs.amsterdam.2019.slides.md
Last active May 9, 2019
Collection of slides from #vuejsamsterdam 2019
View vuejs.amsterdam.2019.slides.md

Day 1

Time Speaker(s) Title
08:45 Evan You State of the Vuenion (Founder of Vue.js)
09:00 Sarah Drasner
Guillaume Chau
Advanced Animations with Vue.JS (Vue.js Core Team)
SSR revolution with Vue 2.6
09:35 Tim Benniks Vue.js for L'oreal, a case study (Director of Frontend @Valtech Paris)
10:45 Jen Looper NativeScript-Vue + ML = The Great MiniBar Challenge: MixoLogy (Developer Advocate at Progress)
11:15 Filip Rakowski Modern Web Apps Performance Tricks with PWA and Vue.js (Founder Vue Storefront)
11:50 Sara Vieira [GraphQL + Apollo + Vue.js =
@elijahmanor
elijahmanor / common-react-bugs.md
Last active May 29, 2019
Common Bugs when Learning React
View common-react-bugs.md

Common Bugs when Learning React

The following list tries to summarize some of the things that a developer may encounter while learning React. The list focuses on scenarios that result in actual bugs (things that don't work) or things that cause warnings in the console.

  • using class prop instead of className (for/htmlFor, etc...)
  • trying to set the style prop with a string
  • not having a parent element or fragment
  • not binding (at all or incorrectly)
  • using the wrong lifecycle hook
  • misspelling componentWillReceiveProps
View api-cheatsheet-array.md

Array<T>

Legend:

  • ✏️ method changes this.
  • 🔒 method does not change this.

Array<T>.prototype.*:

  • concat(...items: Array<T[] | T>): T[] 🔒 ES3
View IntroductionToFlow.md

Introduction To Flow

Intended for developers interested in getting started with Flow. At the end of this introduction, you should have a solid understanding of Flow and how to apply it when building an application.

Part 1: Flow Fundamentals For JavaScript Developers

Covers all the basics needed to get started with Flow.

Part 2: Flow Fundamentals For ReactJS Developers

Covers all the basic needed to get started with Flow and ReactJS.

@ghosh
ghosh / micromodal.css
Last active Oct 13, 2019
Demo modal styles for micromodal.js and corresponding expected html. If using this, set the `awaitCloseAnimation` in config to true
View micromodal.css
/**************************\
Basic Modal Styles
\**************************/
.modal {
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}
.modal__overlay {
position: fixed;
@Ashung
Ashung / convert_sketch_file_other_version.py
Last active Sep 18, 2019
A python script for convert Sketch file to other version. Support Sketch file version greater than 43.
View convert_sketch_file_other_version.py
#!/usr/bin/python
# The MIT License
#
# Copyright 2017 Ashung.hung@gmail.com
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
@AbraXabra
AbraXabra / index.php
Created Jun 25, 2017
Настройки Bitrix для MAMP PRO
View index.php
Прописываем в VirtualHost:
php_admin_value mbstring.func_overload 2
php_admin_value mbstring.internal_encoding utf-8
@akashnimare
akashnimare / instructions.txt
Last active Oct 14, 2019
Download Frontend Master courses video
View instructions.txt
# Requirements
* Python 2.7
* Google Chrome
* ChromeDriver - WebDriver for Chrome
- Download the latest chromedrive which is 2.28 from here - https://sites.google.com/a/chromium.org/chromedriver/downloads
- Extract and move `chromedriver` file to `/usr/local/bin/chromedriver`
- git clone https://github.com/li-xinyang/OS_FrontendMaster-dl
- cd OS_FrontendMaster-dl
@christianc1
christianc1 / README.md
Last active Jun 13, 2018
SFTP Deploys for Pressed with Circle CI
View README.md

Simple SFTP Deploy when better methods are unavailable by host

Installation

  • npm install --save-dev ftps
  • Add deploy.js to theme/plugin root
  • Add deploy.config.js to theme/plugin root
  • Modify config.

Usage

  • Set up Circle CI with SFTP_HOST SFTP_PASS SFTP_USER environmental variables
You can’t perform that action at this time.