January 22, 2021April 4, 2021uncategorized jenkins: api calls to delete failed builds curl -X POST http://jenkinUser:jenkinAPIToken@yourJenkinsURl.com/job/theJob/[11-1717]/doDelete
January 7, 2021uncategorized jenkins: scripts to locate shell commands locate config.xml | grep '/var/lib/jenkins' grep -R '/home/Scripts/' /var/lib/jenkins/jobs/ | grep config.xml
December 23, 2020April 4, 2021uncategorized mysql: set primary key and autoincrement ALTER TABLE XXXXXX ADD PRIMARY KEY (ID); ALTER TABLE XXXXXX MODIFY id int NOT NULL AUTO_INCREMENT; ALTER TABLE proxy_ips ADD UNIQUE […]
December 21, 2020December 21, 2020uncategorized apache: mod_rewrite not affecting my directory The .htaccess on my local directory is not being considered. if this is the case go to: go to /etc/apache2/apache2.conf […]
December 19, 2020July 19, 2022uncategorized python: imaplib - no way to sort feched uids by date - office365's fault One could instinctively think that when you search your emails using imaplib as per below, and you get a list of all […]
December 13, 2020uncategorized powershell: office365 create global rule not to send read receipts New-TransportRule -RemoveHeader 'Disposition-Notification-To' -Name 'Disable Read Receipt' -StopRuleProcessing:$false -Mode 'Enforce' -Comments ' ' -RuleErrorAction 'Ignore' -SenderAddressLocation 'Header'
December 12, 2020December 12, 2020uncategorized office365: disable read receipts on admin console https://support.archiver.gfi.com/hc/en-us/articles/360015215999-Configuring-Rule-to-Delete-Read-Receipts-for-Emails-Sent-by-Journaling-Mailbox-in-Office-365
December 5, 2020April 18, 2021uncategorized mysql: create super user with access to all tables CREATE USER 'username' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'username'@'%'; caching_sha2_password problem CREATE USER ''@'your_server_ip ' […]