What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-25 00:45:19
install docker on mac
$ brew install docker docker-machine$ brew cask install virtualbox-> need password-> possibly need to address System Preference setting$ docker-machine create --driver virtualbox default$ docker-machine env default$ eval "$(docker-machine env d... Add solution -
PHP 2022-02-24 14:30:02
how to programmatically set a cron job in php
//The stackoverflow link with detailed explanation https://stackoverflow.com/questions/23544851/how-to-set-up-a-cron-job-programmatically // Create a cron job require_once 'xmlapi.php'; /* * Instanciate the class, setting up username/password/IP * @... Add solution -
Other 2022-02-22 18:05:02
what is http interface
The HTTP Interface exposes a set of API endpoints that accept parameters & JSON payloads and return JSON results. These may be called from any program capable of making an HTTP request and decoding the JSON format used for responses (e.g., C++, C#,... Add solution -
Python 2022-02-22 17:15:03
spacy tokenize
# Construction 1 from spacy.tokenizer import Tokenizer from spacy.lang.en import English nlp = English() # Create a blank Tokenizer with just the English vocab tokenizer = Tokenizer(nlp.vocab) # Construction 2 from spacy.lang.en import English nlp = Engl... Add solution -
Python 2022-02-21 03:55:27
django psql setup
This gist I write, because I couldn't find step by step instructions how to install and start postgresql locally and not globally in the operating system (which would require sudo). I hope, this will help especially people new to postgresql! ##########... Add solution -
Java 2022-02-20 00:15:49
how to make background image transparent in android studio
android:backgroundTint="#80FFFFFF" android:backgroundTintMode="src_over" >>for setting background as transparent in android studio(only bg) android:alpha="0.4" >>for all views Add solution