Search
 
SCRIPT & CODE EXAMPLE
 

MATLAB

zsh corrupt history file

#!/usr/bin/env zsh
# George Ornbo (shapeshed) http://shapeshed.com
# License - http://unlicense.org
#
# Fixes a corrupt .zsh_history file

mv ~/.zsh_history ~/.zsh_history_bad
strings ~/.zsh_history_bad > ~/.zsh_history
fc -R ~/.zsh_history
rm ~/.zsh_history_bad
Comment

PREVIOUS NEXT
Code Example
Basic :: mongodb command remove by _id 
Basic :: cmd cant change directory 
Basic :: excel vba chck that the range is empty 
Basic :: pmatplotlib draw a square with a magenta dotted line and pentagon markersython matplotlib overlaped 
Basic :: basic authentication in REST api Dajngo 
Basic :: visual basic how to determine if an array already contains an item 
Basic :: API Key Authentication, Basic , Pasword Grant, Client Credentials 
Basic :: shortcut to rename the file on lenovo s340 
Elixir :: elixir check type data 
Elixir :: elixir list map key string to atom 
Elixir :: elixir check is nil 
Elixir :: elixir list 
Scala :: scala enum 
Scala :: Category Theory laws in scala 
Scala :: scala string get char 
Actionscript :: vivo y11 not connecting to wifi after update 
Excel :: google sheets count dates that fall within date range 
Excel :: google sheets refer to another sheet in conditional formatting 
Perl :: append string perl 
Pascal :: print in pascal 
Powershell :: CMD & Powershell History 
Gdscript :: godot find_node() 
Abap :: what is the interface between the abap dictionary and the underlying database management system 
Assembly :: ror loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state.. 
Assembly :: re optional 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: filesaver.min.js cdn 
Javascript :: ajax cdn 
Javascript :: How to get the browser to navigate to a URL in JavaScript 
Javascript :: how to find number in string js 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =