Skip to content

Instantly share code, notes, and snippets.

View georgechaduneli's full-sized avatar

George Chaduneli georgechaduneli

View GitHub Profile
Index: app/Http/Middleware/DomainBasedLocale.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/Http/Middleware/DomainBasedLocale.php (date 1513243829015)
+++ app/Http/Middleware/DomainBasedLocale.php (date 1513243829015)
@@ -0,0 +1,24 @@
+<?php
+
// On PhpStorm, when ussing with laravel mix, for Alias path resolving in components you have to:
// - create a webpack.config.js file separately like:
const path = require('path')
const webpack = require('webpack')
module.exports = {
...
resolve: {
extensions: ['.js', '.json', '.vue'],
webpack-internal:///./node_modules/sip.js/lib/LoggerFactory.js:88 Mon Apr 22 2019 13:10:09 GMT+0400 (Georgia Standard Time) | sip.ua | configuration parameters after validation:
13:10:09.484 webpack-internal:///./node_modules/sip.js/lib/LoggerFactory.js:88 Mon Apr 22 2019 13:10:09 GMT+0400 (Georgia Standard Time) | sip.ua | · viaHost: "hmdvlp24dljj.invalid"
13:10:09.484 webpack-internal:///./node_modules/sip.js/lib/LoggerFactory.js:88 Mon Apr 22 2019 13:10:09 GMT+0400 (Georgia Standard Time) | sip.ua | · uri: sip:105b3135-900e-4b81-9f2d-b854cee61a91@ccce0d05-ec59-4146-8dde-f474156d2ee7.dev.sipjs.test
13:10:09.484 webpack-internal:///./node_modules/sip.js/lib/LoggerFactory.js:88 Mon Apr 22 2019 13:10:09 GMT+0400 (Georgia Standard Time) | sip.ua | · custom: {}
13:10:09.484 webpack-internal:///./node_modules/sip.js/lib/LoggerFactory.js:88 Mon Apr 22 2019 13:10:09 GMT+0400 (Georgia Standard Time) | sip.ua | · displayName: ""
13:10:09.484 webpack-internal:///./node_modules/sip.js/lib/LoggerFactory.js:88 Mon Apr 22
@georgechaduneli
georgechaduneli / laravel-lc.xml
Last active September 17, 2019 16:42
PHPStorm Code style
<code_scheme name="Laravel LC" version="173">
<HTMLCodeStyleSettings>
<option name="HTML_ATTRIBUTE_WRAP" value="4" />
<option name="HTML_ALIGN_TEXT" value="true" />
</HTMLCodeStyleSettings>
<JSCodeStyleSettings version="0">
<option name="ALIGN_OBJECT_PROPERTIES" value="2" />
<option name="REFORMAT_C_STYLE_COMMENTS" value="true" />
<option name="USE_CHAINED_CALLS_GROUP_INDENTS" value="true" />
</JSCodeStyleSettings>
@georgechaduneli
georgechaduneli / es6-element-ready.js
Created November 18, 2019 00:12 — forked from jwilson8767/es6-element-ready.js
Wait for an element to exist. ES6, Promise, MutationObserver
// MIT Licensed
// Author: jwilson8767
/**
* Waits for an element satisfying selector to exist, then resolves promise with the element.
* Useful for resolving race conditions.
*
* @param selector
* @returns {Promise}
*/