Snippets Collections
<style>
/* Hide Language & Currency Selector */
#lang_currency_switchers { display:
none;}

/* Hide Contact Details */
body > div.container2 > div > div.container.main-content > div.page-container.property_info > div > div > div.portlet-body > div.map_info > p:nth-child(4) {display:none; }

/* Children Option is Hidden */
th.children.custom-children {
visibility: hidden !important;
display: none;
}
td.children {
visibility: hidden !important;
display: none;
}
.av-children {
visibility: hidden !important;
display: none;
}

/* Changing the background color and text color */
.av-left-rooms {
background-color: #3267B8;
text-color: white;
/* Header Logo Links to URL */
}
body > div.page-header.page-header-wrap.navbar > div > h1{
cursor: pointer
}
.logo {
cursor: pointer;
}
/* Hide Standard Map on Page */
#map_canvas { display: 
none; 
}

</style>


<div>

<button onclick="topFunction()" id="myBtn" title="Scroll up"> Scroll Up </button>
</div>

<style>
/* Add Scroll up Button */
html {
scroll-behavior: smooth;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 999999; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #14518c; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 10px; /* Some padding */
  border-radius: 5px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
box-shadow: 0.5em 0.5em 0.5em rgb(11, 70, 140, 0.5);
}

#myBtn:hover {
  background-color: #ff4f3d; /* Add a background color on hover */
}

</style>

<script type="text/javascript"> 
//Get the button
var mybutton = document.getElementById("myBtn");

// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};

function scrollFunction() {
  if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
    mybutton.style.display = "block";
  } else {
    mybutton.style.display = "none";
  }
}

// When the user clicks on the button, scroll to the top of the document
function topFunction() {
  document.body.scrollTop = 0;
  document.documentElement.scrollTop = 0;
} 
</script>


<style>
/* Add Star icons to Features list */
.amenities_tab li::before, ul.amenities li::before{
content: " \2714 ";
color: #39b54b;
}
</style>


/* Hide Rooms button and label */  ( eichardts )
.av_wrapper[data-room-type-id='180207'] .av-quantity .type_of_room,
.av_wrapper[data-room-type-id='180207'] .av-quantity .rooms_select {
    display: none;
}

.av_wrapper[data-room-type-id='180207'] .av-quantity .rooms_select option[value="1"] {
    display: block;
}
<style>
.container {
width: 100%;
max-width: 1600px;
}
</style>


<style>
main {
  background-color: transparent;
color: white;
  
}
</style>

