All public logs
Jump to navigation
Jump to search
Combined display of all available logs of rbachwiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)- 15:18, 3 December 2024 Bacchas talk contribs created page AppSheet, Google (Created page with "== Check if input is greater than 2 char and contains a space == AND((LEN([_THIS]) > 2), CONTAINS([_THIS], " ")) == Or, And, In, Not, If== OR(USERSETTINGS("Singer")="Anita L", USERSETTINGS("Singer")="Anita L.") AND(ISBLANK(USERSETTINGS("Singer")), IN("Karaoke",ActiveSession[Session])) IN("Karaoke",ActiveSession[Session]) NOT(USERSETTINGS("Singer")="R Bas") IF(IN(Context("View"),List("JOIN QUEUE")),"Submit Song","Save") upper(CONCATENATE("#",SUBSTITUTE(uppe...")
- 18:35, 17 October 2024 Bacchas talk contribs created page PowerShell Comparison Operators (Created page with "Equality -eq, -ieq, -ceq - equals -ne, -ine, -cne - not equals -gt, -igt, -cgt - greater than -ge, -ige, -cge - greater than or equal -lt, -ilt, -clt - less than -le, -ile, -cle - less than or equal Matching -like, -ilike, -clike - string matches wildcard pattern -notlike, -inotlike, -cnotlike - string doesn't match wildcard pattern -match, -imatch, -cmatch - string matches regex pattern -notmatch, -inotmatch, -cnotmatch - string doesn't match regex pattern Replacement...")
- 18:15, 17 October 2024 Bacchas talk contribs created page Powershell Network Commands (Created page with " Get-Netipaddress Get-netadapterstatistics Get-DnsClientserveraddress Set-DnsClientserveraddress")
- 17:46, 17 October 2024 Bacchas talk contribs created page Useful PowerShell Commands (Created page with " Get-ComputerInfo Rename-Computer Restart-Computer Get-Date Get-TimeZone")
- 16:47, 16 October 2024 Bacchas talk contribs created page Powershell Fundamentals (Created page with "==Get Version== $PSVersionTable")
- 16:46, 16 October 2024 Bacchas talk contribs created page PowerShell (Created page with "==Powershell Fundamentals==")
- 14:53, 25 April 2024 Bacchas talk contribs created page Cloud Sync No longer works, owner changed (Created page with "The settings are stored in an SQLite database and can be modified there. I took the following steps. 1*Stop the cloud sync service from the package manager Connect through ssh to your diskstation or open a terminal console window go to the volume where the configure for cloudSync sits. and there into the config folder. for me that was `cd /volume1/@cloudsync/db` before we open the sqlite database to modify it we need to look up what the user id and group id of our new u...")
- 14:51, 25 April 2024 Bacchas talk contribs created page How do I sign in to DSM with RSA key pairs via SSH? (Created page with "'''Generate Key pair on local computer''' *Sign in to DSM as an administrator. *Go to DSM File Station > home. *Create an sub-folder named .ssh. *Upload the public key id_rsa.pub to the .ssh folder. '''Sign in as an administrator''' *Sign in to DSM as an administrator via SSH (refer to this article for detailed instructions, but do not run sudo -i). *Run a cd command to switch to the .ssh folder you previously created. *cd ~/.ssh *Append the public key to a new file b...")
- 18:24, 7 March 2024 Bacchas talk contribs created page Update Windows From PowerShell (Created page with "**Install Windows Update Module - Install-Module PSWindowsUpdate. **Check and Download the latest updates - Get-WindowsUpdate **Install the latest updates - Install-WindowsUpdate")
- 16:39, 28 August 2023 Bacchas talk contribs created page Fix Windows Update (Created page with "* Run CMD as Admin Stop Update Services * net stop bits (Background intelligent service) * net stop wuauserv * net stop appidsvc * net stop cryptsvc cd\ cd Program Data cd Application Data cd Microsoft cd Network cd Downloader * Delete all the files in the Downloader Dir")
- 20:34, 28 June 2023 Bacchas talk contribs created page Ftp Server (Created page with "== Setting up an FTP server == apt install vsftpd ftp ufw '''Check Status to see if it's running''' systemctl status vsftpd '''If it shows disabled''' systemctl enable vsftpd ''' if it's not running ''' systemctl start vsftpd == Create an ftp user == useradd -m bach ''' set password ''' passwd bach")
- 19:52, 26 June 2023 Bacchas talk contribs created page Tailscale (Created page with " ==Enable Routing on synology to access local printers== * SSH into synology sudo tailscale up --advertise-routes=192.168.20.0/24 --reset * in tailscale admin ** Right click on 3 dots ** Edit Route Settings ** Turn on node ** Right click on 3 dots again ** Disable key expiration * Resetting back node to default sudo tailscale up --reset")
- 15:05, 15 June 2023 Bacchas talk contribs created page 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:49, 15 June 2023 Bacchas talk contribs created page 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...")
- 13:27, 15 June 2023 Bacchas talk contribs created page 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 Bacchas talk contribs created page Scripts used on Servers (Created page with "Backup html folder, backup SQL Database and download locally")
- 19:52, 26 April 2023 Bacchas talk contribs created page 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,...")
- 19:50, 26 April 2023 Bacchas talk contribs created page 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")
- 20:07, 24 April 2023 Bacchas talk contribs created page Django (Created page with "==Create a new project== django-admin startproject projectname")
- 19:56, 24 April 2023 Bacchas talk contribs created page 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")
- 14:47, 24 April 2023 Bacchas talk contribs created page 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"'''")
- 17:41, 24 March 2023 Bacchas talk contribs created page 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...")
- 15:39, 17 March 2023 Bacchas talk contribs created page Fix Python Errors (Created page with "==FIX ERROR - The term 'pyinstaller' is not recognized== py -m pip install pyinstaller")
- 16:51, 6 February 2023 Bacchas talk contribs created page Synology Nas (Created page with "==How do I sign in to DSM with RSA key pairs via SSH?== '''Generate Key pair on local computer''' *Sign in to DSM as an administrator. *Go to DSM File Station > home. *Create an sub-folder named .ssh. *Upload the public key id_rsa.pub to the .ssh folder.")
- 16:04, 27 December 2022 Bacchas talk contribs created page Synology WiFi Router (Created page with "==Setting up a synology WiFi Access Point== Router has to be setup in WiFi mode first, which means: don't connect the the Ethernet wire.")
- 16:01, 27 December 2022 Bacchas talk contribs created page Hardware (Created page with "==Synology WiFi Router==")
- 18:06, 29 November 2022 Bacchas talk contribs created page Upgrade to PHP 8.1 (Created page with " $ sudo apt update $ sudo apt upgrade $ sudo apt install ca-certificates apt-transport-https software-properties-common ===Add the Reoository == sudo add-apt-repository ppa:ondrej/php")
- 15:29, 30 September 2022 Bacchas talk contribs created page AlpineJS (Created page with "=AlpineJS=")
- 18:15, 31 August 2022 Bacchas talk contribs created page MediaWiki:Common.css (Created page with "CSS placed here will be applied to all skins: .keyword{ display: none; }")
- 18:14, 31 August 2022 Bacchas talk contribs changed group membership for Bacchas from bureaucrat and administrator to bureaucrat, administrator and interface administrator
- 15:39, 9 August 2022 Bacchas talk contribs created page Excel (Created page with "= Excel = == Removing the .jpg 3 cells then concat them== =LEFT(A1,LEN(A1)-4)&","& LEFT(B1,LEN(B1)-4)& ","&LEFT(C1,LEN(C1)-4)")
- 19:30, 8 August 2022 Bacchas talk contribs created page YAML (Created page with "==YAML== '''Serialization Language''' ===Syntax=== * Key value pair # this is a comment app: user-auth port: 9000 #comment version: 1.7")
- 21:15, 27 July 2022 Bacchas talk contribs created page Ansible Documentation (Created page with "Online documentation • https://docs.ansible.com/ • https://docs.ansible.com/ansible/latest/ • https://www.ansible.com/resources • https://www.redhat.com/en/topics/automation/learning-ansible-tutorial • Ansible Webinars and Trainings • https://www.ansible.com/resources/webinars-training • Ansible module documentation • https://docs.ansible.com/ansible/2.9/modules/list_of_all_modules.html")
- 20:51, 27 July 2022 Bacchas talk contribs created page Ansible Management Tools (Created page with "=Ansible AWX = * Open Source Tool to manage Ansible")
- 20:32, 14 July 2022 Bacchas talk contribs created page Ansible Vault (Created page with "= Secure your Ansible YML files= ansible-vault create ymlfile.yml ==Run yml file that")
- 18:08, 14 July 2022 Bacchas talk contribs created page Ansible Conditions (Created page with " = Ansible Menu= Category:Ansible")
- 18:04, 14 July 2022 Bacchas talk contribs created page Ansible Handlers (Created page with "= Handlers= *Handlers are executed at the end of the play once all tasks are finished. In Ansible, handlers are typically used to start, reload, restart, and stop services. = Ansible Menu= Category:Ansible")
- 21:25, 13 July 2022 Bacchas talk contribs created page Ansible Variables (Created page with "=Ansible Variables= --- - name: setup apache ser er hosts: localhost vars: variablename: apache2 tasks: apt: name: "{{ variablename }}" state: present tags: i-apache -name: start apache service: name: "{{ variablename }}" state: started tags: start_apache2")
- 20:42, 12 July 2022 Bacchas talk contribs created page Ansible Tags (Created page with "=Ansible Tags= ''' Tags are the reference or alias to a task'''")
- 20:19, 12 July 2022 Bacchas talk contribs created page Ansible Roles by Application (Created page with "==Create Roles based on Applications== ===To Create Role=== cd /etc/ansible/roles * Make a Directory for each role Mkdir apache mkdir phpmyadmin mkdir tmux * Create sub-directory ''tasks''' within each directory Mkdir apache/tasks mkdir phpmyadmin/tasks mkdir tmux/tasks * Create yml file within these sub-directories touch apache/tasks/main.yml touch phpmyadmin/tasks/main.yml touch tmux/tasks/main.yml ==Write your yml file and install those apps == ---...")
- 15:57, 30 June 2022 Bacchas talk contribs created page Ansible Roles (Created page with "= Create Roles to organize playbooks= <code> --- - name: Install httpd package yum: name: httpd state: present - name: Start httpd service: name: httpd state: started - name: Open port for http firewalld: service: http permanent: true state: enabled - name: Restart firewalld service: name: firewalld state: reloaded </code>")
- 17:16, 29 June 2022 Bacchas talk contribs created page Python Copying File and Directories (Created page with "= Copying a single file= import shutil src_path = r"C:/Users/bacchas/Dropbox (Personal)/Filing Cabinet/Karaoke Stuff/newsongscode.txt" dst_path = r"C:/Users/bacchas/Dropbox (Personal)/All Folders/websites/linode_msites/rb222/newsongscode.txt" shutil.copy(src_path, dst_path) print('copied')")
- 19:54, 24 June 2022 Bacchas talk contribs created page Ansible Ad-Hoc Commands (Created page with " = Ansible Menu= Category:Ansible")
- 14:43, 24 June 2022 Bacchas talk contribs created page Category:Ansible (Created page with "Ansible")
- 14:42, 24 June 2022 Bacchas talk contribs created page Category (Created page with "Ansible")
- 15:54, 23 June 2022 Bacchas talk contribs created page Ansible User Commands (Created page with "=Create a user= --- - name: Playbook for creating users hosts: all tasks: - name: create user user: name: robert home: /home/robert shell: /bin/bash")
- 19:05, 22 June 2022 Bacchas talk contribs created page Ansible File Commands (Created page with "=Copy File to remote servers= --- - name: copy file from local to remote hosts: all tasks: - name: copy file copy: src: ~/photo.jpg dest: ~/ owner: root group: root mode: 0777")
- 20:33, 21 June 2022 Bacchas talk contribs created page Ansible General Commands (Created page with "* list content of hosts file ansible-inventory --list")
- 20:31, 21 June 2022 Bacchas talk contribs created page Ansible Setup (Created page with "* Download and install Miniconda: curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh **You will be prompted several times during the installation process. Review the terms and conditions and select “yes” for each prompt. *Restart your shell session for the changes to your PATH to take effect. exec bash -l *Create a new virtual environment for Ansible: conda create -n ansible-dev python=3 *Acti...")
- 16:00, 13 June 2022 Bacchas talk contribs created page Ansible (Created page with "* Download and install Miniconda: curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh **You will be prompted several times during the installation process. Review the terms and conditions and select “yes” for each prompt. *Restart your shell session for the changes to your PATH to take effect. exec bash -l *Create a new virtual environment for Ansible: conda create -n ansible-dev python=3 *Acti...")