fix TypeError: fsevents is not a function
rm -rf node_modules
rm -f yarn.lock
yarn
npm cache verify
fix TypeError: fsevents is not a function
rm -rf node_modules
rm -f yarn.lock
yarn
npm cache verify
// Place your settings in this file to overwrite the default settings | |
{ | |
// Controls the font family. | |
"editor.fontFamily": "Operator Mono", | |
// Controls the font size in pixels. | |
"editor.fontSize": 24, | |
"editor.formatOnPaste": false, | |
"editor.minimap.enabled": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", |
#!/usr/bin/env node | |
// module dependencies | |
const fs = require('fs'); | |
const axios = require('axios'); | |
const config = require('../config/local'); | |
/** | |
* Request my top albums from the Spotify API. | |
*/ |
(async () => { | |
const response = await fetch('https://api.spotify.com/v1/tracks/6JEK0CvvjDjjMUBFoXShNZ'); | |
const { name } = await response.json(); | |
console.log(name); | |
})(); |
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"draw_white_space": "selection", | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", | |
"CVS", |
let swapHeaderImage = (() => { | |
const hero = document.querySelector('.hero'); | |
let current = 1; | |
let next = 2; | |
function init() { | |
hero.classList.remove(Array.from(hero.classList).pop()); | |
hero.classList.add(`artist-banner-${current}`); | |
} |
GENERATED_FILES = \ | |
unemployment.tsv | |
.PHONY: all clean | |
all: $(GENERATED_FILES) | |
clean: | |
rm -rf -- $(GENERATED_FILES) |
<div class="arrow-container arrow-up arrow-up-1"> | |
<div class="arrow"></div> | |
</div> | |
<hr> | |
<div class="arrow-container arrow-down arrow-down-1"> | |
<div class="arrow"></div> | |
</div> |
// Add HTML5 video play button for iphone/ipad/android | |
var isMobile = { | |
Android: function() { | |
return navigator.userAgent.match(/Android/i); | |
}, | |
BlackBerry: function() { | |
return navigator.userAgent.match(/BlackBerry/i); | |
}, | |
iOS: function() { | |
return navigator.userAgent.match(/iPhone|iPad|iPod/i); |