What do you want to save?
Add Code snippet
New code examples
-
Matlab 2022-02-03 10:21:25
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_h... Add solution -
Other 2022-02-02 22:01:14
0xf8686d8822472af9414f2cbecc7e908800fc1468.csv
https://api.etherscan.io/api?module=account&action=tokenbalancehistory&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761&blockno=8000000&ap... Add solution -
Other 2022-02-02 20:00:08
threads in os
A thread is a flow of execution through the process code, with its own program counter that keeps track of which instruction to execute next, system registers which hold its current working variables, and a stack which contains the execution history. A... Add solution -
Javascript 2022-02-02 19:51:32
select everything but an element in react
import reactDom from "react-dom"; import history from "../history"; const Modal = () => { return reactDom.createPortal( <div onClick={() => history.push("/")} className="ui dimmer modals visib... Add solution -
Other 2022-02-02 07:46:36
ncbi protein database download
use LWP::Simple;$query = 'chimpanzee[orgn]+AND+biomol+mrna[prop]';#assemble the esearch URL$base = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/';$url = $base . "esearch.fcgi?db=nucleotide&term=$query&usehistory=y";#post the esearch UR... Add solution -
Python 2022-02-02 05:26:43
learningrate scheduler tensorflow
tf.keras.callbacks.LearningRateScheduler( schedule, verbose=0) # This function keeps the initial learning rate for the first ten epochs # and decreases it exponentially after that. def scheduler(epoch, lr): if epoch < 10: return lr else: ... Add solution -
Other 2022-02-01 08:02:01
chrome scrolls down on reload
history.scrollRestoration = 'manual'; Add solution