What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-17 01:20:01
open google maps cycling navigation intent
Uri gmmIntentUri = Uri.parse("google.navigation:q=Taronga+Zoo,+Sydney+Australia"); Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);mapIntent.setPackage("com.google.android.apps.maps"); startActivity(mapIntent); Add solution -
Javascript 2022-03-16 22:45:14
nodejs gitignore
# Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json # Runtime data pids *.pid *.seed *.pid.lock # Directory for instrumented... Add solution -
Python 2022-03-16 21:15:19
python lunarcrush script
import urllib.requestimport sslimport jsonimport timeimport tweepyssl._create_default_https_context = ssl._create_unverified_contextapi_key = "API_KEY_HERE"# Allows adding as many coins as desiredcoin_list = [ "LTC", "ETH&qu... Add solution -
Other 2022-03-16 21:15:09
Flutter Github Actions Build and Deploy Web to Firebase Hosting, iOS to Testflight, Android to Google Play (fastlane)
name: CI on: push: branches: - master pull_request: branches: - master jobs: build_web: name: Build Flutter (Web) runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: subosito/flutter-action@v1 ... Add solution -
Python 2022-03-16 18:00:14
django import json
""" Import json data from URL to Datababse """ import requests import json from import_data.models import Movie #Import your model here from django.core.management.base import BaseCommand from datetime import datetime IMPOR... Add solution -
Kotlin 2022-03-16 13:50:04
okhttp kotlin example
val BASE_URL = "https://api.unsplash.com" val ACCESS_KEY = "..." val path = "/photos/$id" val uri = Uri.parse(BASE_URL) .buildUpon() .appendEncodedPath(path) //.appendPath(path) .build() val client = OkHttpC... Add solution -
Javascript 2022-03-14 16:10:08
google maps places autocomplete api
<input type="text"required id="autocomplete"> <script> function initAutocomplete() { new google.maps.places.Autocomplete( (document.getElementById('autocomplete')), {types: ['geocode']} ); } </s... Add solution