Author:
erics, November 24th, 2022
PROBLEM: Unable to sign out of iCloud on OSX Yosemite or disable Keychain SOLUTION: Delete the following, then reboot:
|
~/Library/Application Support/iCloud/ ~/Library/Preferences/Mobile*.plist |
Categories: Technology Tags: 10.10.5, Delete, Error, howto, iCloud, Library, macosx, OSX, plist, Preferences, Remove, tips, Yosemite
|
No comments
Author:
erics, August 3rd, 2020
|
convert BIA_Plate_Number_Checklist_1-20000.pdf[0-819] new.pdf |
Categories: How-To's, Technology Tags: convert, howto, ImageMagick, PDF, Remove, tips
|
No comments
Author:
erics, May 7th, 2020
I wanted to empty the time series data cache from the Prometheus server to start clean. The best practice is to use the administrative HTTP API via curl. For example, to clear all data for job mysqld as defined in the prometheus.yml configuration file:
|
curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={job="mysqld"}' |
If you want to delete ALL data from Prometheus, then […]
Categories: How-To's, Technology Tags: Cache, Clear, Curl, Delete, Empty, howto, Prom, Prometheus, Remove, tips
|
No comments
Author:
erics, March 27th, 2020
Quit Skype From your Applications folder, drag the Skype icon into the Trash In the top Finder menu, select Go -> Go to Folder… or press Shift-Command-G to bring up the “Go to the folder” prompt Open ~/Library/Application Support and drag “Skype Helper” to the Trash Open ~/Library/Application Support/Microsoft and drag “Skype for Desktop” to […]
Categories: How-To's, Technology Tags: apple, Delete, delete skype, howto, MacOS, Remove, remove skype, Skype, skype for mac, tips
|
No comments
Author:
erics, November 24th, 2019
xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
Categories: How-To's, Technology Tags: apple, attr, Attribute, Change, com.apple.quarantine, comacast, Delete, directory, howto, MacOS, macosx, Quarantine, Remove, Terminal, tips, Tree, xattr
|
No comments
Author:
erics, May 31st, 2019
Quickref: How to Remove a file from the staging area
|
git rm --cached {fileName(s)} |
The Story Recently, I accidentally added some files to git’s pre-commit phase, i.e.:
|
shell> git status On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: good1.xml new file: good2.xml new file: bad1.xml new file: bad2.xml modified: good3.xml modified: bad3.xml |
For example, here is how to handle the above situation:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
shell> git rm --cached bad1.xml bad2.xml bad3.xml shell> git status On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: good1.xml new file: good2.xml modified: good3.xml Untracked files: (use "git add <file>..." to include in what will be committed) bad1.xml bad2.xml bad3.xml |
To better understand, here are the phases/states/stages that git uses: Untracked – when a file is first created, git […]
Categories: How-To's, Technology Tags: Cache, commit, committed, git, howto, modified, Remove, staged, staging, tips, untracked
|
No comments
Author:
erics, January 9th, 2018
To remove a specific package without its dependencies use rpm:
|
rpm -qa | grep pecl rpm -e --nodeps php55-pecl-jsonc php55-pecl-jsonc-devel |
As always, YMMV!
Categories: How-To's, Technology Tags: Dependencies, Deps, Erase, howto, nodeps, Package, Remove, RPM, tips, Yum
|
No comments
Author:
erics, August 22nd, 2013
In Terminal:
|
sudo mv /Library/Preferences/SystemConfiguration/com.apple.network.eapolclient.configuration.plist /Library/Preferences/SystemConfiguration/com.apple.network.eapolclient.configuration.plist.good |
Then reboot. YMMV… This is why I am so upset with Apple these days – they constantly “dumb-down” MacOSX, removing features to “protect” the innocent public from harming themselves with the click of a mouse. Perfectly reasonable advanced features that existed in 10.6.8 are no-where to be found in 10.7 Lion (bad) […]
Categories: How-To's, Technology Tags: 802.1X, Delete, howto, Lion, macosx, OSX, Profile, Remove, tips
|
1 comment
Author:
erics, November 21st, 2012
Do it locally:
|
git branch -d yourBranchName |
Deleted branch yourBranchName (was 340c10d). Do it remotely, and please note the : below! (replace origin with your repo, if different)
|
git push origin :yourBranchName |
To git.yourServer.com:/repos/yourProject.git – [deleted] yourBranchName
|
git push origin --delete yourBranchName |
Categories: How-To's, Technology Tags: Branch, Delete, git, howto, Push, Remove, Repo, tips
|
No comments
Author:
erics, July 11th, 2011
I was having issues with jQuery UI dialogs being hidden and not fully removed. Had same issues with both native dialog and the dialogwrapper plugin. The following code would hide, but not fully remove the div, for whatever reason:
|
jQuery(this).dialog('destroy'); |
So this is what I used instead:
|
jQuery('#'+this.id).remove(); |
!! UPDATE: After being coached by the […]
Categories: How-To's, Technology Tags: Destroy, Dialog, dialogWrapper, howto, JQuery, jQuery UI, Remove, tips
|
No comments