What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-17 02:15:15
how to use file watcher in c#
private void watch() { FileSystemWatcher watcher = new FileSystemWatcher(); watcher.Path = path; watcher.NotifyFilter = NotifyFilters.LastWrite; watcher.Filter = "*.*"; watcher.Changed += new FileSystemEventHandler(OnChanged); watche... Add solution -
Python 2022-03-17 01:25:17
tensorflow lite raspberry pi object detection using usb webcam
import time import re import numpy as np from tflite_runtime.interpreter import Interpreter import cv2 CAMERA_WIDTH = 640 CAMERA_HEIGHT = 480 def load_labels(path): """Loads the labels file. Supports files with or without index number... 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 -
Other 2022-03-16 20:10:09
view pdf file online without downloading using codeigniter
header("Content-Length: " . filesize ('theme/assets/pdf/ci.pdf' ) ); header("Content-type: application/pdf"); header("Content-disposition: inline; filename=".basename('theme/assets/pdf/ci.pdf')); header('Expires: 0'); ... Add solution -
TypeScript 2022-03-16 19:50:16
good candidates for automation
Tests that should be automated: Business critical paths - the features or user flows that if they fail, cause a considerable damage to the business. Tests that need to be run against every build/release of the application, such as smoke test, sanity tes... Add solution -
Python 2022-03-16 19:25:03
download files from azure blob storage python
# Download the blob to a local file # Add 'DOWNLOAD' before the .txt extension so you can see both files in the data directory download_file_path = os.path.join(local_path, str.replace(local_file_name ,'.txt', 'DOWNLOAD.txt')) print("\nDownloading bl... Add solution