Jump to content

dil_bert

Members
  • Posts

    939
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by dil_bert

  1. Using Webmin to Manage MySQL to manage the MySQL server installed on the Linux server. At the moment i have serious issues in installaing a web application installation - like Wordpress: i get back errors in establishing a db. 


    i follow the sequence of steps: 
    create user: 

    create a MySQL database,

    db-permission: for the given db: Once we have created a new MySQL database, we must now assign permissions to this database. Now that we have sucessfully created a new database, a new user, and set up a database permissions scheme for that database, our web application installation should be seamless. 

    by the way; this guy here has a interesting setup: 

    Virtualmin/webmin mysql user-database permissions 
    https://www.youtube.com/watch?v=yDsKu3qNgdc

    note: the sequence is very interesting

    first he creates a new user ( to which he gives no permissons..) THAT is very very interesting... 

    the permission are given in the step: "db-permission" - not (!!!) in the creation of users. 


    what do you say!? 

  2. hello dear community,

     

    good evening. From time to time i am looking out for a idea exchange regarding the ide & editor - area

    the question is: What are the top best Python IDEs and Code Editiors in 2019

     

    or - in other words. Which editor / Ide do you use!?  Which one is easy to work with - and supports you in your day to day work !?

     

    i have heard about the following ones:  ... and i have tested some of them - and use PyCharm and Atom 

    see the list..

    Pydev
    Idle
    PyCharm.
    Visual-Studio
    AWS Cloud9.
    Komodo IDE.
    Codenvy.
    KDevelop.
    Anjuta.
    Wing Python IDE.
    Thonny https://thonny.org/
    Eric 
    atom - good github / bitbucket integration 


    as said above: i run Pycharm  and also have tested Eric. But i also like Atom - for its marvellous and great github-integration. 

    regarding PyCharm: 

    well - it comes with an really very intelligent code-editor, It has also a very smart code navigation, that allmost every time supports a blisteringly fast and safe refactoring.
    I like the  integrated features like debugging, testing, profiling, deployments,  And besides that it comes weith remote development and tools of the database.

    For the Python-development PyCharm also provides the good support to python web-development-frameworks and apps. Also support is guaranteed for JavaScript, HTML, CSS, Angular. Last but not least: PyCharm has got a very powerful integration with IPython Notebook. 

    The great Pros:
    - PyCharm does provide a very smart platform to the developers support-levels at areas of auto code completion, error detection, quick fixing etc.
    - PyCharm does provide multiple framework support by increasing a lot of cost-saving factors.
    - last but not least the ide Pycharm supports a rich feature like cross-platform development. That said - it is so that the developers can write a script on another platforms as well.
    - i also like the feature of the customizable interface which in turn may also support the increases of the productivity.

     

    The question:  What is your favorite IDE or Code Editor? 

    Atom i love too - since it supports the github & bitbucket access. It has a bunch of plugin... 

    but on my machines it is  a bit slow. 
     

  3. hello dear experts, good day dear phpfreaks, 

     

    first of all - i am so glad that i have found this great page. It is such a great ressource of idea - exchange and support. 

     

    The question of today:  Are there any clones/alternatives for running a Stack Exchange style Q&A site?

    well -  i am looking for software that can run a Q&A environment - lets say similar to the Stack Exchange web-project. Are there any such pieces of software available? heard bout several projects - not sure how viable and alive they are at the moment!?

     

    ASKBOT: Python/Django. Hosting, code, docs, import. GPLv3

    Biostars: Python, Django. MIT license

    Django-knolwledge:  Python, Django. ISC license

    LampCMS: . PHP 5.3, MongoDB. LGPL3

    Mamute:  Java. Customizable. Apache 2 license

    PaizaQA: MEAN (MongoDB, Express, AngularJS, and Node.js), MIT license

     

    again  The question is:  Are there any clones/alternatives for running a Stack Exchange style Q&A site?

    Do you know more !? 

     

    Love to hear from you 

     

  4. dear experts, good day dear phpfreaks,

    at the moment i am looking for an overview on Cloud-IDEs:  What are some best online cloud IDEs?

    i only know some .. but i guess that my knoweldge is very limited here - do you know some more.. !? 

     

    CoDiff: CoDiff supports access to teammates local and - besides this  it shows changes, greatly improving communication: And yes: communication is pretty important:  I heard about that it does even more: it notifies you of conflicts with teammates as they occur.
    Even as an individual, it can still notify you as soon as your changes conflict with upstream commits. 

    Llama: Llama is an online IDE that let's us prototype code. It supports many languages - like Pythonm, JAVA and c++ and prolly perl including html.

    Koji: Coding and deploying web apps takes too long. Koji makes it much faster and easier. Start from a template, customize, collaborate, deploy with a click!

    Repl.it is known as an online IDE wherein one can boot up an environment for a programming stack or language.  It supports and functions as a training machine and support learning models. 

     

    Hmm - i guess that repl.it has got some poor interface - and a steep learning curve...  What do you guess!?


    Look forward to hear from you

  5. hello dear all - good day dear php-freaks and experts, 

     

    i need to run some tests on a linux machine. I need to test the hdd - with SMART.. 

    i have gathered some infos in the net: 


    For the desktop, we can use "Disk Utility" for this. For the command line when the smartmontools package is allready installed we can play around with smartctl. Eg:

    Quote

    sudo smartctl --all /dev/sda

    quick test of smart on a linux machine: 

     

    sudo smartctl -H /dev/sda #Status on the first SATA-hdd  
    smartctl 5.XY 2014-06-09 r444365 [x86_64-linux-4.2.0-37-generic] (local build)
    Copyright (C) 2003-11 by Bruce Allen, http://smartmontools.sourceforge.net

    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

    The result PASSED means - no error was found: 

    extended test: 

     

    sudo smartctl -t long /dev/sda #Status of the first SATA-hdd 

    depends on size , speed and possible found errors

    you can see the actual status of the test by running this 

     

    sudo smartctl -c /dev/sda | grep -A 1 "execution status"

     

    and with that 

     

    sudo smartctl -a /dev/sda #Status of the first hdd 


    other options: 

    we can use gsmartcontrol, a GUI for smartctl.

    by the way: There is also a utility called badblocks, and another called shred. 
    Both of these utilities can perform read/write operations on our write drive 
    that can be used to make sure that a drive is safe for use. 


    i will apply the above mentioned commandlline-approach and will report all the findings.

    i come back here and will share the insights 


  6. hello dear experts, good evening, 


    I was watching a tutorial on class, static and instance methods and they'res 3 things I can't seem to wrap my head around:
    When should I use either of the 3 methods?

    What does the "__repr__" do?The

    example the tutor used does for the code and the project. :

     

    class Pizza:
        def __init__(self, ingredients):
            self.ingredients = ingredients
    
        def __repr__(self):
            return f"Pizza({self.ingredients})"
    
        @classmethod
        def margherita(cls):
            return cls(['cheese', "tomatoes"])
    
    Pizza(["Pepperoni", "Pinnaple", "ham", "mushrooms"])


    How come at the end he was able to fit 3 arguments inside 1 parameter in the __init__ method?

    ["Pepperoni", "Pinnaple", "ham", "ushrooms"] 

    is a single item, a list in this case, being passed onto ingredients.


    why he used classmethods and no static methods or instance methods

     

     

    well - i really look forward to hear rm you

  7.  


    hello dear experts - good day dear phpfreaks and  friends

     

    in general i use Linux - (manjaro) - but some  time i use windows. 

    here the question of the day:  i run filezilla also on a notebook that is used sometimes also by my colleagues. 
    i want to have filezilla in a saved environment - and want to make sure that no body has acceess to the server. 

    note: it is a win 7 notebook 

    options i have: 

    - put filezilla in hidden folder or in a folder that is crypted and that gives access only after password is given. This option can be realized by the encryption methods for folders that is given be Winrar. In other words - with winrar i can set up a folder that has only access for those that know the password. 

    can do this like so1? 

    love to hear from you 


  8. can i rename an allready created vhost - so that it matches another name!?
    background:

    i am struggling with the error - error in creating vhost - a vhost with this name and port does allready exist-
    But unfortunatly the vhost that should have veen created - it does not appear in the overview of all created vhost.

    what can i do1?


    btw : i have managed to gcreatd other named vhosts i nthe last year. 
    question can i rename some of them!? _Is this doable"? 

    love to hear from you 
    greeetings

  9. hello dear requinix ;)

     

    many thanks for the reply.   well all is a bit confusing - i know. 

    i run  https://www.gpg4win.de/ on a win machine:  

    https://www.gpg4win.de: this is a pgp-based (oriented System)  i run this on my office win-machine. 

    at home i run manjaro-linux. 

    question: can i tranfer the keys from the office based win system https://www.gpg4win.de/


    to the manjaro-linux based kgpg !? 


    is this possible


    Love to hear from you 

    greetngs dil_bert 

  10. hello dear Requinix

     

    many thanks for the hint - youre right. 

    btw, can we use the key from WinGPG or - the alternative tool GpG4Win on a Kgpg - that is a Linux-based-System

     

    in other words - can i use the key pair - consisting of priv and pub key in both systems. 

    note;: at home i run linux - and in offixce i run win-machines. 

     

    so i need to have both clients. 

     

    look forward to hear from you 

     

    have a great day

  11. dear community, 

     

    which wingpg you would suggest?

    is win gpg really free ?

     

     

     


    wingpg@scand.com


    saw it here; https://scand.com/products/wingpg/

     

    note  - generally i run linux on the notebooks - but on one machine i have win installed. 

     

    i need a gpg client for this notebook - what would you do?

     

    read about the WinGPG - see below:


    SECURE YOUR DATA WITH OUR SIMPLE ENCRYPTION TOOL
    WinGPG is a tray-based classical Windows application, Windows NT Explorer shell extension, and a classic GPGv2 distribution. Secure your data with our simple encryption tool.

    Quote

     

    Data protection
    Secure your files against unwanted tampering. Let no one jeopardize your privacy. Protect your data with WinGPG by Scand.
    Encryption/decryption
    Encrypt your documents with pleasure. Decrypt them easy. Secure your messaging. Encrypted files are automatically zipped and ready for transmission.
    Signature/verification
    Sign out your documents. Verify signed files sent to you. Make sure the recipient gets the information he is intended to.
    MAIN FEATURE
    Free and open source
    No costs. Source included. Get our code and gain confidence in a full package.
    Simple yet powerful UI
    No additional certification, no undemanded updates, classic Windows interface. Though clipboard support, context menus, hotkeys are integrated.
    100% secure
    Is GPG code secure enough? WinGPG sure is. Being a ‘shell’ for original GPG makes it your must-have protection tool.
     


     

     

    question  - can you suggest this win gpg client1

     

     

  12. update: Changing the WordPress email “from” address without a plugin

     

    probably this may help me: 

     

    WordPress relies on a function called wp_mail() to send email.  
    chad Butler has tought me some ways to fix the malfunction of the wp_mail() he has created a function: This function is essentially a wrapper for the phpmailer class.  
    if wp_mail default email “from” address cannot be configured via the WordPress admin panel there is a solution.  


    this function and its related functions are both pluggable and can be filtered.  

    Chad has creted a simple filter.

    wp_mail() relies on some other outside information, some of which is wp_mail_from (an email address) and
    wp_mail_from_name (the real name given to the email address).  

    Chad: Since cheap levitra that is all we want to change, we are just going to filter those.
    Filtering the email address

    Add a filter for the email address using ‘add_filter’:
    add_filter( 'wp_mail_from', 'my_mail_from' );
    function my_mail_from( $email ) {
        return "change-this-to-your-email-address";
    }

    Filtering the email name

    Now add a filter for the name of the email address:

    add_filter( 'wp_mail_from_name', 'my_mail_from_name' );
    function my_mail_from_name( $name ) {
        return "My Name";
    }
    

    The functions.php file

    chad advices to add these two filters and their accompanying functions to the theme’s functions.php file.  

    he states:

    - go to the Appearance > Editor menu in the WP Admin Panel,
    - then find ‘functions.php’ in the list of theme files on the right.  
    - Add these filters and you are done

    see more infos at: http://www.butlerblog.com/2011/07/08/change-wordpress-email-from-address-without-a-plugin/

     

    probably this may help me:  i will try this out

  13. hello dear PHP-Freaks

     

    update: these data below – i have taken out of the configuration on the php

    
    
    sendmail_path    /bin/true    /bin/trueserialize_precision    17    17short_open_tag    Off    OffSMTP    localhost    localhostsmtp_port    25    25sql.safe_mode    Off    Offsys_temp_dir    /tmp    /tmptrack_errors    Off    Off

     

     

    are there more Essentials and configuration-details that have to be met on the SERVER
    in other words – do i have to take care for ___more___ configuration-details on the server!?

    which are the important SERVER-Parameters for EMail? 

     

     

    when i get all right then i have to

     

     

    a. take care that the preliminary configurations are met on the Server – and then
    b. i go to the Backend of WP and have a look at the Konfigurationens for the mailing…+

    is this correct!?

     

     

    love to hear from you

     

     

    yours dil_bert

     

  14. hello dear experts

    note: there are some options to run a smtp-mail-plugin

    i have found one: https://www.siteground.com/tutorials/wordpress/use-smtp/

    By default, WordPress uses the PHP Mail function to send its emails. However it is better to use SMTP as it handles sending messages better and you can also use it to send emails from a third party mailing service.To begin, first you need to install a plugin named WP Mail SMTP by following the instructions in our tutorial on how to install WordPress plugins. Once the plugin is installed and activated, a new menu will show up under the Settings section called Email. You will need to navigate to it in order to configure WordPress to work with SMTP.

    well – with this smtp-plugin i can do alot: Here’s a list of all of them and what do they configure:
     

        From Email – the email address you want to send emails from – for example email@yourdomain.com;
        From Name – the name that your emails will be sent from;
        Mailer – choose whether you want to use the default Mail function or the SMTP;
        Return Path – check if you want to match the return path for your emails to the sending email;
        SMTP Host – the hostname for your SMTP server;
        SMTP Port – the port your server works on;
        Encryption – if you have SSL/TLS encryption available for that hostname, select it here;
        Authentication – check if your SMTP server requires authentication;
        Username – the username for your SMTP server;
        Password – the password for your SMTP server;

     

    Once you configure those parameters, simply click the Save button at the bottom of the page.

    but wait: i want to know if it is possible to run with the basic e-mail-settings… how to check them!? What to do to get to know if the e-mail settings correct….



    but - above all; i think that - in general we need  to have PHPMail up and working.
    if we want to  do this with SMTP we need the following basic parameter,

     

    outgoing-server,
    Port,
    username,
    Passwort,
    encryption

     

     

     

    well i need to chek if the basic settings are well - so that mails can be sent

     

    guess that i can do this with a view on the info-php settings , can´t i!?

  15. i run a plugin called participant-databaae  ( https://wordpress.org/plugins/participants-database/ )

    with this plugin i have the option to send mails to users.

    but this does not work: i saw a page - email troubleshooting
    https://xnau.com/work/wordpress-plugins/participants-database/participants-database-email-troubleshooting/

    question: what is needed to make sure that the e-mail-settings are well and up and running

    in other words: how to make  sure that the e-mail prerequisites are all met and fully work well


     i need to know what is needed to have all e-mail-settings in wordpress up.
     
     love to hear from you
     
     regards
     

  16. hello dear ginerjm

    many thanks for the quick reply. 

     

    it appears on the page: http://www.literaturen.org

     

    i have tried some thing but i did not succed

     

    there on the page the headings oft the postings are some of the following.. (written in capitals)

     

    Neuerscheinungen

    Neu im Regal

    Über das spricht man

     

    etc. etx.

     

    love to hear from you

    any and all help is greatly appreciated

     

    greetings

  17. hello dear experts,

     

     

    guess i have messed up the stylesheet of my page a bit. i need to customize the size of the characers in the theme. How do that.

    note – i run the code below – i plugin called custom-css. this plugin is very very helpful – i tried alot but atm i am not able to customize the size of the title in postings.

     

     

    love to hear from you

     

     

     

     

    
    
    
    
    
    
    
    
    /* Enter Your Custom CSS Here */
    
    .home .post-228 .entry-header {
        display: none;
    }
    
    .entry-meta .byline, .entry-meta .cat-links { display: none; }
    
    .entry-content {
        font-family: Georgia, serif;
        font-size: 10px;
    }
    
    body,
    .site-header {
        width: 95%;
    }
    body {
        margin: 0 auto;
    }
    
    #cff {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .hentry {
    margin: 0 auto 18px !important;
    }
    
    (margin-bottom is 17px now,)
    
    .entry-title {font: 22px Georgia} /* Inhalte sind nur Beispiele */
    
    .slider_container {
        margin: 5px auto;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    
    .su-column-inner #scrapeazon-iframe:hover {
        height: 400px;
        position: absolute;
        width: 800px;
        background: #fff;
        z-index: 9999;
        padding: 25px;
        border: 1px solid #cdcdcd !important;
    }
    
    .su-column-inner #scrapeazon-iframe {
        -webkit-transition: .2s ease-out;
        -moz-transition: .2s ease-out;
        transition: .2s ease-out;
    }
    
    .su-column-inner #advanced_iframe:hover {
        height: 200px;
        position: absolute;
        width: 500px;
        background: #fff;
        z-index: 9999;
        padding: 25px;
        border: 1px solid #cdcdcd !important;
    }
    
    .su-column-inner #advanced_iframe {
        -webkit-transition: .2s ease-out;
        -moz-transition: .2s ease-out;
        transition: .2s ease-out;
    }
    
    .list-view .site-content .hentry
    {
      border-top: none;
      padding-top: 8px;
    }
    
    
    
    
    
    
    
    

    hopy you can help here

  18. hello dear experts,

     

    pretty new to keepass -

     

    i ve added entries to keepass - but login to pages not possible - why

     

    I have also inserted a few URL's, Usernames and Passwords.

     

    Now with these entries I could go to my collection of URL/Username/Password and launch that URL from that list. Upon opening, my forums  which i visit all days . they used to log me in to that website. I can't seem to find this feature in Keepass ? I have found the command whereby I can launch the URL but it will not log me in automatically.

     

    Am I missing something here or is this feature not part of the great keepass.for Windows and linux? i am a bit confused now!

     If I am missing something, can someone, PLEASE, tell me how to make it work ?

     

    Thanking you all in advance.

×
×
  • 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.