Cabdale YareH channel

All generations.

regex explanationSat, 11 Feb 2023

what is the software eng

![](https://raw.githubusercontent.com/kwsch/pik/master/pik.png) *The `/` characters define the beginning and end of the regex.* ## Features * Optionally supports [PCRE](http://php.net/manual/en/book.pcre.php) syntax * Automatic marking of matched text * Manual marking of text * Manual replacement / replacement preview * Automatic replacement * Automatic comment-based replacement with `>` and `<` * Tools for writing and testing regular expressions * Built-in list of common regular expressions (with descriptions) * Unlimited undo/redo * Viewing of sublime-style [capture groups](http://doc.qt.io/qt-5/qregularexpression.html#capturedTexts) * Viewing of [PCRE capture groups](http://www.regular-expressions.info/captureall.html) and backreferences * Opens files from command-line and via drag & drop * Loads and saves projects * Internal clipboard * Copy & paste of

from regestration

<div class="container" id="main"> <h1>Sign up</h1> <form> <div class="form-group"> <label for="username">UserName</label> <input type="text" class="form-control" id="username"> </div> <div class="form-group"> <label for="password">Password</label> <input type="password" class="form-control" id="password"> </div> <div class="form-group"> <label for="fullname">Full Name</label> <input type="text" class="form-control" id="fullname"> </div> <div class="form-group"> <label for="email">Email</label> <input type="email" class="form-control" id="email"> </div> <button type="button" class="btn btn-primary">Submit</button> </form> </div>

typingsSun, 12 Feb 2023

gym management system

class Student: def __init__(self, name, age): self.name = name self.age = age self.weight = 100 def work_out(self): self.weight -= 1 def eat(self): self.weight += 1 def __str__(self): return f"{self.name} is {self.age} years old and weights {self.weight} kilos" student1 = Student("Rado", 20) student2 = Student("Ivo", 21) student3 = Student("Ivan", 20) print(student1) print(student2) print(student3) student1.eat() student2.work_out() print(student1) print(student2)

generate functionSun, 12 Feb 2023

code game python

def guess_the_number(guess): if guess < 5: return 'Oops! Your guess was too low.' if guess > 5: return 'Oops! Your guess was too high.' if guess == 5: return 'Good job! Your guess was just right.'

Python
View
time complexitySun, 12 Feb 2023

One company deploying iPhones has stated, “The iPhone is not a game changer, it’s an industry changer. It changes the way that you can interact with your customers” and “with your suppliers.” Discuss the implications of this statement.?

## Anagrams ## Arrays ## Binary Search ## Bit Manipulation ## Brain Teasers ## Debugging ## Dynamic Programming ## Enumeration ## Graphs ## Hash Tables ## Hashing ## Heaps ## Linked List ## Math ## Recursion ## Sorting ## Stacks ## Strings ## System Design ## Trees ## Two Pointers ## Testing ## Trie ## Two Heaps ## Two Pointers ## Two Sum ## Union Find

testsSat, 11 Feb 2023

what is software eng

import unittest class TestWhatIs(unittest.TestCase): def test_what_is(self): self.assertEqual(what_is_software_eng(), "a profession that involves the development of computer software")

time complexitySun, 12 Feb 2023

One company deploying iPhones has stated, “The iPhone is not a game changer, it’s an industry changer. It changes the way that you can interact with your customers” and “with your suppliers.” Discuss the implications of this statement.?

The iPhone as well as the iPad are mobile devices that allow a company to reach its customers and suppliers anywhere, at anytime. Customers can access information about items for sale and even make online purchases. Companies can also use their iPhones to reach their suppliers and request information about the supplies that they need.

time complexitySun, 12 Feb 2023

what is the software eng?

software eng is the application of a systematic, disciplined, quantitative approach to the development, operation, and maintenance of software; that is, the application of engineering to software

fix invalid codeSun, 12 Feb 2023

from regestarion database in php

php <?php $sql = "SELECT * FROM `users`"; $result = $conn->query($sql); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { echo "id: " . $row["id"]. " - Name: " . $row["firstname"]. " " . $row["lastname"]. "<br>"; } } else { echo "0 results"; } $conn->close(); ?>

from regestration bootstarap database

<div class="container"> <form action="registrations.php" method="post"> <div class="form-group"> <label for="email">Email address</label> <input name="email" type="email" class="form-control" id="email" placeholder="Enter email"> </div> <div class="form-group"> <label for="password">Password</label> <input name="password" type="password" class="form-control" id="password" placeholder="Password"> </div> <div class="form-group"> <label for="passwordConfirmation">Password Confirmation</label> <input name="password_confirmation" type="password" class="form-control" id="passwordConfirmation" placeholder="Password Confirmation"> </div> <button type="submit" class="btn btn-primary">Submit</button> </form> </div>

css from descriptionSat, 11 Feb 2023

from in php login username and password

<?php session_start(); $_SESSION['user'] = 'username'; $_SESSION['pass'] = 'password'; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Login</title> </head> <body> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <input type="text" name="user" id="user" placeholder="Username"> <input type="text" name="pass" id="pass" placeholder="Password"> <input type="submit" name="submit" id="submit" value="submit"> </form> </body> </html> <?php if(isset($_POST['submit']

time complexitySun, 12 Feb 2023

One company deploying iPhones has stated, “The iPhone is not a game changer, it’s an industry changer. It changes the way that you can interact with your customers” and “with your suppliers.” Discuss the implications of this statement.?

The iPhone is a game changer because anyone can use it. It has no complicated parts and has a user-friendly interface. It is also very easy to contact your suppliers because everyone has a cellphone and a supplier can contact you on the go. Even your customers can contact you on the go if you give them your cellphone number

time complexitySun, 12 Feb 2023

What kinds of applications are described here? What business functions do they support? How do they improve operational efficiency and decision making?

### Presentation - Slides (deck) - Script (notes) - Hints (for the presenter) ### Homework - [Python: Introduction](https://github.com/hft-stuttgart-ai/python-intro) ## Python **Python** is a programming language created by Guido van Rossum in 1991. > Python is an interpreted, high-level, general-purpose programming language. - [python.org](https://www.python.org/) ## Python - [Python 3](https://www.python.org/downloads/) - [Anaconda](https://www.anaconda.com/distribution/)

time complexitySun, 12 Feb 2023

what is the computer?

a computer is a machine that can be instructed to carry out sequences of arithmetic or logical operations automatically via computer programming. Modern computers have the ability to follow generalized sets of operations, called programs. These programs enable computers to perform an extremely wide range of tasks.

code to explanationSat, 11 Feb 2023

from regestarion database in php Login and password

php <?php $db_name="registration"; $mysql_username="root"; $mysql_password=""; $server_name="localhost"; $conn=mysqli_connect($server_name,$mysql_username,$mysql_password,$db_name); if($conn){ echo"<h3>connection successful</h3>"; } else{ echo"<h3>no connection</h3>".mysqli_connect_error(); } ?>

fix invalid codeSun, 12 Feb 2023

from regestarion database in php

php <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "registration"; // Create connection $conn = mysqli_connect($servername, $username, $password, $dbname); // Check connection if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } if(isset($_POST['submit'])) { $name = $_POST['name']; $username = $_POST['username']; $password = $_POST['password']; $email = $_POST['email']; $sql = "INSERT INTO users (name, username, password, email) VALUES ('$name', '$username', '$password', '$email')"; if (mysqli_query($conn, $sql)) { echo "New record created successfully"; } else { echo "Error: " . $sql . "<br>" . mysqli_error($conn); }

code to explanationSat, 11 Feb 2023

from regestarion database in php

<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("registration", $con); $sql="insert into registration (firstname,lastname,email,phone,bdate,password,re_password ) values ('$_POST[firstname]','$_POST[lastname]','$_POST[email]','$_POST[phone]','$_POST[bdate]','$_POST[password]','$_POST[re_password]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?>

fix invalid codeSun, 12 Feb 2023

from regestarion database in php

php <?php try { $pdo = new PDO('mysql:host=localhost;dbname=regestarion', 'root', ''); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $pdo->exec('SET NAMES "utf8"'); } catch (PDOException $e) { $error = 'Unable to connect to the database server.'; include 'error.html.php'; exit(); } if (isset($_POST['firstname'])) { $firstname = $_POST['firstname']; $surname = $_POST['surname']; $email = $_POST['email']; $password = $_POST['password']; $password2 = $_POST['password2']; $errors = array(); if ($password != $password2) { $errors[] = "the two passwords do not match"; } if (strlen($password

Want to kickstart your project?Use the new AI Studio to create your code