This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'My Stateful App', | |
| home: MyStatefulWidget(), | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'My Stateless App', | |
| home: MyStatelessWidget(), | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import openai, openai.error | |
| try: | |
| #Make your OpenAI API request here | |
| response = openai.Completion.create(model="text-davinci-003", | |
| prompt="Hello world") | |
| except openai.error.Timeout as e: | |
| #Handle timeout error, e.g. retry or log | |
| print(f"OpenAI API request timed out: {e}") | |
| pass | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | text = ['this is me elon musk', 'this is long text from elon musk'] | |
| count = 0 | |
| for w in text: | |
| count = max(count, len(w.split(' '))) | |
| print("Max words: " str(count)) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import pandas as pd | |
| from nltk.tokenize import word_tokenize | |
| text = ["this is me jairon landa", "This is the 2nd text"] | |
| text_len = len(text) | |
| print("total text: " + str(text_len)) | |
| number_of_word = 0 | |
| for i in range(0, text_len): | |
| data_text = word_tokenize(text[i]) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| $array = array( | |
| "1" => "PHP code tester Sandbox Online", | |
| "foo" => "bar", 5 , 5 => 89009, | |
| "case" => "Random Stuff: " . rand(100,999), | |
| "PHP Version" => phpversion() | |
| ); | |
| // adding new array with value | |
| // variable name must same | |
| $array['name'] = "Jaironlanda"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | NameVirtualHost *:80 | |
| <VirtualHost *:80> | |
| ServerName ci4site.test | |
| DocumentRoot "C:/xampp/htdocs/mysite-project/public" | |
| <Directory "C:/xampp/htdocs/mysite-project/public"> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride All | |
| Order allow,deny | |
| allow from all | |
| </Directory> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| $data = array( | |
| "Jairon Landa", | |
| "Coding", | |
| "Tuaran" | |
| ); | |
| $field = array( | |
| "[name]", | |
| "[hobby]", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <stdio.h> | |
| #include <string.h> | |
| // function declaration | |
| void display_menu(); | |
| double determine_price(char *order); | |
| double calculate_bill(double price1, int qty1,double price2, int qty2, double price3, int qty3); | |
| int main(){ | |
| char customer_name[100]; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $config = array( | |
| 'protocol' => 'smtp', | |
| 'smtp_host' => 'ssl://smtp.googlemail.com', | |
| 'smtp_port' => '465', | |
| 'smtp_user' => 'enteryourgoogleemail', //google email | |
| 'smtp_pass' => 'enteryourpassword', //your email password here | |
| 'mailtype' => 'html', | |
| 'charset' => 'iso-8859-1', | |
| 'wordwrap' => TRUE, | |
| 'newline' => "\r\n", |