- Download WebStorm for Linux platform: https://www.jetbrains.com/webstorm/download/download-thanks.html?platform=linux
- Extract the archive using
sudo tar xvzf WebStorm-2019.3.3.tar.gz -C /opt
- Rename the folder
sudo mv WebStorm-193.6494.34/ WebStorm
- Start it
cd WebStorm/bin && ./webstorm.sh
- Add shortcut from within WebStorm interface: Open Tools -> Create Desktop Entry
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
interface PictureInPictureResizeEvent extends Event { | |
readonly target: PictureInPictureWindow; | |
} | |
interface PictureInPictureWindow { | |
readonly width: number; | |
readonly height: number; | |
onresize(this: PictureInPictureWindow, ev: PictureInPictureResizeEvent): void; | |
addEventListener( | |
type: 'resize', |
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
# this tells Make to run 'make help' if the user runs 'make' | |
# without this, Make would use the first target as the default | |
.DEFAULT_GOAL := help | |
# here we have a simple way of outputting documentation | |
# the @-sign tells Make to not output the command before running it | |
help: | |
@echo 'Available commands:' | |
@echo -e 'dev \t\t - \t run the development environment | |
@echo -e 'prod \t\t - \t build for production |
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
Unable to locate package language-pack-en | |
apt-get install -y locales locales-all | |
locale-gen en_US.UTF-8 |
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
#EXTM3U | |
#EXTINF:0, BANDA B CURITIBA | |
http://13.stmip.in:27286/?type=http&nocache=7 | |
#EXTINF:0, BAND NEWS SÃO PAULO | |
http://evpp.mm.uol.com.br/band/bandnewsfm_sp/playlist.m3u8 | |
#EXTINF:0, BAND NEWSRIO DE JANEIRO | |
http://evpp.mm.uol.com.br/band/bandnewsfm_rj/playlist.m3u8 |
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
/** | |
* Main application file | |
*/ | |
'use strict'; | |
var $ = require('jquery'), | |
mockjax = require('jquery-mockjax')($, window); | |
$.mockjax({ |
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
/* jshint strict: false */ | |
/* globals require, console */ | |
var gulp = require('gulp'); | |
var exit = require('gulp-exit'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var babelify = require('babelify'); | |
var source = require('vinyl-source-stream'); |
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 postcss from 'postcss'; | |
import fs from 'fs'; | |
export default (glyphs) => { | |
let stylesheet = postcss.root(); | |
glyphs.forEach((glyph) => { |
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
/** | |
* Starter vars. | |
*/ | |
var index = 0; | |
var i; | |
/** | |
* Need cordova.file plugin. | |
* $ cordova plugin add org.apache.cordova.file | |
* |
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
#!/bin/bash | |
files=$(git diff --cached --name-only | grep '\.js$') | |
# Prevent ESLint help message if no files matched | |
if [[ $files = "" ]] ; then | |
exit 0 | |
fi | |
echo $files | xargs eslint |
NewerOlder