npm list -g --depth=0
👁️🗨️
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | .infinite-zoom{ | |
| -webkit-animation: zoomSlow 60s infinite linear; | |
| -moz-animation: zoomSlow 60s infinite linear; | |
| animation: zoomSlow 60s infinite linear; | |
| } | |
| @-webkit-keyframes zoomSlow { | |
| 0% { | |
| -moz-transform: scale(1); | |
| -webkit-transform: scale(1); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'whatwg-fetch' | |
| import Auth from './Auth'; | |
| import Url from 'url-parse'; | |
| const API_URL = process.env.API_URL | |
| const http = { | |
| get: get, | |
| getAuthed: getAuthed, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.4) inset; | |
| border-collapse: separate; | |
| /* Notes on IE: https://caniuse.com/#feat=mdn-css_properties_box-shadow_inset */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <template> | |
| <div class="wrapper"> | |
| <div class="box" @scroll="handleScroll"> | |
| <p>Your content here...</p> | |
| </div> | |
| <a href="#" v-if="hasScrolledToBottom">Show After Scrolling</a> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              Show hidden characters
| // Файл "tsconfig.json": | |
| // - устанавливает корневой каталог проекта TypeScript; | |
| // - выполняет настройку параметров компиляции; | |
| // - устанавливает файлы проекта. | |
| // Присутствие файла "tsconfig.json" в папке указывает TypeScript, что это корневая папка проекта. | |
| // Внутри "tsconfig.json" указываются настройки компилятора TypeScript и корневые файлы проекта. | |
| // Программа компилятора "tsc" ищет файл "tsconfig.json" сначала в папке, где она расположена, затем поднимается выше и ищет в родительских папках согласно их вложенности друг в друга. | |
| // Команда "tsc --project C:\path\to\my\project\folder" берет файл "tsconfig.json" из папки, расположенной по данному пути. | |
| // Файл "tsconfig.json" может быть полностью пустым, тогда компилятор скомпилирует все файлы с настройками заданными по умолчанию. | |
| // Опции компилятора, перечисленные в командной строке перезаписывают собой опции, заданные в файле "tsconfig.json". | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | git branch -m old_branch new_branch – переименовать локальную ветку | |
| git push origin :old_branch – удалить старую ветку | |
| git push --set-upstream origin new_branch – выгрузить новую ветку и "закрепить" ее за локальной веткой | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* Styles for hiding the native checkbox */ | |
| input[type='checkbox'].check-custom { | |
| top: 0; | |
| left: 0; | |
| width: 0; | |
| height: 0; | |
| opacity: 0; | |
| filter: alpha(opacity=0); | |
| position: absolute; | |
| visibility: hidden; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Creates a throttled function that only invokes "originalFn" at most once per every "delayMs" milliseconds | |
| function throttle(originalFn, delayMs) { | |
| let timeout; // timeout to keep track of the executions | |
| return (...args) => { | |
| if (timeout) { // if timeout is set, this is NOT the first execution, so ignore | |
| return; | |
| } | |
| // this is the first execution which we need to delay by "delayMs" milliseconds | |
| timeout = setTimeout(() => { | 
