What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 09:06:02
bash perform operation on all files in directory
# Basic syntax: find . -maxdepth 1 -type f -exec your_command {} \; # Where: # - . specifies the current directory (this can be changed to any # directory) # - -maxdepth 1 prevents find from searching directories recursively # - -type f specifies that th... Add solution -
Shell/Bash 2021-08-30 07:43:02
install composer on linux
# The following method has been tested on Ubuntu 20.04 # But i think it should work fine with any other distribution # Ensure you're on Desktop, to prevent issues with permissions cd ~/Desktop # Download the installer script php -r "copy('https://g... Add solution -
Other 2021-08-30 06:16:02
how to add jupyter notebook
documentWriteIdFor='eventListener'; Add solution -
Html 2021-08-30 03:09:02
html timestamp
<!DOCTYPE html> <html> <body> <h1>Event timeStamp</h1> <p>Click the button to get the number of milliseconds from this document was loaded until the button was clicked.</p> <button onclick="myFunction(e... Add solution -
Python 2021-08-30 02:42:02
thread stop python
# Python program using # traces to kill threads import sys import trace import threading import time class thread_with_trace(threading.Thread): def __init__(self, *args, **keywords): threading.Thread.__init__(self, *args, **keywords) self.kil... Add solution -
Python 2021-08-29 23:53:01
convert c++ to python online
#include "stdafx.h" #include <iostream> #include <Windows.h> #include <time.h> using namespace std; int main() { cout << "===============================================================================" ... Add solution -
Python 2021-08-29 23:36:01
firestore search query flutter
import 'package:flutter/material.dart'; import 'package:firebase_database/firebase_database.dart'; import 'package:firebase_database/ui/firebase_animated_list.dart'; class Db extends StatefulWidget { @override HomeState createState() => HomeState(... Add solution -
Javascript 2021-08-29 23:11:01
javascript event listener checkbox
//js var checkbox = document.querySelector("input[name=checkbox]"); checkbox.addEventListener( 'change', function() { if(this.checked) { // Checkbox is checked.. } else { // Checkbox is not checked.. } }); //jquery ... Add solution -
Other 2021-08-29 22:55:01
google place api online example
// This example displays an address form, using the autocomplete feature // of the Google Places API to help users fill in the information. function fillInAddress() { // Get the place details from the autocomplete object. var place = autocomplete.get... Add solution