What do you want to save?
Add Code snippet
New code examples
-
Ruby 2022-01-26 05:15:04
rails tailwind template
# Get a minimal rails app ready to be deployed on Heroku with Tailwind, Simple form and debugging gems. $ rails new \ --database postgresql \ --webpack \ -m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/minimal.rb \ CHA... Add solution -
Other 2022-01-23 10:45:11
how to migrate zookeeper
# https://gist.github.com/iameugenejo/d101d01e1002b95076d5b762d4b3405d # migrating 3-node zookeeper cluster to a new 3-node cluster # o1, o2, o3 = old zk nodes, assume o1 is the leader # n1, n2, n3 = new zk nodes # quorum: minimum number of healhty nodes ... Add solution -
Shell/Bash 2022-01-23 04:20:20
ubuntu apt shortcuts
# 1. Explore readme at https://gist.github.com/juliyvchirkov/7ee6591b9744c36fa9ab73a1ca2ef544 # 2. Paste this commands sequence to your console # 3. Execute # 4. All done. Save your time typing 'apt i' / 'apt lu' instead of 'sudo apt # install' / 'sudo... Add solution -
Shell/Bash 2022-01-23 01:46:37
Which dotfile manager should I use for linux
Wynn Netherland and Adam Jahnke have written a comprehensive comparison of common dotfile management systems for this type of question: https://dotfiles.github.io/ The specific manager you choose depends on your personal preferences, and how you alrea... Add solution -
Python 2022-01-22 18:10:21
plotly dash covid app
baseURL = "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/"def loadData(fileName, columnName): data = pd.read_csv(baseURL + fileName) \ .drop(['Lat', 'Long'], axis=1) ... Add solution