What do you want to save?
Add Code snippet
New code examples
-
Html 2022-02-25 06:50:19
access to image at from origin
//use crossorigin="anonymous" sttribute in img tag <img src="https://upload.wikimedia.org/wikipedia/commons/f/f9/Phoenicopterus_ruber_in_S%C3%A3o_Paulo_Zoo.jpg" id="external-flamingo" crossorigin="anonymous"> Add solution -
Python 2022-02-24 10:05:20
base template
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no... Add solution -
Html 2022-02-21 18:45:15
font awesome 5
https://fontawesome.com/icons?d=gallery&p=2 <!DOCTYPE html> <html> <head> // Font Awesome cdn link <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"... Add solution -
Javascript 2022-02-20 04:40:15
convert an image into Base64 string using JavaScript
function getBase64Image(src, callback, outputFormat) { const img = new Image(); img.crossOrigin = 'Anonymous'; img.onload = () => { const canvas = document.createElement('canvas'); const ctx = canvas.getContext('2d'); ... Add solution -
Go 2022-02-19 17:50:01
signIn google firebase flutter
import 'package:firebase_auth/firebase_auth.dart'; import 'package:google_sign_in/google_sign_in.dart'; final FirebaseAuth _auth = FirebaseAuth.instance; final GoogleSignIn googleSignIn = GoogleSignIn(); Future<String> signInWithGoogle() async { ... Add solution -
Other 2022-02-14 04:30:02
bootstrap 4.0
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> Add solution -
Javascript 2022-02-09 23:15:15
como utilizar jquery
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Uso de Jquery</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <... Add solution -
Other 2022-02-06 14:25:04
Bootstrap 4.5 cdn css
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> Add solution -
Kotlin 2022-02-05 17:40:31
kotlin function literal
val add: (Int, Int) -> Int = { i, j -> i + j } // Simple lambda expression val printAndDouble: (Int) -> Int = { println(it) // When single parameter, we can reference it using `it` it * 2 // In lambda, last expression is returned } // Anonymou... Add solution