User contributions for Bacchas
Jump to navigation
Jump to search
- 15:48, 15 June 2023 diff hist +90 Make copy of file and copy to Server
- 15:45, 15 June 2023 diff hist +28 Make copy of file and copy to Server
- 15:44, 15 June 2023 diff hist +10 Make copy of file and copy to Server
- 15:43, 15 June 2023 diff hist +5 Make copy of file and copy to Server
- 15:42, 15 June 2023 diff hist +1,371 Make copy of file and copy to Server
- 15:37, 15 June 2023 diff hist +304 Make copy of file and copy to Server
- 15:07, 15 June 2023 diff hist +354 Make copy of file and copy to Server
- 15:06, 15 June 2023 diff hist +45 Make copy of file and copy to Server
- 15:05, 15 June 2023 diff hist +875 N Make copy of file and copy to Server Created page with " <pre> #!/bin/bash clear echo -e " +++++ Making a backup copy of sql file in the web folder ++++++++++++++++ \n" ansible-playbook /etc/ansible/playbook/backupsqlfirst.yml sleep 5 echo -e "++++++++++ Copying to local web folder ++++++++++++++ \n" ansible-playbook /etc/ansible/playbook/cplocal.yml sleep 5 ansible-playbook /etc/ansible/playbook/copytorb222.yml --private-key ~/.ssh/ansible echo "+++++ Done ++++++" </pre> <h4 class="bluebackground">backup..."
- 14:54, 15 June 2023 diff hist +45 Scripts used on Servers current
- 14:52, 15 June 2023 diff hist +81 Download backup file from remote and copy to Synology current
- 14:51, 15 June 2023 diff hist −2 Download backup file from remote and copy to Synology
- 14:50, 15 June 2023 diff hist −15 Download backup file from remote and copy to Synology
- 14:49, 15 June 2023 diff hist +714 N Download backup file from remote and copy to Synology Created page with "<h4> NOTE: File must already exist and you must know the exact filename that is being downloaded</h4> <h4 class="yellowbackground">opidwnlfromremotetolocal.sh</h4> <pre> #!/bin/bash d=`date +%Y%m%d` n="opilocal-" e=".jpa" name=$n$d$e #dest='/volume1/Linode/' scp -i ~/.ssh/linode 173.255.229.40:/var/www/html/opilocal/akbackup/$name . echo "+++++++++ done copying form Remoge ++++++++++++++++++" sleep 3 scp -i ~/.ssh/synology $name admin@192.168.20.120:/volume1/Linode/op..."
- 14:32, 15 June 2023 diff hist +62 Scripts used on Servers
- 14:10, 15 June 2023 diff hist +41 Backup html folder, backup SQL Database and download locally current
- 14:05, 15 June 2023 diff hist +41 Backup html folder, backup SQL Database and download locally
- 14:03, 15 June 2023 diff hist −143 Backup html folder, backup SQL Database and download locally
- 13:56, 15 June 2023 diff hist +923 Backup html folder, backup SQL Database and download locally
- 13:47, 15 June 2023 diff hist +422 Backup html folder, backup SQL Database and download locally
- 13:42, 15 June 2023 diff hist −1 Backup html folder, backup SQL Database and download locally
- 13:41, 15 June 2023 diff hist −83 Backup html folder, backup SQL Database and download locally
- 13:40, 15 June 2023 diff hist −117 Backup html folder, backup SQL Database and download locally
- 13:38, 15 June 2023 diff hist +1,080 Backup html folder, backup SQL Database and download locally
- 13:33, 15 June 2023 diff hist +64 Backup html folder, backup SQL Database and download locally
- 13:31, 15 June 2023 diff hist +1 Backup html folder, backup SQL Database and download locally
- 13:31, 15 June 2023 diff hist 0 Backup html folder, backup SQL Database and download locally
- 13:30, 15 June 2023 diff hist +32 Backup html folder, backup SQL Database and download locally
- 13:28, 15 June 2023 diff hist +455 Backup html folder, backup SQL Database and download locally
- 13:27, 15 June 2023 diff hist +716 N Backup html folder, backup SQL Database and download locally Created page with "==Master Script== <pre> echo "-----------------------------------" echo "" echo "++++++++++ Running backup script, zipping dir and dump sql database ++++++++++" echo "" clientscripts/./client_run_backup_sql_zip.sh sleep 5 echo "-----------------------------------" echo "" echo "++++++++++ Download zip and sql files and copy to synology ++++++++++" echo "" echo "" clientscripts/./client_dlzipsql_cpto_synology.sh sleep 5 echo "-----------------------------------" echo ""..."
- 13:26, 15 June 2023 diff hist +4 Scripts used on Servers
- 13:26, 15 June 2023 diff hist +64 N Scripts used on Servers Created page with "Backup html folder, backup SQL Database and download locally"
- 13:22, 15 June 2023 diff hist +15 Bash current
- 16:27, 14 June 2023 diff hist +723 Python Copying File and Directories current
- 16:14, 14 June 2023 diff hist −2 Python Copying File and Directories →Move similar files to another folder
- 15:45, 14 June 2023 diff hist −6 Python Copying File and Directories
- 15:45, 14 June 2023 diff hist +1,085 Python Copying File and Directories
- 15:43, 14 June 2023 diff hist +482 Python Copying File and Directories
- 19:52, 26 April 2023 diff hist +895 N Create a Django App Created page with " python manage.py startapp myapp * this will create an new app in the projectname folder * cd into my app folder and create a folder called templates * create an html file in the templates folder * Link the new template folder to the project * edit the settings.py file import os * Scroll down to "TEMPLATES", edit section DIRS 'DIRS': [os.path.join(BASE_DIR, "myapp/templates")] * Edit the views.py in your myapp folder def myview(request): return render(request,..." current
- 19:51, 26 April 2023 diff hist −865 Django Replaced content with "==Create a new project== == Create a Django App == === Category===" current Tag: Replaced
- 19:51, 26 April 2023 diff hist +3 Create a new project current
- 19:51, 26 April 2023 diff hist +25 Create a new project
- 19:50, 26 April 2023 diff hist +275 N Create a new project Created page with "* First create a main dir django etc.. * cd into directory django-admin startproject projectname * this will create the projectname within the main directory * cd into directory python manage.py runserver * To specify a different port python manage.py runserver 8080"
- 19:50, 26 April 2023 diff hist −272 Django
- 19:49, 26 April 2023 diff hist +237 Django
- 17:29, 26 April 2023 diff hist −1 Django
- 17:29, 26 April 2023 diff hist +247 Django
- 17:21, 26 April 2023 diff hist +413 Django
- 17:02, 26 April 2023 diff hist +114 Django
- 16:40, 26 April 2023 diff hist +33 Django
- 16:38, 26 April 2023 diff hist +123 Django
- 16:37, 26 April 2023 diff hist +3 Anaconda current
- 16:36, 26 April 2023 diff hist 0 Anaconda
- 16:35, 26 April 2023 diff hist +34 Anaconda
- 16:34, 26 April 2023 diff hist +27 Anaconda
- 14:58, 26 April 2023 diff hist +34 POWERSHELL FILEBASED OPERATIONS current
- 14:57, 26 April 2023 diff hist +34 Extend C Drive current
- 14:56, 26 April 2023 diff hist +35 Recover Broken Drives current
- 14:56, 26 April 2023 diff hist +8 Fix Broken Windows Files - System file checker current
- 14:55, 26 April 2023 diff hist +27 Fix Broken Windows Files - System file checker
- 20:07, 24 April 2023 diff hist +63 N Django Created page with "==Create a new project== django-admin startproject projectname"
- 20:06, 24 April 2023 diff hist +15 Programming current
- 19:56, 24 April 2023 diff hist +310 N Anaconda Created page with "<h2> Create Anaconda environment</h2> * Open Anaconda command prompt conda create -n NameOfEnvironment python=3.9\ <h2> Activate Environment </h2> conda activate NameOfEnvironment <h2> To deactivate environment </h2> conda deactivate <h2> Update Anaconda base </h2> conda update -n base -c defaults conda"
- 19:52, 24 April 2023 diff hist +17 Programming
- 14:55, 24 April 2023 diff hist +13 Fix Broken Windows Files - System file checker
- 14:54, 24 April 2023 diff hist +282 Fix Broken Windows Files - System file checker
- 14:47, 24 April 2023 diff hist +345 N Fix Broken Windows Files - System file checker Created page with " '''Quick health check''' dism /online /cleanup-image /checkhealth '''Longer Scan''' dism /online /cleanup-image /scanhealth '''Scan and fix problems''' dism /online /cleanup-image /restorehealth '''If dism can't fix system files''' '''Open browser, search for "media creation tool" ''' '''Download "create windows 10 installation media"'''"
- 14:37, 24 April 2023 diff hist +55 Windows
- 18:44, 28 March 2023 diff hist +29 File Commands →Find files in multiple directories
- 18:43, 28 March 2023 diff hist +161 File Commands
- 19:21, 24 March 2023 diff hist +23 Rename files using excel as source template current
- 18:59, 24 March 2023 diff hist −195 Rename files using excel as source template
- 18:54, 24 March 2023 diff hist +76 Rename files using excel as source template
- 18:53, 24 March 2023 diff hist +1 Rename files using excel as source template
- 18:52, 24 March 2023 diff hist −1 Rename files using excel as source template
- 18:51, 24 March 2023 diff hist 0 Rename files using excel as source template
- 18:50, 24 March 2023 diff hist +61 Rename files using excel as source template
- 18:49, 24 March 2023 diff hist +1 Rename files using excel as source template
- 18:49, 24 March 2023 diff hist +7 Rename files using excel as source template
- 18:48, 24 March 2023 diff hist +238 Rename files using excel as source template
- 17:42, 24 March 2023 diff hist −12 Rename files using excel as source template
- 17:41, 24 March 2023 diff hist +68 Rename files using excel as source template
- 17:41, 24 March 2023 diff hist +650 N Rename files using excel as source template Created page with "<pre> import os import pandas as pd import shutil os.chdir('C:\\Users\\bacchas\\Downloads\\test') data = pd.read_excel(r"rename.xlsx") orginal = "C:\\Users\\bacchas\\Downloads\\test\\original" dest = "C:\\Users\\bacchas\\Downloads\\test\\img" old = data['oldname'] new = data['newname'] for (old, new) in zip(old,new): full_file_name = os.path.join(orginal,old) full_file_name_old = os.path.join(dest,old) full_file_name_new = os.path..."
- 17:40, 24 March 2023 diff hist +50 Python Excel Related current
- 13:40, 21 March 2023 diff hist +146 Fix Python Errors current
- 20:08, 17 March 2023 diff hist +36 Python Software installation current
- 20:06, 17 March 2023 diff hist +52 Python Software installation
- 19:54, 17 March 2023 diff hist +112 Python Software installation
- 19:50, 17 March 2023 diff hist +1 Python Software installation
- 19:20, 17 March 2023 diff hist +204 Python Software installation
- 19:17, 17 March 2023 diff hist +272 Python Software installation
- 19:17, 17 March 2023 diff hist 0 Python Software installation
- 19:16, 17 March 2023 diff hist +2 Python Software installation
- 19:15, 17 March 2023 diff hist +258 Python Software installation
- 19:11, 17 March 2023 diff hist +47 Fix Python Errors
- 19:09, 17 March 2023 diff hist +23 Fix Python Errors
- 15:39, 17 March 2023 diff hist +87 N Fix Python Errors Created page with "==FIX ERROR - The term 'pyinstaller' is not recognized== py -m pip install pyinstaller"
- 15:38, 17 March 2023 diff hist +24 Python current
- 20:16, 6 March 2023 diff hist +152 Mac current
- 16:54, 6 February 2023 diff hist +662 Synology Nas