This file contains 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
{{-- HYVOR --}} | |
<hyvor-talk-comments | |
class="mt-4" | |
website-id="{{ hyvorId }}" | |
page-id="{{ pageId }}" | |
page-language="{{ lang }}" | |
loading="manual" | |
></hyvor-talk-comments> |
This file contains 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/sh | |
echo "This script is going to setup Node, NPM, pm2" | |
echo "WARNING: The sudouser password will be prompted sometimes !" | |
echo "==> Setup Node/NPM" | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
node -v |
This file contains 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
composer config --global repo.packagist composer https://packagist.org |
This file contains 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
.flex-container | |
display flex | |
> .flex-item | |
flex 1 1 0 |
This file contains 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
https://stackoverflow.com/questions/44543157/how-to-hide-the-google-invisible-recaptcha-badge#answer-53986985 | |
https://developers.google.com/recaptcha/docs/faq |
This file contains 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
DELIMITER | | |
DROP TRIGGER IF EXISTS `vote_update` | | |
CREATE TRIGGER `vote_update` | |
AFTER INSERT ON `votes` | |
FOR EACH ROW | |
BEGIN | |
SET @row_day = CONCAT(DAYNAME(NOW()), '_votes'); |
This file contains 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
node --inspect --debug-brk index.js : use Chrome DevTools for a NodeJS script |
This file contains 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
http://blog.alexellis.io/getting-started-with-docker-on-raspberry-pi/ |
This file contains 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
// First configure $animateProvider | |
angular.module('MyApp', ['ngAnimate']).config(['$animateProvider', function($animateProvider){ | |
// restrict animation to elements with the bi-animate css class with a regexp. | |
// note: "bi-*" is our css namespace at @Bringr. | |
$animateProvider.classNameFilter(/bi-animate/); | |
}]); |
This file contains 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
https://bitsofco.de/bitsofcode-pwa-part-3-push-notifications/ | |
https://firebase.google.com/docs/cloud-messaging/js/send-multiple |
NewerOlder