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
div | |
&::-webkit-scrollbar-track | |
-webkit-box-shadow inset 0 0 6px rgba(0,0,0,0.3) | |
background-color #F5F5F5 | |
&::-webkit-scrollbar | |
width 6px | |
background-color #F5F5F5 | |
&::-webkit-scrollbar-thumb | |
background-color #f03d37 | |
border-radius 6px |
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
Need a quick, easy and free way of cleaning up a video’s audio from background noise ? Follow the steps below to remove background audio from videos. | |
First get and install the tools: | |
FFMPEG. | |
SoX – Sound eXchange. | |
Then clean your noise! | |
Split the audio and video streams into 2 seperate files: | |
The VIDEO stream: ffmpeg -i input.mp4 -vcodec copy -an tmpvid.mp4 |
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
<style lang="stylus"> | |
.clarin-365-card__description | |
min-height 34px | |
font-size 13px | |
font-weight 300 | |
line-height 1.31 | |
color #999 | |
multiline-ellipsis(2,34px) // Gloabl stylus method | |
</style> |
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
netstat -nap|grep 3000 | |
# returns list process using port 3000 last column show id of this process | |
# tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN 11249/node | |
# tcp 0 0 127.0.0.1:3000 127.0.0.1:35804 ESTABLISHED 11249/node | |
# tcp 0 0 127.0.0.1:35804 127.0.0.1:3000 ESTABLISHED 2392/chrome --type= | |
# tcp 0 0 127.0.0.1:3000 127.0.0.1:35746 ESTABLISHED 11249/node | |
# tcp 0 0 127.0.0.1:35878 127.0.0.1:3000 ESTABLISHED 2392/chrome --type= | |
# tcp 0 0 127.0.0.1:3000 127.0.0.1:35878 ESTABLISHED 11249/node | |
# tcp 0 0 127.0.0.1:35746 127.0.0.1:3000 ESTABLISHED 2392/chrome --type= |
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
1. Shotwell | |
For just the basic automatic wallpaper changing feature, you don’t need to install any software. | |
Just launch the pre-installed Shotwell photo manager, choose the pictures you need (you may need to import them first), then go to Files -> Set as Desktop Slideshow. | |
Finally set the time interval in next dialog and done! | |
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
const A = [0, 1, 2], | |
B = [2, 1, 0], | |
C=[2, 1]; | |
// A.every( e => B.includes(e) ) | |
console.log(A.every(e => B.includes(e))); | |
console.log(A.every(e => C.includes(e))); | |
console.log(C.every(e => B.includes(e))); |
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
const A = [0, 1, 2], | |
B = [2, 1, 0], | |
C=[2, 1]; | |
// A.every( e => B.includes(e) ) | |
console.log(A.every(e => B.includes(e))); | |
console.log(A.every(e => C.includes(e))); | |
console.log(C.every(e => B.includes(e))); |
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
export const state = () => ({ | |
categories: [] | |
}); | |
export const mutations = { | |
setCategories(state) { | |
state.categories = [ | |
"Pablo", | |
"Automotor", | |
"Compras", |
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
sudo chown -R $(whoami) ~/.npm |
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
(Check if the rule was added to eslint core) https://github.com/eslint/eslint/pull/11033 | |
1- Install https://www.npmjs.com/package/eslint-plugin-promise | |
2- Active rule: "promise/prefer-await-to-then": "error" |