| tags | vscode, material,customize folder icons vscode material theme |
|---|---|
| title | How to add custom folder icon in Material icons |
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
| ; Отключаем стандартный Caps Lock, чтобы он не мешал | |
| SetCapsLockState "AlwaysOff" | |
| $Capslock:: | |
| { | |
| ; Получаем ID активного окна | |
| hwnd := WinExist("A") | |
| if !hwnd | |
| return |
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
| # Stop all containers | |
| docker stop `docker ps -qa` | |
| # Remove all containers | |
| docker rm `docker ps -qa` | |
| # Remove all images | |
| docker rmi -f `docker images -qa ` | |
| # Remove all volumes |
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
| // SendPulse's Node.JS Library: https://github.com/sendpulse/sendpulse-rest-api-node.js | |
| var sendpulse = require("./api/sendpulse.js"); | |
| sendpulse.init(API_USER_ID,API_SECRET,TOKEN_STORAGE); | |
| var email = { | |
| "html" : "<p>Your email content goes here</p>", | |
| "text" : "Your email text version goes here", | |
| "subject" : "Testing SendPulse API", | |
| "from" : { | |
| "name" : "Your Sender Name", |
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
| /* | |
| * Verify GitHub webhook signature header in Node.js | |
| * Written by stigok and others (see gist link for contributor comments) | |
| * https://gist.github.com/stigok/57d075c1cf2a609cb758898c0b202428 | |
| * Licensed CC0 1.0 Universal | |
| */ | |
| const crypto = require('crypto') | |
| const express = require('express') | |
| const bodyParser = require('body-parser') |
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
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
🚨 2020 Update: I recommend using mkcert to generate local certificates. You can do everything below by just running the commands brew install mkcert and mkcert -install. Keep it simple!
This gives you that beautiful green lock in Chrome. I'm assuming you're putting your SSL documents in /etc/ssl, but you can put them anywhere and replace the references in the following commands. Tested successfully on Mac OS Sierra and High Sierra.
sudo nano /etc/ssl/localhost/localhost.conf
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
| ----- Esc ----- | |
| Quick change directory: Esc + c | |
| Quick change directory history: Esc + c and then Esc + h | |
| Quick change directory previous entry: Esc + c and then Esc + p | |
| Command line history: Esc + h | |
| Command line previous command: Esc + p | |
| View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
| Print current working directory in command line: Esc + a | |
| Switch between background command line and MC: Ctrl + o | |
| Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
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
| I'll start with the basics and proceed to addressing the common problems | |
| faced while setting up private channels with laravel-echo & laravel-echo-server. | |
| If you are getting these errors while setup; 401, 403, 419 etc, as I did in my experience. | |
| this gist will help you fix these errors. | |
| Although this gist addresses common problems of laravel-echo-server setup, some problems are similar with Pusher setup. | |
| So it might also be useful if you're having problems with setting up Pusher with Echo. | |
| I'll try to cover eveything and try to use appropriate highlighting to single out each common problem. |
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
| {"lastUpload":"2019-09-16T11:18:45.341Z","extensionVersion":"v3.4.2"} |
NewerOlder
