Jump to content

mstdmstdd

Members
  • Posts

    146
  • Joined

  • Last visited

Recent Profile Visitors

2,410 profile views

mstdmstdd's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. Hello, Using DBeaver 6.1.5 under kubuntu 18.04 I wonder does it have feature like Save/Load Context - which is helpfull withing (1 or several databases ) to switch to different set of tables, save it and reopen when I need ? 2) If I do not want to use all my databases on the current connection, How can I hide some databases, without deleting them? 3) I see that after installation DBeaver has different fonts I have installed in my OS : https://imgur.com/a/4jiBJYi I have found “Preferences”->"Colors and Fonts ", but I failed to apply my system fonts to the app : preview even clicking on “Use system Font” button I do not see my system fonts applied to this app. How can I apply my system fonts? Maybe configuring some config files? Thanks!
  2. Did you mean to make like that : https://prnt.sc/ovoicv Bur I still got error like on login: URL block: Impossible to redirect, as URI is not in Whitelist in part «Client OAuth Settings».
  3. Sure, That is ubuntu server under Digital Ocean . have I to enter it , just numbers like "NNN.NN.NNN.N" ?
  4. Hello I try to register my app in facebook and I entered my Domanin Manager as https://www.votes.my-demo-apps.tk/: I try to fill fields : Server IP Whitelist and Update Settings IP Whitelist (I suppose that I need them both) But I failed to save these options " https://prnt.sc/ovkyfg https://prnt.sc/ovktby Which is valid way ? Thanks!
  5. Hello! Google calendar event options has functionality to email guests : https://prnt.sc/ot3vbk and it looks like 1 time function. If there is a way Google calendar event to keep listing of email guests and trigger emails to them periodically? Also I need these email guests to import/export, as I make app with import/export of Google calendar events. Thanks!
  6. Hello, I do not know what happend with my PhpStorm 2019.1.2 last days but when I make a search in the app and double click on selected found item : https://imgur.com/a/y1YVNw5 I expect modal page would be closed and editor page would be opened with found item selected. But that does not work and I still on modal page. The similar problem with clicking cancel on this modal page. Very annoying... But it worked several days ago and seems I did not change any setting or installed any pluging? Can you say how fix it? Thanks!
  7. Could you please look at paypal with sanbox at my site live : open https://www.votes.nilov-sergey-demo-apps.tk/test and click https://prnt.sc/oaejzc I see “Thank you for your purchase!” message and no any redirect. Can it be issue of my paypal app some options missed or account I login into the app ?
  8. Hello, Implementing paypal in my laravel 5.8 app and looking at the code snippet : https://developer.paypal.com/docs/archive/checkout/integrate/?mark=get the code#set-up-your-development-environment I do not seer which is returns valid format? here https://developer.paypal.com/docs/integration/direct/payments/paypal-payments/#create-paypal-payment I found that redirect_urls must be used , so my button definition is : <script> paypal.Button.render({ // Configure environment env: 'sandbox', client: { sandbox: 'CLIENTID', production: 'demo_production_client_id' }, // Customize button (optional) locale: 'en_US', style: { size: 'small', color: 'blue', shape: 'pill', }, commit: true, payment: function(data, actions) { return actions.payment.create({ "note_to_payer": "Contact us for any questions on your order.", "intent": "sale", "payer": { "payment_method": "paypal" }, redirect_urls : { //redirect_urls return_url : 'https://www.votes.nilov-sergey-demo-apps.tk/paypal_payment', cancel_url : 'https://www.votes.nilov-sergey-demo-apps.tk/paypal_payment_cancel' }, transactions: [{ amount: { total: '0.01', currency: 'USD' } }] }); }, // Execute the payment onAuthorize: function(data, actions) { console.log("onAuthorize data::") console.log( data ) console.log("onAuthorize actions::") console.log( actions ) return actions.payment.execute().then(function() { // Show a confirmation message to the buyer window.alert('Thank you for your purchase! 0'); }); } }, '#paypal-button'); </script> I see alert in actions.payment.execute method, but no automatic rederection at url specified in return_url, as I expected. I uploaded my site live at https://www.votes.nilov-sergey-demo-apps.tk under LAMP, Ubuntu 18 , Digital Ocean. Why there are no automatic redirection ? $ php artisan --version Laravel Framework 5.8.24 In composer.json: "paypal/rest-api-sdk-php": "*", Thanks!
  9. Sorry, I still search for decision, any idea why I failed to run properly MetisMenu in vuejs app? Who did such way ? MetisMenu is very popular ...
  10. Hello! I found a very strange warning in new PhpStorm 2019.1.2 https://imgur.com/a/oTHQXMh I have 7.2 option installed : https://imgur.com/a/uqkcsP3 But why error? Some misconfigure in PhpStorm ? Thanks!
  11. Hello, I want to use SB Admin 2 template from https://github.com/dpwilhelmsen/sb-admin-2-bootstrap-4 In my Laravel 5.7 / Vuejs 2.6 / Vuex 3.1/ Bootstrap 4.3 app and I take some steps for it :As it is based in metismenu In console I run next commands : npm install --save metismenu npm i popper npm audit fix In resources/js/app.js I included metismenu: require('./bootstrap'); //require('popper'); /* If to uncomment line above in console I got lot of errors : WARNING in ./node_modules/popper/index.js 235:35-58 Critical dependency: the request of a dependency is an expression @ ./resources/js/app.js @ multi ./resources/js/app.js ./resources/sass/sb2/app.scss ./resources/sass/sb2/sb-admin-2.scss */ require('metismenu'); require('jquery'); window.Vue = require('vue'); ... In resources/js/helpers/commonFuncs.js which is used in all vue pages I init menu at method : export function checkAuthorization(store, router) { // console.log("-11 checkAuthorization::") router.beforeEach((to, from, next) => { jQueryInit(); next(); ... function jQueryInit() { // alert( "jQueryInit"+(-55) ) $(function () { // alert( "INSIDE::"+var_dump(-11) ) $('#side-menu').metisMenu(); console.log("Inside $('#side-menu')::") console.log($('#side-menu')) }); //Loads the correct sidebar on window load, //collapses the sidebar on window resize. // Sets the min-height of #page-wrapper to window size $(function () { var setupPage = function () { var topOffset = 50; console.log("++1 typeof window::") console.log(typeof window) console.log(window) var width = (window.innerWidth > 0) ? window.innerWidth : screen.width; if (width < 768) { $('div.navbar-collapse').removeClass('show'); topOffset = 100; // 2-row-menu } else { $('div.navbar-collapse').addClass('show'); } console.log("++2 typeof window::") console.log(typeof window) console.log(window) var height = ((window.innerHeight > 0) ? window.innerHeight : screen.height) - 1; height = height - topOffset; if (height < 1) height = 1; if (height > topOffset) { $("#page-wrapper").css("min-height", (height) + "px"); } }; // debugger $(window).bind("load resize", setupPage); var url = window.location; var element = $('ul.nav a').filter(function () { return this.href == url; }).addClass('active').parent(); while (true) { if (element.is('li')) { element = element.parent().addClass('in').parent(); } else { break; } } setupPage(); }); alert( "AFTER jQueryInit"+(-55) ) } looking at console I do not see any JS errors and it looks that window is proper JS object. I suppose that is best place for init of metismenu. I did not attache any metisMenu.js / css files manually sopposing that command asbove require('metismenu'); made it. But layout of my page is broken. You can look at it live at http://hostels-tours.nilov-sergey-demo-apps.tk/admin/dashboard Please, pay attention at console output : https://imgur.com/a/xZ0EVNgI added style definition : #wrapper { width: 100%; background-color: yellow; border: 2px dotted red; } to be sure that styling in resources/sass/sb2/sb-admin-2.scss are applied. What is wrong and is it possible to work in vue app metisMenu.js ? Thanks!
  12. Here https://github.com/vuejs/awesome-vue reviwed a lot and found only vuecsv . Could you please take a look or advice some ?
  13. I got errors in console : $ npm install --save Vue npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/Vue - Not found npm ERR! 404 npm ERR! 404 'Vue@latest' is not in the npm registry. npm ERR! 404 Your package name is not valid, because npm ERR! 404 1. name can no longer contain capital letters npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! /home/serge/.npm/_logs/2019-06-18T14_42_06_261Z-debug.log and in mentioned log file : 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '--save', 'Vue' ] 2 info using npm@6.9.0 3 info using node@v10.15.3 4 verbose npm-session 7023bc00e3afa995 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 404 https://registry.npmjs.org/Vue 937ms 8 http fetch GET 404 https://registry.npmjs.org/Vue 824ms 9 silly fetchPackageMetaData error for Vue@latest 404 Not Found - GET https://registry.npmjs.org/Vue - Not found 10 timing stage:rollbackFailedOptional Completed in 1ms 11 timing stage:runTopLevelLifecycles Completed in 3721ms 12 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/Vue - Not found 12 verbose stack at res.buffer.catch.then.body (/usr/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:104:15) 12 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7) 13 verbose statusCode 404 14 verbose pkgid Vue@latest 15 verbose cwd /mnt/_work_sdb8/wwwroot/lar/wiznext/msg-laravel-application 16 verbose Linux 4.15.0-51-generic 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--save" "Vue" 18 verbose node v10.15.3 19 verbose npm v6.9.0 20 error code E404 21 error 404 Not Found - GET https://registry.npmjs.org/Vue - Not found 22 error 404 23 error 404 'Vue@latest' is not in the npm registry. 24 error 404 Your package name is not valid, because 25 error 404 1. name can no longer contain capital letters 26 error 404 Note that you can also install from a 27 error 404 tarball, folder, http url, or git url. 28 verbose exit [ 1, true ]
  14. I am not sure that I understand you, after installing of vuecsv.min.js I have /node_modules/vuecsv/dist/vuecsv.min.js file and in my vue file I tried to make like : <script> import {bus} from '../../../../app'; import appMixin from '../../../../appMixin'; //import import VueCSV from '/vuecsv/dist/vuecsv.min.js'; // /node_modules/vuecsv/dist/vuecsv.min.js Vue.use(VueCSV); Vue.component("csv-download" , VueCSV.CsvDownload ) but in console I see error : ERROR in ./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js&) Module not found: Error: Can't resolve '/vuecsv/dist/vuecsv.min.js' in '/mnt/_work_sdb8/wwwroot/lar/wiznext/msg-laravel-application/resources/js/components/Horizontal/personal/userLists' @ ./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js&) 124:0-48 127:8-14 132:30-36 @ ./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& @ ./resources/js/components/Horizontal/personal/userLists/list.vue @ ./resources/js/routes.js @ ./resources/js/app.js @ multi ./resources/js/app.js ./resources/sass/Horizontal/app.scss ./resources/sass/Horizontal/style_lg.scss ./resources/sass/Horizontal/style_md.scss ./resources/sass/Horizontal/style_sm.scss ./resources/sass/Horizontal/style_xs_320.scss ./resources/sass/Horizontal/style_xs_480.scss ./resources/sass/Horizontal/style_xs_600.scss If i modify import line as : import VueCSV from 'vuecsv'; // /node_modules/vuecsv/dist/vuecsv.min.js I see error in npm console : This dependency was not found: * Vue in ./node_modules/vuecsv/dist/vuecsv.min.js To install it, you can run: npm install --save Vue sure I have vue installed. Which way is right?
  15. Yes, I tried to change in resources/views/index.blade.php : <script src="{{ asset('js/app.js') }}{{ "?dt=".time() }}"></script> <script type="text/javascript" src="{{ asset('js/vuecsv.min.js') }}"></script> Did you mean this? In this case erros in browser's console : app.js?dt=1560861461:2822 Uncaught ReferenceError: VueCSV is not defined at Module../node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& (app.js?dt=1560861461:2822) at __webpack_require__ (app.js?dt=1560861461:20) at Module../resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& (app.js?dt=1560861461:81388) at __webpack_require__ (app.js?dt=1560861461:20) at Module../resources/js/components/Horizontal/personal/userLists/list.vue (app.js?dt=1560861461:81352) at __webpack_require__ (app.js?dt=1560861461:20) at Module../resources/js/routes.js (app.js?dt=1560861461:81978) at __webpack_require__ (app.js?dt=1560861461:20) at Module../resources/js/app.js (app.js?dt=1560861461:80236) at __webpack_require__ (app.js?dt=1560861461:20) ./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& @ app.js?dt=1560861461:2822 __webpack_require__ @ app.js?dt=1560861461:20 ./resources/js/components/Horizontal/personal/userLists/list.vue?vue&type=script&lang=js& @ app.js?dt=1560861461:81388 __webpack_require__ @ app.js?dt=1560861461:20 ./resources/js/components/Horizontal/personal/userLists/list.vue @ app.js?dt=1560861461:81352 __webpack_require__ @ app.js?dt=1560861461:20 ./resources/js/routes.js @ app.js?dt=1560861461:81978 __webpack_require__ @ app.js?dt=1560861461:20 ./resources/js/app.js @ app.js?dt=1560861461:80236 __webpack_require__ @ app.js?dt=1560861461:20 0 @ app.js?dt=1560861461:82391 __webpack_require__ @ app.js?dt=1560861461:20 (anonymous) @ app.js?dt=1560861461:84 (anonymous) @ app.js?dt=1560861461:87 app.js?dt=1560861461:75903 You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html DevTools failed to parse SourceMap: http://127.0.0.1:8000/js/vue-slider-component.umd.min.js.map vuecsv.min.js:1 Uncaught TypeError: Cannot read property 'use' of undefined at Object.<anonymous> (vuecsv.min.js:1) at n (vuecsv.min.js:1) at Object.<anonymous> (vuecsv.min.js:1) at n (vuecsv.min.js:1) at Object.<anonymous> (vuecsv.min.js:1) at n (vuecsv.min.js:1) at Object.<anonymous> (vuecsv.min.js:1) at n (vuecsv.min.js:1) at Object.<anonymous> (vuecsv.min.js:1) at n (vuecsv.min.js:1)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.