Jump to content

dil_bert

Members
  • Posts

    939
  • Joined

  • Last visited

  • Days Won

    3

Everything 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. good day der requinix, many thanks for the hints - and for your answer. I will digg deeper into that sort of things. Again - thanks for your continued help!!! This place is so great and i am very happy to be here. greetings
  6. 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: depends on size , speed and possible found errors you can see the actual status of the test by running this and with that 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
  7. hello dear requinix many thanks for the quick answer - well finally i managed to do all the necessary things i have had to do. Sometimes webmin behaves and works very weird - in my opinion the tool is not totally bug-free have a great day
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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. question - can you suggest this win gpg client1
  14. first of all - i will update the webmin-tool http://www.webmin.com/changes.html will have a closer look if i get rid of this behaviour found two great documentations - here : https://doxfer.webmin.com/Webmin/Apache_Webserver and this one here https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 the howTo on digitalocean is very clear and concise: see the steps the guys suggest to do in this set up: Prerequisites Step One — Create the Directory Structure Step Two — Grant Permissions Now we have the directory structure for our files, but they are owned by our root user. If we want our regular user to be able to modify files in our web directories, we can change the ownership by doing this: sudo chown -R $USER:$USER /var/www/example.com/public_html sudo chown -R $USER:$USER /var/www/test.com/public_html The $USER variable will take the value of the user you are currently logged in as when you press Enter. By doing this, our regular user now owns the public_html subdirectories where we will be storing our content. Step Three — Create Demo Pages for Each Virtual Host Step Four — Create New Virtual Host Files Step Five — Enable the New Virtual Host Files : Step Six — Set Up Local Hosts File (Optional) Step Seven — Test your Results end of the citation of digitalocean - the great howTo : https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 well i will follow these steps and will have a closer look at the results... will come back and report all the findings
  15. dear fellow php-experts dear fellow linux experts, can we install Manjaro Linux alongside Windows as a dual-boot PC? manjaro Linux is well known as one of the fastest growing Linux distributions derived from Arch Linux. Arch Linux is known for its rock-solid performance and superior light-weight handling features. However, we have to say that Arch Linux is not an excellent distribution for beginners to Linux. One has to get into the command-line often to get lots of cool things done. That’s where Manjaro Linux fills in and comes into play: It has a great impact: Since it is a very sophisticated spin-off from the hardcore Arch Linux, all the users get not only all the cool and nifty and trustworthy Arch Linux features and the tons of commandline tools and stuff. no he gets even more - he gets also intuitive user interface which is beginner friendly. one last question left: how to install Manjaro in a dual-boot configuration alongside Microsoft Windows 7 or let me say Windows 10 operating system.
  16. first of all - i will update the webmin-tool http://www.webmin.com/changes.html will have a closer look if i get rid of this behaviour
  17. hello dear Requinix - many thanks for the hint - i will try it out. will come back and inform you bout the results. have a great day
  18. hello dear requinix many thanks for the quick reply. i am really happy to hear from you. Youre right!! Sure thing! but believe it or not - in the list of the allready existing vhosts it does not appear. how to go on - what to do?
  19. hello dear requinix many thanks for the answer and for your posting. a even easier way is to use gsmartcontrol from the repos of Manjaro... But i like the usage of the terminal, Have a great day
  20. hello dear fellows currently struggle with Webadmin: after creating a new vhost i get this error message Failed to create virtual server : A virtual server with the same name and port already exists but believe it or not - in the list of vhosts it does not appear. how to go on - what to do? Any idea !?
  21. dear community, How to check the SMART status of my storage-drive on Manjaro linux. well i have got issues with a notebook. Several installs and each time the machine does not run propperly. i think i have to runs a SMART-Test. background: S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) is told to be a great test: The Smart-status is very very useful in determining the health of the storage drive, furtermore it can especially be more useful for hard disks and backup drives because of a failure in those means imminent loss of data. well to sume it up: The SMART report consists of critical parameters that gives you a direct indication of the expected life left in the hard disk and so you can accordingly have the option to make or to take a decision to backup data and replace the hard disk. the hurry up and short tests: Checks the electrical and mechanical performance as well as the read performance of the disk. the tests might also include a test of buffer RAM, a read/write circuitry test, or a test of the read/write head elements. And not to forget the mechanical test is even better - it does include seeking and servo on data tracks. besides this the scans small parts of the drive's surface. Checks the list of pending sectors that may have read errors, and it usually takes under two minutes. Long/extended: A longer and more thorough version of the short self-test, scanning the entire disk surface with no time limit. This test usually takes several hours, depending on the read/write speed of the drive and its size. The most intriguing and coolest thing is the Conveyance: a hurry up and very very quick test to identify damage incurred during transporting of the device from the drive manufacturer to the computer manufacturer. in earlier times it only was available on ATA drives, and it usually takes several minutes up to half an hour. we can apply it with sudo smartctl -a /dev/sda and so on
  22. according this text - it could be themerelated or plug-related.. https://websitesetup.org/error-establishing-a-database-connection/
  23. how to measure a cpu-temp in a linux-system!? allways thought that i can use sensorscoretemp-isa-0000Adapter: ISA adapterPackage id 0 but this does not work here btw. i am on manjaro-linux
  24. good day dear gizmola and Mac_gyver many many thanks for the answer and for sharing your ideas. I will digg deeper into all of those. I have switched MySQL of and on - via the backend. With now effects. It still is the same thing: this is a good idea: will have a closer look! yes it is on a non local server.. many thanks - will discuss all these ideas with my server-admin. have a great day
  25. hello dear Experts i am going to create a Phonebook class efforts and parts: Design a Python class for a Phonebook. You class should have the following methods - see the little list that i have to implement: init (self): creates an empty list to store names and numbers Add(self, name, number): adds the name and number to the list Display(self): displays the entire phonebook. Find(self, name): this should find and also do the print of the number in the little phonebook that is associated with the name last but not least i want to add more stuff: eg. Add a main() method that ddoes more - eg. to the script that adds a couple of new phone entries and calls the display() and besides of this additionaly find() methods to see if they work. so far so good: That's the sum of ideas i want to implement. to go further -. what was done this code and I'm not entirely sure where to go from there. class Phonebook: def __init__(self): pass def add(self,name, number): self.name=name self.numbers=number def getName(self): return self.name def getNumber(self): return self.number def find(self, name): a = raw_input("What is their First Name?") return(self,name) def display(self): return display def main(): phone1 = Phonebook("foo bar", 13345444234214) phone2 = Phonebook("foo bar", 13345444234214) print(display()) if name == 'main': main() well what was done this code and I'm not entirely sure where to go from there. one question: can someone give me some hints - I've tried looking in books and tried to find out how to use the add function and, The question is: how to incorpoate find and display in the def main function. Thanks i guess that __init__(self): creates an empty list to store names and numbers def __init__(self): pass That does not do what the instructions want. Also: def getName(self): return self.name def getNumber(self): return self.number should i really use getters in python? [
×
×
  • 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.