Notepad:Notepad: Difference between revisions
From Amar
Jump to navigationJump to search
→Zimbra: Renewal Problems with R3 |
Wireguard section |
||
Line 310: | Line 310: | ||
layout.css.devPixelsPerPx | layout.css.devPixelsPerPx | ||
to set the textsize on high res displays | to set the textsize on high res displays | ||
== Wireguard== | |||
=== [https://serverfault.com/questions/1013535/unable-to-configure-wireguard-to-use-secondary-ip-address-instead-of-main-ip-add Wireguard using a secondary interface with iptables help] | |||
---- | ---- | ||
{{wiki}} | {{wiki}} |
Revision as of 14:12, 14 July 2022
Unfiled
- Benchmarks
- PIX Capture
- genealogy site building
- iCalendar RFC
- Exeprian Benefits
- get a freelancer
- Visa Lottery
- PHP Test
- PHP Result
- How to set up favicon
- Quicken Payroll : ViewMyPaycheck Employees Menu > Manage Payroll Cloud Services > CHECK the ViewMyPaycheck box > Enter the PIN > click Save Changes. That's it!
- Thunderbird User CSS in userChrome.css (roaming profile)
#threadTree treechildren::-moz-tree-row(odd) { -moz-appearance: none !important; background-color: #your_color_here !important; } #threadTree treechildren::-moz-tree-row(odd, selected) { background-color: Highlight !important; }
Windows
- Prevent Reboots
- The Windows Update Patch
- Wrap up background Tasks
- Notepad:WindowsTime Windows Time Service and Internet Communications
- Join Samba 3 to your Active Directory Domain
- Missing Media Player in Vista/Firefox
- rearm Vista
slmgr.vbs -rearm
- Windows DNS security hack
- Media Center patch for Vista
- Sysinternals for windows
- Debugging Tools for Windows
- How to reset the Domain Admin Password under Windows 2003 Server
- Install Windows 7 on USB
- Notepad:Rejoin Domain
- Notepad:Enable Num Lock
- Task Manager at 100%
C:\WINDOWS\system32>PowerCfg /SETACVALUEINDEX SCHEME_CURRENT SUB_PROCESSOR IDLEDISABLE 000 C:\WINDOWS\system32>PowerCfg /SETACTIVE SCHEME_CURRENT
DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:F:\Sources\Install.wim:1 /LimitAccess DISM /Online /Cleanup-Image /RestoreHealth /source:F:\sources /LimitAccess
- SSL Security Best Practices Nartac IISCrypto
- Fix Mapped Network Drive Disconnect
- Notepad:Fix Windows Directory Permissions
URLs
- Ajax Howto
- Special Alt Keys & Accents
- Keynote Internet Health Report
- Global Wholesalers Sattelite
- F2 ATV Sat code
- The Tiny Encryption Algorithm (TEA)
- Water Cooling
- Motorola USB drivers
- SSL Labs SSL cert check
- DNSSEC Analyzer
- Google DNS test
Linux Tricks
Linux stuff I often have to lookup. Just my personal list of things.
- NFS unload filesystem
- mysql slave skip error
- GRUB install
- Domain Keys
- Change Timezone
- Gigabit Network
- Syncookie
- Local Mount
- SWAP
- depmod
- Chain of IP addresses
- Xterm startup with different colors and font sizes
- Notepad:RPM - YUM Platform
- In place upgrade of Fedora Core by yum
- CentOS / Red Hat Linux: Install and manage iSCSI Volume
- Configure a LDAP directory service
- NetworkManager Configuration
- Accessing IMAP email accounts using telnet.
- Enable service syslog to have /var/log/messages populated
- Force a disk check on reboot
shutdown -rF now
- Create a network bridge for Virtual Machines
- Upgrade CentOS 4 to 5
- Create a CRT for an SSL certificate
- Properly configure Samba on Linux
- Postfix config
- Use wget to download full website
- Converting a running physical machine to a kvm virtual machine
- Generate XAUTH on a new host
xauth add `hostname`/unix:0 . `openssl rand -hex 32`
- yum versionlock - allows to lock an rpm
- install faster random for dns etc.
yum install haveged; systemctl enable haveged; systemctl start haveged
sudo visudo -f /mnt/etc/sudoers
- Converting a running physical machine into a KVM virtual machine
- Which Process is listening on a port
netstat -tulpn
- Recover GRUB 2
- Install all package from another machine
xargs yum -y install < file
- Create Default Home Directory
mkhomedir_helper username
- Schedule crontab with lock
- Configure UPS shutdown frmo Linux with nut
- Midnight Commander
- Nagios
- Google Authenticator Setup
- Boot from Centos 7 RAID 1 EUFI
- Create a directory under var at boot or startup
use tmpfiles.d and have your package create at startup or boot a file or directory /usr/lib/tmpfiles.d/mydaemon.conf : man tmpfiles.d #Type Path Mode UID GID Age Argument d /run/mydaemon 0755 myuser myuser - -
- lm_sensors
- Change systemd Timeout
- Google Authenticator Across Servers
- Yum install with missing deps
rpm -Uvh --nodeps $(repoquery --location <module>)
- LVM Snapshot
- Example routing iptables firewall
- Disable IPv6
- find the right device for smartctl
- ssh into a machine without a terminal -T
- Clean Out Journal
sudo journalctl --vacuum-time=3weeks
MySQL
- UTF8
- Get a list of processes to kill
SELECT GROUP_CONCAT(CONCAT('KILL ',id,';') SEPARATOR ' ') 'Paste the following query to kill all processes' FROM information_schema.processlist WHERE user<>'system user'
- install latest MariaDB
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
- Move/Rename a DB to another
mysql -u username -ppassword old_db -sNe 'show tables' | while read table; \ do mysql -u username -ppassword -sNe "rename table old_db.$table to new_db.$table"; done
- database dump without charset
mysqldump -u <user> -p --skip-add-locks --skip-set-charset <DB> <tables ...>
- Disable foreign key checks in a session
SET FOREIGN_KEY_CHECKS=0;
SSL Certificates
Version Control
- Understanding git conceptually
- SVN Create New Repository with branches
- make a file executable in git (+x)
git update-index --chmod=+x filename.sh
Oracle
- Oracle Build Custom Aggregate Function
- Oracle Timer
- Oracle Pin in memory
- Oracle View Performance
- Oracle Pagination
SC Backup
Matricom gBox Q
KVM
QNAP
Zend Framework
Video ffmpeg
Convert wmv to mp4
ffmpeg -i <input> -c:v libx264 -c:a aac -strict -2 -q:a 100 -crf 23 <output>
Zimbra
- Automatic Zimbra certbot
- Zimbra letsencrypt
- Zimbra DKIM
- Zimbra Letsencrypt SSL Renew
- Zimbra Let's encrypt
- Zombra renewal - Problems with R3
Working with the following for chain.pem:
-----BEGIN CERTIFICATE----- MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChM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qKOJ2qxq 4RgqsahDYVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPA mRGunUHBcnWEvgJBQl9nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57d emyPxgcYxn/eR44/KJ4EBs+lVDR3veyJm+kXQ99b21/+jh5Xos1AnX5iItreGCc= -----END CERTIFICATE-----
AWS
- AWS Letsencrypt Manual Setup
- Load balance instances to 1
- Generate new cert
letsencrypt certonly --webroot -w /var/www/mydomain -d mydomain.com -d www.mydomain.com -w /var/www/cool-site -d cool-site.com -d www.cool-site.com
- deploy new cert to all
- upload into AWS *Load Balance* *Listeners* *SSL Certificate* (We get a weird error but it works)
- Load balance instances back to all
Hackintosh
pmset -g assertions
These are the steps
- replacing the drivers > UEFI > AptioMemoryFix.efi with OpenRuntime.efi
- Also, add OcQuirk.efi (More Info: https://github.com/ReddestDream/OcQuirks)
- select: config.plist/Quirks > DisableIoMapper
- 10GbE Support Marvel Aquantia 10GBE patch
Kext to patch com.apple.driver.AppleEthernetAquantiaAqtion Find 41C70424 00000000 E9 Replace 41C70424 01000000 E9 comment Marvell AQC107 10GBE Patch
- Monterey 10GBE Patch by Mieze Monterey Patch by Mieze
We've got to modify the patch.
You need to find 41 c7 45 00 00 00 00 00 e9 and replace it with 41 c7 45 00 01 00 00 00 e9
Firefox
about:config
layout.css.devPixelsPerPx
to set the textsize on high res displays
Wireguard
=== Wireguard using a secondary interface with iptables help
<insert>googlesearchwiki</insert> | <insert>paypal</insert> | <insert>analytics</insert> |