<style>
h1, .count, .friends a p {
     color: white;
} 
</style>
<style>
body{background:url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/587caf08-d30d-4492-a90d-ca16fcec6aab/d3ho0tb-4660da4f-9b55-421f-95fd-3f71d64ef11e.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzU4N2NhZjA4LWQzMGQtNDQ5Mi1hOTBkLWNhMTZmY2VjNmFhYlwvZDNobzB0Yi00NjYwZGE0Zi05YjU1LTQyMWYtOTVmZC0zZjcxZDY0ZWYxMWUuanBnIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.RHW0zT9ZP7ikOdzFHkTq623kgkgX2VdChJdi62HGQkM") no-repeat fixed; background-size:cover;}
</style>

<style>
p {color: white;}
</style>

<style>
a {
  color: var(--white);
}

</style>

<style>
.profile .friends .person p{

    color: #fff;
}
</style>

<style>
 .blurbs .section h4{display: none !important;}
</style>

<style>
.profile .contact, .profile .table-section, .profile .url-info {
  border: 3px solid #25292A;
border-radius: 9px;
}
</style>

<style>
.profile .contact .heading, .profile .table-section .heading, .home-actions .heading {
  background-color: #25292A;
  color: #bbb
border-radius: 4px;
}
</style>

<style>
.profile .table-section .details-table td {
  background-color: #25292A; 
  background-color: rgba(0, 0, 0, 0.5);
;
  color: #ccc;
border-radius: 7px;
}
</style>

<style>
.col.w-40.left .contact {background-color: #25292A; 
  background-color: rgba(0, 0, 0, 0.5);}
</style>

<style>
.profile .url-info{
background: url('https://i.postimg.cc/m287VjQ7/forgetamerie-ezgif-com-video-to-gif-converter.gif'); /*replace pic here*/
background-position: center;
background-size: cover;
border: var(--borders)!important;
border-radius: var(--curve);
height: 240px;
border: 3px solid #25292A;
border-radius: 15px;
 
} 
.url-info p{ opacity: 0.0; }
</style>

<style>
.profile .blurbs .heading, .profile .friends .heading {
  background-color: #25292A;
  color: #fff;
border-radius: 8px;
</style>

<style>
.profile .friends .comments-table td {
  background-color: #25292A; 
  background-color: rgba(0, 0, 0, 0.5);
border-radius: 6px;
}
</style>

<style>

  .inner .comments-table {border: 3px solid #25292A;
border-radius: 15px;}
</style>

<style>
table.comments-table{
display: block;
height: 300px!important;
overflow-y: scroll;
}
</style>

<style>
footer {background-color: #25292A; 
  background-color: rgba(0, 0, 0, 0.5);
border-radius: 50px;}
</style>

<style>.nav .top , nav .links{

background: #25292A; 
  background-color: transparent;
border-radius: 50px;

text-align: center;

}
</style>

<style>
/* banner */
main:before {
	width: 100%;
	height: 190px;
	display: block;
	content: "";
	background-image: url('https://i.postimg.cc/Y2T0X78K/forgetamerie-ezgif-com-crop-2.gif');
	background-position: center center;
	background-size: cover;
border-radius: 50px;
}
@media only screen and (max-width: 600px) {
	main:before{
		height: 200px;</style>

<style>
nav .top {background-color: #25292A; 
  background-color: rgba(0, 0, 0, 0.5);
border-radius: 15px;}
</style>

<style>
@import url("https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap");

.w-40 h1{
font-family: Nothing You Could Do;
font-size: 40px;
text-align: center;
background: -webkit-linear-gradient(#fff, #fff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 1px white;
}
</style>

<style>
a:hover {
color: white;
text-transform: uppercase;
font-style: ;
</style>
 
<style>
nav .links a:hover {
color: white;
text-transform: uppercase;
font-style: ;
</style>
 
 



<style>.online { visibility: hidden; } .online img { content: url("https://i8.glitter-graphics.org/pub/1243/1243728ndvxbd9uih.gif"); animation-name: none; visibility: visible; height: 25px; width: 90px; }</style>

<style>
li.active .icon { content:url('https://gifcity.carrd.co/assets/images/gallery95/9e75373c.png?v=d55ea43d'); width: 20PX;height: 20px;}
</style>

<style>

.contact .inner a img {

font-size: 0;

}

.contact .inner a img:before {

font-size: 1em;

display: block

}

</style>

<style>
.col.right .profile-info { border: 4px solid #25292A;
  border-radius: 15px;}
</style>

 <style>
img:hover {
 
  transform: scale(1.1);
    transition: 0.8s ease;
 
 
  animation-iteration-count: infinite;
}
 
img {
    transition: 0.5s ease
}
 </style>

<style>
.profile-pic > img { display:none; }
.profile-pic:after { background-image: url("https://i.postimg.cc/QCfMFzYJ/rowannn-ezgif-com-crop.gif"); display: inline-block; content:"" }
.general-about .profile-pic:after { background-size: cover; width: 160px; height: 160px; } /* profile */ 
</style>
 
<style>
.profile-pic {
    background: #E4E4E4;
    padding: 11px 11px 200px;
filter: drop-shadow(6px 5px 10px #404040);
transform: rotate(4deg);
}
</style>
 
<style>
.profile-pic:hover {
    transform: scale(1.5);
    transition: 0.5s ease;
transform: rotate(8deg);
filter: drop-shadow(15px 8px 15px #404040);
}
.profile-pic {
    transition: 0.5s ease
}
</style>

<style>
td .comment-replies { border: 3px solid #25292A;
  border-radius: 15px;}  
</style>

<style>
.friends-grid img{border-radius:500px;}
</style>

<style>
.comments-table img{border-radius:500px;}
</style>

<style>
/* width */
::-webkit-scrollbar {
  width: 20px;

}
 
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 4px black; 
background: rgba(0, 0, 0, 0.6);
  border-radius:7px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #25292A ; 
  border-radius: 6px;
}
 
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1a1d1d; 
}
</style>

<style>
img.logo {
 
 content:url("https://gifcity.carrd.co/assets/images/gallery10/b4f58ba7.gif?v=d55ea43d");
width: 40px !important;
height: 40px !important;
    }
</style>

<style>* {cursor: url("http://www.rw-designer.com/cursor-view/124054.png"), url("http://www.rw-designer.com/cursor-view/124054.png"), auto !important;}</style>

<style>
    .profile{
        
    direction: rtl;
    
    }
    .blurbs{
    
    direction: ltr;
        
    }
    .blog-preview{
        
    direction: ltr;
        
    }
    .friends{
    
    direction: ltr;
        
    }
    .general-info{
        
    direction: ltr;
        
    }
    .contact{
        
    direction: ltr;
    
    }
    .url-info{
        
    direction: ltr;
        
    }
    .details-table{
        
    direction: ltr;
        
    }
    .profile .table-section .heading{
    
    direction: ltr;
        
    }
    .details p{

    direction: ltr;

   }
   .mood{

       direction: ltr;

   }
</style>

<style>
@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');
p{
  font-family: 'Short Stack', cursive;
  font-size: 130%;
}
h1,h2,h3,h4,h5{
  font-family: 'Short Stack', cursive;
  font-size: 130%;  
</style>

<style>
.friends-grid .person img{
filter: grayscale(100%) 
mix-blend-mode: overlay;
}
</style>

<style>
body:before {
content: " ";
height: 100vh;
width: 100vw;
display: block;
position: fixed; 
top: 0; 
left: 0; 
z-index: 100;
background-image: url('https://i.postimg.cc/CMc40rvJ/rowananjajbe-ezgif-com-video-to-gif-converter.gif');
background-size: cover;
background-repeat: repeat;
background-position:center;
animation: yourAnimation 3s ease 0s 1 normal forwards;
pointer-events: none;}
@keyframes yourAnimation { 0.0%{ opacity: 1;} 75%{ opacity: 1; } 100%{ opacity: 0;} } 
</style>

<style>

.friends-grid .person {
filter: grayscale(100%);
</style>

<style>.inner .comments-table img{
filter: grayscale(100%);
</style>

<style>
details .mb8 {color: white;}
 
details {text-align: center}
 
@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');
details .mb8{
  font-family: 'Short Stack', cursive;
  font-size: 200%;}
</style>
from fastapi import FastAPI, Request
from slowapi.util import get_remote_address
import uvicorn


app = FastAPI()

@app.get('/')
def home(req : Request):
    return {'ip': get_remote_address(request=req)}
MOV [1100H],115H
MOV [1102H],1004H
MOV AX,[1100H]
MOV BX,[1102H]
MUL BX
MOV [1200],AX
HLT
#include <stdio.h>

struct Process {
    int pid;
    int burst;
    int turn;
    int waiting;
    int completion;
};

void calculate(struct Process pro[], int n) {
    // Sort processes based on burst time
    for (int i = 0; i < n - 1; i++) {
        for (int j = 0; j < n - i - 1; j++) {
            if (pro[j].burst > pro[j + 1].burst) {
                struct Process temp = pro[j];
                pro[j] = pro[j + 1];
                pro[j + 1] = temp;
            }
        }
    }

    // Calculate waiting time, turnaround time, and completion time
    pro[0].waiting = 0;
    pro[0].completion = pro[0].burst;
    for (int i = 1; i < n; i++) {
        pro[i].waiting = pro[i - 1].completion;
        pro[i].completion = pro[i].waiting + pro[i].burst;
        pro[i].turn = pro[i].completion; // Turnaround time is the completion time itself
    }

    // Print process details
    printf("Process\tBurst\tTurnaround\tWaiting\tCompletion\n");
    int totwt = 0, tottat = 0;
    for (int i = 0; i < n; i++) {
        pro[i].turn -= 0; // Calculate turnaround time as completion time - burst time
        printf("%d\t%d\t%d\t\t%d\t%d\n", pro[i].pid, pro[i].burst, pro[i].turn, pro[i].waiting, pro[i].completion);
        tottat += pro[i].turn;
        totwt += pro[i].waiting;
    }

    // Calculate average turnaround time and average waiting time
    float avgtat = (float)tottat / n;
    float avgwt = (float)totwt / n;

    printf("Average Turnaround: %.2f\nAverage Waiting: %.2f\n", avgtat, avgwt);
}

int main() {
    int n;
    printf("Enter the number of processes: ");
    scanf("%d", &n);
    struct Process pro[n];
    for (int i = 0; i < n; i++) {
        pro[i].pid = i + 1;
        printf("Enter burst time for process %d: ", pro[i].pid);
        scanf("%d", &pro[i].burst);
    }
    calculate(pro, n);
    return 0;
}
#include <stdio.h>
struct Process{
    int pid;
    int burst;
    int turn;
    int waiting;
};
void calculate(struct Process pro[],int n)
{
    pro[0].waiting=0;
    pro[0].turn=pro[0].burst;
    for(int i=1;i<n;i++)
    {
        pro[i].waiting=pro[i-1].waiting+pro[i-1].burst;
        pro[i].turn=pro[i].waiting+pro[i].burst;
    }
    printf("process \t\t burst time\t\tturnaround\t\twaiting\n");
    int totwt=0;
    int tottat=0;
    for(int i=0;i<n;i++)
    {
        printf("%d\t\t%d\t\t%d\t\t%d\n",pro[i].pid,pro[i].burst,pro[i].turn,pro[i].waiting);
        tottat+=pro[i].turn;
        totwt+=pro[i].waiting;
    }
    float avgtat=(float)tottat/n;
    float avgwt=(float)totwt/n;
    
    printf("Average turnaround :%.2f \nAvrage waiting : %.2f",avgtat,avgwt);
}
int main()
{
   int n;
   printf("enter the bt");
   scanf("%d",&n);
   struct Process pro[n];
   for(int i=0;i<n;i++)
   {
       pro[i].pid=i+1;
       scanf("%d",&pro[i].burst);
   }
   calculate(pro,n);
}
choco install chocolatey-core.extension --version 1.4.0 -y
choco install jre8 --version 8.0.411 -y
choco install python --version 3.12.3 -y
choco install vlc --version 3.0.20 -y
choco install sysinternals --version 2024.2.13 -y
choco install wget --version 1.21.4 -y
choco install dotnet3.5 --version 3.5.20160716 -y
choco install powershell-core --version 7.4.2 -y
choco install curl --version 8.7.1 -y
choco install vlc.install --version 3.0.20 -y
choco install dropbox --version 198.4.7615 -y
choco install keepass --version 2.56.0 -y
choco install chocolateygui --version 2.1.1 -y
choco install powertoys --version 0.80.1 -y
choco install keepass.install --version 2.56.0 -y
choco install everything --version 1.4.11024 -y
choco install greenshot --version 1.2.10.6 -y
choco install virtualbox --version 7.0.18 -y
choco install postman --version 10.24.16 -y
choco install wsl2 --version 2.0.0.20210721 -y
choco install imagemagick.app --version 7.1.1.3200 -y
choco install qbittorrent --version 4.6.4 -y
choco install youtube-dl --version 2021.12.17 -y
choco install pandoc --version 3.1.13 -y
choco install totalcommander --version 11.3.0 -y
choco install directx --version 9.29.1974.20210222 -y
choco install vcredist-all --version 1.0.1 -y
choco install jackett --version 0.21.2574 -y
choco install aria2 --version 1.37.0 -y
choco install adb --version 34.0.5 -y
choco install nirlauncher --version 1.30.5 -y
choco install trid --version 2.24.20240501 -y
choco install duckietv --version 1.1.5 -y
choco install potplayer --version 23.08.30 -y
choco install scrcpy --version 2.4.0 -y
choco install yt-dlp --version 2024.4.9 -y
choco install markdownmonster --version 3.2.16 -y
choco install apktool --version 2.9.3 -y
choco install obsidian --version 1.5.12 -y
choco install choco-package-list-backup --version 2023.6.28 -y
choco install ffmpeg-shared --version 7.0.0.20240417 -y
choco install notion --version 2.2.0 -y
choco install ventoy --version 1.0.97.20240415 -y
choco install base64 --version 1.0.0 -y
choco install tesseract --version 5.3.3.20231005 -y
choco install grepwin --version 2.0.15 -y
choco install ketarin --version 1.8.11 -y
choco install psget --version 1.0.4.407 -y
choco install nircmd --version 2.86 -y
choco install picard --version 2.11.0 -y
choco install sublimetext4 --version 4.0.0.416900 -y
choco install rainmeter --version 4.3.0.3321 -y
choco install msxml6.sp1 --version 6.10.1129.0 -y
choco install fastcopy --version 5.7.5 -y
choco install winaero-tweaker --version 1.62.1 -y
choco install internet-download-manager --version 6.42.10 -y
choco install winaero-tweaker.install --version 1.62.1 -y
choco install fileseek --version 6.7.0 -y
choco install cudatext --version 1.178.0.0 -y
choco install xmlstarlet --version 1.6.1 -y
choco install fastcopy.install --version 4.2.1 -y
choco install qbittorrent-enhanced --version 4.4.5.10 -y
choco install kate --version 23.8.0 -y
choco install tinymediamanager --version 5.0.5 -y
choco install youtube-dl-gui --version 0.4 -y
choco install chocolateyexplorer --version 0.2.2.111 -y
choco install choco-protocol-support --version 0.2 -y
choco install youtube-dl-gui.install --version 0.4 -y
choco install directoryopus --version 13.6.0 -y
choco install genymotion --version 3.6.0 -y
choco install choco-shortcuts-winconfig --version 0.0.4 -y
choco install everythingtoolbar --version 1.3.3 -y
choco install xml-notepad --version 2.8.0.7 -y
Install with cmd.exe
Run the following command:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
 Save
Copy
Install with PowerShell.exe
With PowerShell, there is an additional step. You must ensure Get-ExecutionPolicy is not Restricted. We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security.

Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.
Now run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
 Save
let i = 5;
let num = 4;

do{
  console.log(i)
}

while( i < num)
let i = 5;

let num = 4

while( i < 4)
{
  console.log(i)
}
import mysql.connector
from wordcloud import WordCloud
import matplotlib.pyplot as plt
from nltk.corpus import stopwords
from nltk.tokenize import word_tokenize

mydb = mysql.connector.connect(
    host="localhost",
    user="root",
    password="Eimaipolykala1",
    database="twitter_db"
)
# Create a cursor object
cursor = mydb.cursor()

# Execute SQL query to retrieve text data
cursor.execute("SELECT JSON_VALUE(data, '$.extended_tweet.full_text')  FROM data_db WHERE JSON_VALUE(data, '$.lang')='en' AND   JSON_VALUE(data, '$.extended_tweet.entities.user_mentions[0].id') = '56377143' OR JSON_VALUE(data, '$.extended_tweet.entities.user_mentions[0].name')  = 'KLM' OR JSON_VALUE(data, '$.extended_tweet.entities.user_mentions[0].name') = 'klm' OR JSON_VALUE(data, '$.extended_tweet.entities.user_mentions[1].name')  = 'klm' OR JSON_VALUE(data, '$.extended_tweet.entities.user_mentions[1].name') = 'KLM' OR JSON_VALUE(data, '$.extended_tweet.entities.user_mentions[1].id') = '56377143'")



# Fetch data
data = cursor.fetchall()

# Close the connection
mydb.close()

# Process text data
text = ' '.join([row[0] for row in data])  # Combine text from all rows
stop_words = set(stopwords.words('english'))  # Load English stopwords
word_tokens = word_tokenize(text.lower())  # Tokenize and convert to lowercase
filtered_words = [word for word in word_tokens if word.isalnum() and word not in stop_words]  # Filter out stopwords and non-alphanumeric tokens
processed_text = ' '.join(filtered_words)

# Generate word cloud
wordcloud = WordCloud(width=800, height=400, background_color='white').generate(processed_text)

# Display word cloud
plt.figure(figsize=(10, 5))
plt.imshow(wordcloud, interpolation='bilinear')
plt.axis('off')
plt.show()
import nltk
import mysql.connector
from wordcloud import WordCloud
import matplotlib.pyplot as plt
from nltk.corpus import stopwords
from nltk.tokenize import word_tokenize

# Download NLTK data
nltk.download('punkt')

# Set NLTK data path if necessary
# nltk.data.path.append("path_to_nltk_data")

mydb = mysql.connector.connect(
    host="localhost",
    user="root",
    password="Eimaipolykala1",
    database="twitter_db"
)

# Create a cursor object
cursor = mydb.cursor()

# Execute SQL query to retrieve text data
cursor.execute("SELECT JSON_VALUE(data, '$.extended_tweet.full_text')  FROM data_db WHERE JSON_VALUE(data, '$.lang')='en'")

# Fetch data
data = cursor.fetchall()

# Close the connection
mydb.close()

# Process text data
text = ' '.join([row[0] for row in data if row[0]])  # Combine text from all rows, handling None values
stop_words = set(stopwords.words('english'))  # Load English stopwords
word_tokens = word_tokenize(text.lower())  # Tokenize and convert to lowercase
filtered_words = [word for word in word_tokens if word.isalnum() and word not in stop_words]  # Filter out stopwords and non-alphanumeric tokens
processed_text = ' '.join(filtered_words)

# Generate word cloud
wordcloud = WordCloud(width=800, height=400, background_color='white').generate(processed_text)

# Display word cloud
plt.figure(figsize=(10, 5))
plt.imshow(wordcloud, interpolation='bilinear')
plt.axis('off')
plt.show()
import mysql.connector
import pandas as pd
import matplotlib.pyplot as plt
mydb = mysql.connector.connect(
    host="localhost",
    user="root",
    password="Eimaipolykala1",
    database="twitter_db"
)

cursor = mydb.cursor()

# Execute SQL query to retrieve data
cursor.execute("SELECT JSON_VALUE(data, '$.lang') AS lang, COUNT(*) AS count FROM data_db GROUP BY JSON_VALUE(data, '$.lang')")

# Fetch data
data = cursor.fetchall()

# Close the connection
mydb.close()
languages = [row[0] for row in data]
counts = [row[1] for row in data]
df = pd.DataFrame(data, columns=['language', 'count'])
df = df.dropna()
plt.figure(figsize=(10, 6))
plt.bar(df['language'], df['count'])
plt.xlabel('Languages')
plt.ylabel('Number of Tweets')
plt.title('Number of Tweets by Language')
plt.xticks(rotation=45)
plt.tight_layout()
plt.show()
#include <iostream>

using namespace std;

class Base{
   
    public:
    virtual void output(){
        cout<<"Virtual Function"<<endl;
    }
    void display(){
        cout<<"Display Base Function"<<endl;
    }
};

class derived:public Base{
    
    public:
    void output(){
        cout<<"Function in the derived "<<endl;
    }
    void display(){
        cout<<"Display Derived Function"<<endl;
    }
};


int main() {
    
    Base *ptr;
    derived d;
    ptr = &d;
  //Run time binding, it will call output function in the drived class
    ptr->output();
  
  //Compile time binding, it will call display function in the base class.
    ptr->display();

    return 0;
}
//OUTPUT:
Function in the derived 
Display Base Function
title "aaa"
.model small
.stack 100h
.data
   num1 db '9'
   num2 db '5'
   result db 0  ; Initialize result variable
.code
   mov ax, @data
   mov ds, ax

   ; Convert ASCII characters to numerical values
   sub num1, '0'  ; Convert character '9' to numerical value 9
   sub num2, '0'  ; Convert character '5' to numerical value 5

   ; Add numerical values
   mov al, num1  ; Move num1 into AL
   add al, num2  ; Add num2 to AL

   ; Store the result
   mov result, al  ; Store the result in result variable

   mov ah, 4ch    ; Exit program
   int 21h
end
*********************
  title "aaa"
.model small
.stack 100h
.data
   num1 db '9'
   num2 db '5'
   result db ?
.code
   mov ax, @data
   mov ds, ax

   ; Convert ASCII characters to binary
   mov al, num1
   sub al, '0'   ; Convert ASCII character to binary
   mov bl, num2
   sub bl, '0'   ; Convert ASCII character to binary

   ; Perform addition
   add al, bl

   ; Adjust the result using aaa
   aaa

   ; Convert result back to ASCII character
   add al, '0'   ; Convert binary to ASCII character

   ; Store the result
   mov result, al

   ; Display result (if needed)
   mov ah, 02h   ; DOS function to display character
   mov dl, al    ; Move the result to DL register
   int 21h       ; Call DOS interrupt

   ; Terminate program
   mov ah, 4Ch   ; DOS function to exit program
   int 21h       ; Call DOS interrupt
end
ASSUME CS:CODE,DS:DATA
CODE SEGMENT
    MOV [1100H],1115h
    MOV [1102H],1004H
    MOV AX,[1100H]
    MOV BX,[1102H]
    SUB AX,BX
    MOV [1200H],AX
    HLT
recipient = Map();
recipient.put("type", "email");
recipient.put("value", "roy@gmail.com");
/////////////////////////
signer = Map();
signer.put("recipient_name", "Rehmat");
signer.put("action_type", "sign");
signer.put("recipient", recipient);
//////////////////
signers = List();
signers.add(signer);
///////////////////
mail_merge_template = Map();
mail_merge_template.put("name", "Copy Shareholder Agreement");
//////////////////
sign_mail_merge = Map();
sign_mail_merge.put("file_name", "Agreement");
sign_mail_merge.put("sign_in_order", false);
sign_mail_merge.put("mail_merge_template", mail_merge_template);
sign_mail_merge.put("signers", signers);
///////////
param = Map();
param.put("sign_mail_merge", sign_mail_merge.toList());
///////////
info param;

send_doc = invokeurl
[
	url: "https://www.zohoapis.com/crm/v6/Deals/"+DealID+"/actions/sign_mail_merge"
	type: POST
	parameters: param.toString()
	connection: "zoho_crm"
];

info send_doc;
ASSUME CS:CODE,DS:DATA
CODE SEGMENT
    MOV [1100H],1115h
    MOV [1102H],1004H
    MOV AX,[1100H]
    MOV BX,[1102H]
    SUB AX,BX
    MOV [1200H],AX
    HLT
import React from "react";
import {Modal, ModalContent, ModalHeader, ModalBody, ModalFooter, Button, useDisclosure, Checkbox, Input, Link} from "@nextui-org/react";
import {MailIcon} from './MailIcon.jsx';
import {LockIcon} from './LockIcon.jsx';

export default function App() {
  const {isOpen, onOpen, onOpenChange} = useDisclosure();

  return (
    <>
      <Button onPress={onOpen} color="primary">Open Modal</Button>
      <Modal 
        isOpen={isOpen} 
        onOpenChange={onOpenChange}
        placement="top-center"
      >
        <ModalContent>
          {(onClose) => (
            <>
              <ModalHeader className="flex flex-col gap-1">Log in</ModalHeader>
              <ModalBody>
                <Input
                  autoFocus
                  endContent={
                    <MailIcon className="text-2xl text-default-400 pointer-events-none flex-shrink-0" />
                  }
                  label="Email"
                  placeholder="Enter your email"
                  variant="bordered"
                />
                <Input
                  endContent={
                    <LockIcon className="text-2xl text-default-400 pointer-events-none flex-shrink-0" />
                  }
                  label="Password"
                  placeholder="Enter your password"
                  type="password"
                  variant="bordered"
                />
                <div className="flex py-2 px-1 justify-between">
                  <Checkbox
                    classNames={{
                      label: "text-small",
                    }}
                  >
                    Remember me
                  </Checkbox>
                  <Link color="primary" href="#" size="sm">
                    Forgot password?
                  </Link>
                </div>
              </ModalBody>
              <ModalFooter>
                <Button color="danger" variant="flat" onPress={onClose}>
                  Close
                </Button>
                <Button color="primary" onPress={onClose}>
                  Sign in
                </Button>
              </ModalFooter>
            </>
          )}
        </ModalContent>
      </Modal>
    </>
  );
}
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
  (async () => {
    // async code goes here
    // ...
    const result = await getSomething();
    sendResponse(result);
  })();

  // Important! Return true to indicate you want to send a response asynchronously
  return true;
});

title:"pack"
.stack 100h
.data
   num1 db 09h
   num2 db 05h
   pack db dup(0)
   
.code
   mov ax,@data
   mov ds,ax
   xor ax,ax

   mov al,num1
   mov bl,num2
   ror al,4
   or al,bl
   mov pack,al
   mov ah,4ch
   int 21h
   end
#include <sys/ipc.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <sys/stat.h> // Include this header for mkfifo

int main()
{
    int fd[2], i, j, x, k;
    pid_t pid;
    char string[] = "hello";
    char b[80];

    i = mkfifo("f1.txt", 0666);
    
    pid = fork();
    
if (pid == 0)
    {
        j = open("f1.txt",O_RDWR);
        
        write(j, string, strlen(string));
        close(j);
    }
    else 
    {
        k = open("f1.txt", O_RDONLY);
       
        x = read(k, b, sizeof(b));
       
        printf("Received String: %s\n", b);
        close(k);
    }

    return 0;
}
mov [1100h],1115h
mov [1102h],1004h
mov ax,[1100h]
mov bx,[1102h]
mul bx
mov [1200h],bx
hlt
mov [1100h],1115h
mov [1102h],1004h
mov ax,[1100h]
mov bx,[1102h]
add ax,bx
mov [1200h],ax
hlt
//Message Queue(Receivers)
#include <stdio.h> 
#include <sys/ipc.h> 
#include <sys/msg.h> 
  
// structure for message queue
struct mesg_buffer { 
    long mesg_type; 
    char mesg_text[100]; 
} message; 


int main() 
{ 
    key_t key; 
    int msgid;
    // ftok to generate unique key 
    key = ftok("somefile", 65); 
    msgid = msgget(key, 0666 | IPC_CREAT); 
   
    printf("Waiting for a message from Client...:\n "); 
   
    msgrcv(msgid, &message, sizeof(message),1,0); 
    // display the message 
    printf("Message Recieved from Client  is : %s \n", message.mesg_text);
    msgctl(msgid,IPC_RMID,NULL);
    return 0; 
} 
//Message Queue(senders)
#include <stdio.h> 
#include <sys/ipc.h> 
#include <sys/msg.h> 
  
// structure for message queue
struct mesg_buffer { 
    long mesg_type; 
    char mesg_text[100]; 
} message; 


int main() 
{ 
    key_t key; 
    int msgid;
    // ftok to generate unique key 
    key = ftok("somefile", 65); 
    msgid = msgget(key, 0666 | IPC_CREAT); 
    message.mesg_type = 1; 
    printf("Insert message : "); 
    gets(message.mesg_text);
    // msgsnd to send message 
    msgsnd(msgid, &message, sizeof(message), 0); 
    // display the message 
    printf("Message sent to sever is : %s \n", message.mesg_text);

    return 0; 
} 
data segment
num DB 5,9,20,25,79,0  
even db ?
odd db ?
data ends
code segment
assume code:cs,ds:data
start :
mov ax,data
mov ds,ax
lea si,num
mov bl , 0h
mov bh, 0h
mov cl , [si]
inc si
up: mov al,[si]
ror al,1
jc go
inc bl
jmp next
go: inc bh
next: inc si
  dec cl
   jnz up
   mov even,bl
   mov odd,bh
    mov AH,4CH
    INT 21H
code ends
end start

{/* Reject Booking Modal */}
            <Modal backdrop={"opaque"} isOpen={rejectModal.isOpen} onOpenChange={rejectModal.onOpenChange} isDismissable={false} size={"xl"} 
                classNames={{
                    body: " flex flex-grow size-full",
                    base: "border-[#292f46]text-[#a8b0d3] p-2",
                    header: "sm:justify-evenly",
                    footer: "justify-center",
                    closeButton: "hover:bg-[#F31260] bg-[#F31260] text-white text-xl",
                }} >
                <ModalContent>
                    {(onClose) => (<>
                        <ModalHeader className="flex flex-col gap-1 text-4xl font-black">Reject Booking?</ModalHeader>
                        <ModalBody>
                            <Textarea
                                variant="bordered"
                                label="Please provide a reason for rejecting this booking:"
                                isInvalid={isReasonEmpty}
                                errorMessage={isReasonEmpty && "Please enter a reason"}
                                labelPlacement="outside"
                                placeholder="Type here..."
                                value={reason}
                                onChange={(input) => {setReason(input.target.value); setIsReasonEmpty(false); console.log("reason", reason, "isEmpty", isReasonEmpty)}}
                                // onValueChange={setReason}
                            />
                        </ModalBody>
                        <ModalFooter>
                            <Button color="primary" variant="light" onPress={() => { setIsReasonEmpty(false); setReason(''); onClose() }}> Close </Button>
                            <Button color="danger" endContent={<Send2/>} onPress={() => { rejectBooking(accessTokenCookie, transaction?.id); reason !== '' ? onClose() : null; }}> Reject </Button>
                        </ModalFooter>
                    </>)}
                </ModalContent>
            </Modal>
            {showRejectSnackbar && (
                <Snackbar text="Booking rejected successfully!" icon={CheckCircleIcon} onClose={()=>setShowRejectSnackbar(false)} variant="success" />
            )}
            {showCancelSuccessSnackbar && (
                <Snackbar text="Booking cancelled successfully!" icon={CheckCircleIcon} onClose={()=>setShowCancelSuccessSnackbar(false)} variant="success" />
            )}
            {showCancelFailSnackbar && (
                <Snackbar text="Booking cancelled successfully!" icon={CheckCircleIcon} onClose={()=>setShowCancelFailSnackbar(false)} variant="warning" />
            )}
    </>
  );
}
var
val;
val = 12;
console.log("数字为 " + val);
val = "CodeWhy";
console.log("字符串为 " + val);

//not there 

org 100h
mov BL,00H
mov BH,00H
mov SI,1100H
MOV CL,01H
MOV CH,[SI]
INC SI
LOOP:MOV AL,[SI]
 SHL AL,CL
 JC NEGATIVE
 INC BL
 JMP NEXT
NEGATIVE:INC BH
NEXT:ADD SI,01H
 DEC CH
 JNZ LOOP
 MOV [1200H],BL
 MOV [1201h],BH
 HLT
data segment
num DB 5,9,20,25,79,0  
even db ?
odd db ?
data ends
code segment
assume cs:code,ds:data 
start:
mov ax,data
mov ds,ax
lea si,num
mov bl , 0h
mov bh, 0h
mov cl , [si]
inc si
up: mov al,[si]
ror al,1
jc go
inc bl
jmp next
go: inc bh
next: inc si
dec cl
jnz up
mov even,bl
mov odd,bh
mov AH,4CH
INT 21H
code ends 
end start



OUTPUT:

05,09,14,19,4F,03,02
.model small
.stack 100h

.data
    num1 dw 1234h   ;
    num2 dw 5678h   ; 
    result dw ?     ; 

.code
    main proc
        mov ax, @data
        mov ds, ax

        ; Addition
        mov ax, num1       ;
        add ax, num2       ; 
        mov result, ax     ; 

        ; Subtraction
        mov ax, num1       ; 
        sub ax, num2       ; 
        mov result+2, ax   ; 

        ; Multiplication
        mov ax, num1       ; 
        mov bx, num2       ; 
        mul bx             ;
        mov result+4, ax   ; 
        mov result+6, dx   ; 

        ; Display results
        mov ax, 4C00h     ; 
        int 21h
    main endp

end main
//Message Queue(Receivers)
#include <stdio.h> 
#include <sys/ipc.h> 
#include <sys/msg.h> 
  
// structure for message queue
struct mesg_buffer { 
    long mesg_type; 
    char mesg_text[100]; 
} message; 


int main() 
{ 
    key_t key; 
    int msgid;
    // ftok to generate unique key 
    key = ftok("somefile", 65); 
    msgid = msgget(key, 0666 | IPC_CREAT); 
   
    printf("Waiting for a message from Client...:\n "); 
   
    msgrcv(msgid, &message, sizeof(message),1,0); 
    // display the message 
    printf("Message Recieved from Client  is : %s \n", message.mesg_text);
    msgctl(msgid,IPC_RMID,NULL);
    return 0; 
} 
//Message Queue(senders)
#include <stdio.h> 
#include <sys/ipc.h> 
#include <sys/msg.h> 
  
// structure for message queue
struct mesg_buffer { 
    long mesg_type; 
    char mesg_text[100]; 
} message; 


int main() 
{ 
    key_t key; 
    int msgid;
    // ftok to generate unique key 
    key = ftok("somefile", 65); 
    msgid = msgget(key, 0666 | IPC_CREAT); 
    message.mesg_type = 1; 
    printf("Insert message : "); 
     fgets(message.mesg_text, sizeof(message.mesg_text), stdin);

    // msgsnd to send message 
    msgsnd(msgid, &message, sizeof(message), 0); 
    // display the message 
    printf("Message sent to sever is : %s \n", message.mesg_text);

    return 0; 
} 
OA1586918418	22B81A05R7	ABHI	AAGANTHAM
OA1586918419	22B81A05R8	ABHINAV	DANTHALA
OA1586918420	22B81A05R9	ABHINAY	ALLAM
OA1586918421	22B81A05S0	ABHISHEK	ALLI
OA1586918422	22B81A05S1	AKHILESH	CHIKATLA
OA1586918423	22B81A05S2	AKSHITHA	ELMELA
OA1586918424	22B81A05S3	AKSHITHA	MAMIDI
OA1586918425	22B81A05S4	ALEKHYA	KADEMAMI
OA1586918426	22B81A05S5	ALOK	GUNDE
OA1586918427	22B81A05S6	BARATHCHANDRA	PONUGOTI
OA1586918454	22B81A05S7	RANKAWAT	CHETHNA
OA1586918455	22B81A05S8	DEVENDHAR SAI	POLISHETTI
OA1586918475	22B81A05S9	DINESH REDDY	PISATI
OA1586918476	22B81A05T0	ESHA	THALLAPUREDDY
OA1586918477	22B81A05T1	GAYATHRI	GARINE
OA1586918504	22B81A05T2	GUNASAI SUDHEERTHI	BANGARU
OA1586918505	22B81A05T3	HARDHIK	RACHURI
OA1586918532	22B81A05T4	HARI	NARAPONGU
OA1586918533	22B81A05T5	GARI HARSHITH RAO	KAULAMMA
OA1586918534	22B81A05T6	CHERUKURI	HASHITHA
OA1586918535	22B81A05T7	JAIDEEP	KURNI
OA1586918536	22B81A05T8	KUMARA SATYA SAI	CHINNALA
OA1586918537	22B81A05T9	LAKSHMI MEGHANA	ARASADA
OA1586918538	22B81A05U0	MAHESH KUMAR	MUTHYALA
OA1586918539	22B81A05U1	NAREN	GOWRU
OA1586918540	22B81A05U2	NEHAL SOHEL	MOHAMMAD
OA1586918541	22B81A05U3	PRANEETH REDDY	BOOTHPUR
OA1586918542	22B81A05U4	PRAVEEN KUMAR	GANGARAM
OA1586918543	22B81A05U5	PUZAA	NIZAMPATNAM
OA1586918544	22B81A05U6	RAGHU HARAN GOUD	NIMMAGUDEM
OA1586918572	22B81A05U7	RAKESH	KASTHURI
OA1586918573	22B81A05U8	RASHMITHA	MANCHI
OA1586918574	22B81A05U9	RISHITHA REDDY	RAMIDI
OA1586918627	22B81A05V0	RISHITHA REDDY	RAMIDI
OA1586918628	22B81A05V1	SAI CHANDHU	GADDAM
OA1586918629	22B81A05V2	SAI KEERTHAN REDDY	CHINNINTI
OA1586918630	22B81A05V3	SAI MANISH	PANDIRI
OA1586918708	22B81A05V4	SAI SUHAS REDDY	PANNALA
OA1586918709	22B81A05V5	SAI VARSHITH	VEMULA
OA1586918710	22B81A05V6	SANA	SHAIK
OA1586918711	22B81A05V7	SANJINI	VEMULA
OA1586918712	22B81A05V8	SANTHOSH	PATHULOTHU
OA1586918731	22B81A05V9	SHERI
OA1586918758	22B81A05W0	SHIVA SHANKAR	GADAGOJU
OA1586918785	22B81A05W1	SHREYA	TIRUNAGARI
OA1586918786	22B81A05W2	SIRI	DEVOJU
OA1586918787	22B81A05W3	MOHAMMED SOHAIB	SHAIK
OA1586918788	22B81A05W4	SRI PAVANI	RACHAKONDA
OA1586918789	22B81A05W5	SRINITH	TAPPA
OA1586918790	22B81A05W6	SWAPNA	KORRA
OA1586918791	22B81A05W7	SWETHA SRI	PERAMALLA
OA1586918792	22B81A05W8	TEJA	G M
OA1586918793	22B81A05W9	TEJAA KARTHIKEYA GOUD	TALLA
OA1586918794	22B81A05X0	TEJASHWINI	GONDLE
OA1586918795	22B81A05X1	THANMAI	REPAKULA
OA1586918796	22B81A05X2	TWISHA REDDY	KAYITI
OA1586918797	22B81A05X3	VAMSHI	SHANIGALA
OA1586918798	22B81A05X4	VAMSHI KRISHNA	PRATHAPAGIRI
OA1586918799	22B81A05X5	VAMSHI REDDY	BARDA
OA1586918800	22B81A05X6	VENKATA SRIKARAN JYOTHIRADITHYA	DAMARAJU
OA1586918845	22B81A05X7	VENKATESHWAR REDDY	MALLYALA
OA1586918846	22B81A05X8	VIBHAVESH	ARAVA
OA1586918847	22B81A05X9	VIJAYA LAKSHMI	JAYASURYA
title: "number positive/negative"
.model small
.stack 100h
.data
   num1 db 80h
  positive db "The number is positive $"
  negative db "The number is negative $"
  zero db "The number is zero $"
.code
   mov ax,@data
       mov ds,ax
       xor ax,ax
   mov al,num1
   cmp num1,0
   jp greater
   jl lower
   jz zeros
greater: mov ah,09h
         lea dx,positive
         int 21h
         jmp end
lower: mov ah,09h
       lea dx,negative
       int 21h 
       jmp end
zeros: mov ah,09h
       lea dx,zero
       int 21h
end:mov ah,4ch
    int 21h
    end
title: "count no.of 1's"
.model small
.stack 100h
.data
   num1 db 05
   count db dup(0)
.code
   mov ax,@data
       mov ds,ax
       xor ax,ax
   mov al,num1
   mov cx,08
   mov bl,0 
   again: rol al,1
          jnc noadd
          inc bl
   noadd:loop again
         mov count,bl
mov ah,4ch
   int 21h
   end
   
title: "count no.of 0's"
.model small
.stack 100h
.data
   num1 db 05h
   count db dup(0)
.code
   start:
   mov ax,@data
       mov ds,ax
       xor ax,ax
   mov al,num1
   mov cx,08
   mov bl,0 
   again: rol al,1
          jc noadd
          inc bl
   noadd:loop again
         mov count,bl
   mov ah,4ch
       int 21h
end  

*************************

title: "count no.of 0's"
.model small
.stack 100h
.data
   num1 db 0feh
   count db dup(0)
.code
   start:
   mov ax,@data
       mov ds,ax
       xor ax,ax
   mov al,num1
   mov cx,08
   mov bl,0 
   again: rol al,1
          jc noadd
          inc bl
   noadd:loop again
         mov count,bl
   mov ah,4ch
       int 21h
end             
title "daa"
.model small
.stack 100h
.data
   num1 db 59h  
   num2 db 35h  
   result db 0  
.code
   mov ax, @data
   mov ds, ax

   mov al, num1  
   add al, num2  
   daa           

   mov result, al  

   mov ah, 4ch   
   int 21h
end
title: "aaa"
.model small
.stack 100h
.data
   num1 db '9'
   num2 db '5'
   ascadj dw dup(0)
.code
   mov ax,@data
       mov ds,ax
       xor ax,ax
   mov al,num1
   add al,num2
   aaa
   mov ascadj,ax
   mov ah,4ch
       int 21h
end              
#include<stdlib.h>
#include<sys/stat.h>
#include<sys/types.h>
#include <stdio.h>
int main(int argc,char *argv[])
{
    const char *p=argv[1];
    const char *f= argv[2];
    mode_t mode=strtol(p,NULL,8);
    if(chmod(f,mode)==-1)
    {
 
       perror("chmod");
       exit (EXIT_FAILURE);
}
   printf("perms are changed");
    return 0;
}
#include<sys/types.h>
#include<stdio.h>
#include<fcntl.h>
int main(){
	char a[30];
	int i,j;
	i=open("/home/cvr/f1.txt",O_RDONLY);
	j=open("/home/cvr/f2.txt",O_CREAT | O_RDWR,S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
	while(read(i,&a,1)){
		write(j,&a,1);
		}
		printf("copied succesfully");
		close(i);
		return 0;
		}

		
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <dirent.h>
#include <pwd.h>
#include <grp.h>
#include <time.h>
#include <sys/stat.h>


void print_permission(mode_t mode) {
    printf((S_ISDIR(mode)) ? "d" : "-");
    printf((mode & S_IRUSR) ? "r" : "-");
    printf((mode & S_IWUSR) ? "w" : "-");
    printf((mode & S_IXUSR) ? "x" : "-");
    printf((mode & S_IRGRP) ? "r" : "-");
    printf((mode & S_IWGRP) ? "w" : "-");
    printf((mode & S_IXGRP) ? "x" : "-");
    printf((mode & S_IROTH) ? "r" : "-");
    printf((mode & S_IWOTH) ? "w" : "-");
    printf((mode & S_IXOTH) ? "x" : "-");
}

void ls_l(const char *dirname) {
    DIR *dir;
    struct dirent *entry;
    struct stat file_stat;
    
    if ((dir = opendir(dirname)) == NULL) {
        perror("opendir");
        exit(EXIT_FAILURE);
    }
    
    while ((entry = readdir(dir)) != NULL) {
        char path[PATH_MAX];
        snprintf(path, PATH_MAX, "%s/%s", dirname, entry->d_name);
        if (stat(path, &file_stat) == -1) {
            perror("stat");
            exit(EXIT_FAILURE);
        }
        struct passwd *user_info = getpwuid(file_stat.st_uid);
        struct group *group_info = getgrgid(file_stat.st_gid);
        printf("%20s %-8s %-8s %lld ", entry->d_name, user_info->pw_name, group_info->gr_name, (long long)file_stat.st_size);
        print_permission(file_stat.st_mode);
        struct tm *time_info = localtime(&file_stat.st_mtime);
        char time_str[80];
        strftime(time_str, sizeof(time_str), "%b %d %H:%M", time_info);
        printf(" %s\n", time_str);
    }
    closedir(dir);
}

int main(int argc, char *argv[]) {
    ls_l(argv[1]);
    return 0;
}
#include<stdio.h>
#include<fcntl.h>
#include<dirent.h>
#include<stdlib.h>
int main(){
	char dname[10];
	DIR *p;
	struct dirent *d;
	printf("Enter dircetory name:");
	scanf("%s",dname);
	p=opendir(dname);
	if(p==NULL){
		perror("cant find dircetory");
		exit(-1);
		}
		while(d=readdir(p))
			printf("%s \n",d->d_name);
		return 0;
		}
		
	
star

Sat May 11 2024 15:20:58 GMT+0000 (Coordinated Universal Time) https://www.youtube.com/watch?v

@Mariukas45

star

Sat May 11 2024 12:48:49 GMT+0000 (Coordinated Universal Time) https://www.alphacodez.com/paxful-clone-script

@jacksonjackk #html #angular #mysql #php

star

Sat May 11 2024 11:06:57 GMT+0000 (Coordinated Universal Time)

@JasonB

star

Sat May 11 2024 08:45:40 GMT+0000 (Coordinated Universal Time)

@sunnywhateverr

star

Sat May 11 2024 07:23:11 GMT+0000 (Coordinated Universal Time)

@freepythoncode ##python #coding #python #api #programming

star

Sat May 11 2024 05:10:00 GMT+0000 (Coordinated Universal Time)

@signup

star

Sat May 11 2024 05:06:11 GMT+0000 (Coordinated Universal Time)

@dsce

star

Sat May 11 2024 04:28:13 GMT+0000 (Coordinated Universal Time)

@dsce

star

Sat May 11 2024 02:08:31 GMT+0000 (Coordinated Universal Time) https://community.chocolatey.org/packages

@baamn

star

Sat May 11 2024 00:42:42 GMT+0000 (Coordinated Universal Time) https://docs.chocolatey.org/en-us/choco/setup

@baamn

star

Fri May 10 2024 23:41:28 GMT+0000 (Coordinated Universal Time)

@Sephjoe

star

Fri May 10 2024 23:24:12 GMT+0000 (Coordinated Universal Time)

@Sephjoe

star

Fri May 10 2024 22:52:25 GMT+0000 (Coordinated Universal Time)

@Sephjoe

star

Fri May 10 2024 22:16:47 GMT+0000 (Coordinated Universal Time)

@madgakantara

star

Fri May 10 2024 21:57:26 GMT+0000 (Coordinated Universal Time)

@madgakantara

star

Fri May 10 2024 21:10:18 GMT+0000 (Coordinated Universal Time)

@madgakantara

star

Fri May 10 2024 19:58:21 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #c++

star

Fri May 10 2024 17:06:55 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 16:55:39 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 16:31:22 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024 #deluge

star

Fri May 10 2024 16:13:11 GMT+0000 (Coordinated Universal Time)

@signup

star

Fri May 10 2024 15:44:32 GMT+0000 (Coordinated Universal Time)

@lawlaw

star

Fri May 10 2024 14:11:51 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/44056271/chrome-runtime-onmessage-response-with-async-await

@surmamilan #javascript

star

Fri May 10 2024 13:49:55 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 13:42:37 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 13:40:49 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 13:14:45 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 12:54:37 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 12:54:00 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 12:29:41 GMT+0000 (Coordinated Universal Time) https://blocksentinels.com/decentralized-exchange-development-company

@oppo11 #dex #dexdevelopment

star

Fri May 10 2024 12:08:08 GMT+0000 (Coordinated Universal Time)

@signup

star

Fri May 10 2024 12:00:31 GMT+0000 (Coordinated Universal Time)

@lawlaw

star

Fri May 10 2024 11:59:31 GMT+0000 (Coordinated Universal Time) https://www.codewhy.net/typescript/537.html

@xynagisa #typescript

star

Fri May 10 2024 11:32:42 GMT+0000 (Coordinated Universal Time) https://blocksentinels.com/decentralized-exchange-development-company

@oppo11 #commandline

star

Fri May 10 2024 08:44:04 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 08:38:30 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 08:35:29 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 05:30:28 GMT+0000 (Coordinated Universal Time) https://www.codecanvas365.com/

@codecanvas ##webdesign #webdevelopment #logo #logo_design #webassembly

star

Fri May 10 2024 04:21:43 GMT+0000 (Coordinated Universal Time)

@signup

star

Fri May 10 2024 04:14:43 GMT+0000 (Coordinated Universal Time)

@signup

star

Fri May 10 2024 02:37:04 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:34:00 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:32:49 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:32:27 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:32:01 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:31:31 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:29:16 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:28:57 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:28:34 GMT+0000 (Coordinated Universal Time)

@exam123

star

Fri May 10 2024 02:28:05 GMT+0000 (Coordinated Universal Time)

@exam123

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension