What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-03-17 00:00:11
mysqli_select_db expects 2 parameters
//do the correction as below: $conn = mysqli_connect('localhost', 'root', ''); //the first thing that you have to pass connection variable in the select_db as first parameter. as below. mysqli_select_db($conn,'altislife-dev'); //also you have to pass c... 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-10 03:40:10
how to make a morse code translator in python
import time eng_to_morse = { 'a' : '.-', 'b' : '-...', 'c' : '-.-.', 'd' : '-..', 'e' : '.', 'f' : '..-.', 'g' : '--.', 'h' : '....', 'i' : '..', 'j' : '.---', 'k' : '-.-', 'l' : '.-..', 'm' : '--', 'n' : '-.', 'o' : '---', 'p' : '.--.', 'q' : '--.-'... Add solution -
Python 2022-03-09 14:45:13
selenium finding elements
from selenium import webdriver chrome_driver_path = 'C:\Development\chromedriver.exe' driver = webdriver.Chrome(executable_path=chrome_driver_path) driver.get('https://www.python.org') name = driver.find_element_by_name('q') print(name.get_attribute('p... Add solution