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
| if ( typeof sprintf === 'undefined' && window.wp?.i18n?.sprintf ) { | |
| window.sprintf = wp.i18n.sprintf; | |
| } |
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
| <html5> | |
| <head> | |
| <title>Taost message like popup snackbar</title> | |
| <style> | |
| /* start Toastify Styles snackbar like toast */ | |
| /* The snackbar - position it at the bottom and in the middle of the screen */ | |
| .snackbar { | |
| visibility: hidden; /* Hidden by default. Visible on click */ |
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
| add_action('wp_enqueue_scripts', function () { | |
| // Ensure elementor-frontend is enqueued before our inline JS. | |
| // Priority 20 places this after Elementor's own scripts in most setups. | |
| wp_add_inline_script( | |
| 'elementor-frontend', | |
| // BEGIN inline JS | |
| '(function(){ | |
| // --- softDeprecated shim --- | |
| window.elementorCommon = window.elementorCommon || {}; | |
| window.elementorCommon.helpers = window.elementorCommon.helpers || {}; |
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
| --https://stackoverflow.com/questions/55249646/how-to-skip-rows-with-same-column-values-in-sql-server | |
| CREATE TABLE T( | |
| Col1 INT, | |
| Col2 VARCHAR(45), | |
| Col3 VARCHAR(45) | |
| ); | |
| INSERT INTO T VALUES | |
| (1, 'Steve', 'Rodgers'), |
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
| CREATE PROCEDURE "SP_Statistique_UmsatzbyTime"( | |
| @dateStart DATE, | |
| @dateFin DATE | |
| ) | |
| AS | |
| BEGIN | |
| SELECT | |
| Concat(DATEPART(hh ,stardate ),':00') AS Hours , |
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
| CREATE PROCEDURE "SP_Statistique_Date"( | |
| @dateStart DATE, | |
| @dateFin DATE | |
| ) | |
| AS | |
| BEGIN | |
| DROP TABLE IF EXISTS #tmp_umsatz , #tmp_google , #tmp_offen , #tmp_auftrage ; |
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
| CREATE PROCEDURE "SP_Loop_Monteur_Gewinn"( | |
| @StartDate Date, | |
| @FinDate Date | |
| ) | |
| AS BEGIN | |
| DECLARE @Counter INT | |
| DECLARE @Lenght INT | |
| DECLARE @CalculDateStart DATE |
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
| $.fn.dataTable.ext.errMode = function (settings, helpPage, message) { | |
| if (settings.iDrawError == -1) { | |
| document.location.reload(); | |
| } | |
| }; |
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
| root@localhost:~# sudo install rocketchat-server | |
| root@localhost:~# sudo snap set rocketchat-server caddy-url=https://{Domine-Url} | |
| root@localhost:~# sudo snap rocketchat-server caddy=enable | |
| error: unknown command "rocketchat-server", see 'snap help'. | |
| root@localhost:~# sudo snap set rocketchat-server caddy=enable | |
| root@localhost:~# sudo snap set rocketchat-server https=enable | |
| root@localhost:~# sudo rocketchat-server.initcaddy | |
| If no errors where found is safe to restart rocket.chat and Caddy: |
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
| $(document).on('click', 'a[href^="#"]', function (e) { | |
| // target element id | |
| var id = $(this).attr('href'); | |
| // target element | |
| var $id = $(id); | |
| if ($id.length === 0) { | |
| return; | |
| } |
NewerOlder