What do you want to save?
Add Code snippet
New code examples
-
Html 2022-03-27 11:20:29
toggle dark mode javascript
<style> body { background-color: white; color: black; } /* DARK MODE */ .dark-mode{ background-color: black; color: white; } </style> <button class="nav-item"><a role="button" onclick="darkmode()... Add solution -
Shell/Bash 2022-03-27 09:45:49
terraform env variables
#Terraform Environment Variables:- export TF_CLI_CONFIG_FILE="$HOME/.terraformrc-custom" export TF_INPUT=0 export TF_LOG_PATH=./terraform.log export TF_LOG=TRACE TF_CLI_ARGS="-input=false" terraform apply -force is the equivalent to ... Add solution -
Other 2022-03-27 08:20:18
basic java interview questions
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
Javascript 2022-03-27 08:05:04
express req get json
const express = require('express'); const app = express(); app.use(express.json()); app.post('*', (req, res) => { req.body; // The json object sent to the server }); const port = 3000; app.listen(port, () => console.log(`Listening on port ${port... Add solution -
Other 2022-03-27 08:00:11
flutter get image file from assets
import 'dart:async'; import 'dart:io'; import 'package:flutter/services.dart' show rootBundle; import 'package:path_provider/path_provider.dart'; Future<File> getImageFileFromAssets(String path) async { final byteData = await rootBundle.load('as... Add solution -
-
Other 2022-03-27 07:25:32
adding redirect_uri in octorate testing
In the following example you will find a param that is called redirect_uri, that uri needs to be whitelisted from Octorate. So write [email protected] asking for add the page you can host on your website. This step in mandatory to go in producti... Add solution -
Python 2022-03-27 07:20:02
if else python pandas dataframe
# create a list of our conditions conditions = [ (df['likes_count'] <= 2), (df['likes_count'] > 2) & (df['likes_count'] <= 9), (df['likes_count'] > 9) & (df['likes_count'] <= 15), (df['likes_count'] > 15) ] #... Add solution
Best helpers
Bob R Bogle
+5
Eric Vought
+5
James Song
+5
Fishbean
+5
Mai Rose
+5
Cpurick
+5
Puneet Goel
+5
Bunch
+5
Rainbow
+5
Gruppetto
+5
Katboodle
+5
Vidhi Patel
+5
Buttercup
+5
Bin Nguyễn
+5