What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-24 14:25:01
how to find the no of user for a wifi using python for ubuntu
""" Search for a specific wifi ssid and connect to it. written by kasramvd. """ import os class Finder: def __init__(self, *args, **kwargs): self.server_name = kwargs['server_name'] self.password = kwarg... Add solution -
PHP 2022-02-18 03:30:22
csv upload query in php
<?php // Load the database configuration file include_once 'dbConfig.php'; // Get status message if(!empty($_GET['status'])){ switch($_GET['status']){ &... Add solution -
CSS 2022-02-16 05:40:39
Sample of stripe billing html css code
let Stripe = () => {} let stripeClient = Stripe(key); let stripeElements = stripeClient.elements() let stripeCardElement = stripeElements.create('card', { style: { base: { fontSize: '16px', fontFamily: 'Lato, "Helvetica Neue&quo... Add solution -
Python 2022-02-16 01:30:06
json and python login system
import json print("LoginSystem @mvtthis") myRL = input("Login or Register?") if myRL == "Register": User = input("Username:") PW = input("Password:") PW1 = input("Confirm Password:&qu... Add solution -
PHP 2022-02-13 17:50:10
auto generate table of contents php
<?php function TableOfContents($depth) /*AutoTOC function written by Alex Freeman * Released under CC-by-sa 3.0 license * http://www.10stripe.com/ */ { $filename = __FILE__; //read in the file $file = fopen($filename,"r"); $html_str... Add solution -
Other 2022-02-12 13:05:08
preg_replace examples
$result = preg_replace('/abc/', 'def', $string); # Replace all 'abc' with 'def' $result = preg_replace('/abc/i', 'def', $string); # Replace with case insensitive matching $result = preg_replace('/\s+/', '', $string); # Strip all whitespaces Add solution