Snippets Collections
#include <stdio.h>
#include <stdbool.h>

bool isPalindrome(int n) {
    int reversed = 0, original = n, remainder;
    while (n != 0) {
        remainder = n % 10;
        reversed = reversed * 10 + remainder;
        n /= 10;
    }
    return original == reversed;
}

int main() {
    int n;
    printf("Enter a number: ");
    scanf("%d", &n);
    if (isPalindrome(n)) {
        printf("%d is a palindrome number.\n", n);
    } else {
        printf("%d is not a palindrome number.\n", n);
    }
    return 0;
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Event Schedule List</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        div {
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
    <h1>Event Schedule List</h1>

    <div id="CommonEvents">
        <h2>Supported Events</h2>
        <ul type="circle">
            <li>Concerts</li>
            <li>Conferences</li>
            <li>Films</li>
            <li>Panel Debates</li>
            <li>Performances</li>
            <li>Seminars</li>
            <li>Talks & Discussions</li>
            <li>Workshops</li>
        </ul>
    </div>

    <div id="CorporateEvents">
        <h2>Corporate Events</h2>
        <ul type="square">
            <li>Team Building Events</li>
            <li>Trade Shows</li>
            <li>Business Dinners</li>
            <li>Networking Events</li>
            <li>Opening Ceremonies</li>
            <li>Product Launches2018</li>
            <li>Theme Parties</li>
            <li>Shareholder Meetings</li>
        </ul>
    </div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GoldenPetal Events - Mega Consumer Fair</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        ol {
            margin-bottom: 20px;
        }
        p {
            margin: 10px 0;
        }
    </style>
</head>
<body>
    <h1>GoldenPetal Events</h1>
    <h2>Mega Consumer Fair</h2>
    
    <!-- First ordered list -->
    <ol start="1">
        <li>Bridal party</li>
        <li>Engagement parties</li>
        <li>Caterer</li>
        <li>Wedding ceremony</li>
    </ol>

    <!-- Description after first list -->
    <p>You can't imagine your wedding day without your best friends. So read our advice on how to choose your bridesmaids and groomsmen, get their duties in detail, and new bridesmaid and groomsmen gift ideas. Plus, read all you need to know about casting your very important extras -- from the flower girl to the ushers, readers, and candlelighters.</p>

    <p>One of the most personal and important aspects of your wedding planning process will be choosing your wedding party! Your wedding party (also known as the bridal party) will include not only the people who will help you plan your big day, but they also are those you will want by your side when you walk down the aisle and say your vows. Typically your wedding party is made up of your sisters, brothers and closest friends or family members. This page will serve as a guide to share all of the duties, roles and responsibilities that are involved for each participant of the wedding party. Each individual member of the wedding party has unique responsibilities, so click on each of the roles below to read thorough explanations of those duties.</p>

    <!-- Second ordered list with continuation of numbering -->
    <ol start="5">
        <li>Seminars and Conferences</li>
        <li>Appreciation Events</li>
        <li>Team Building Events</li>
    </ol>

    <!-- Description after second list -->
    <p>An engagement party is a party held to celebrate a couple's recent engagement and to help future wedding guests to get to know one another. Traditionally, the bride's parents host the engagement party, but many modern couples host their own celebration.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pink Frag Event Management</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            text-align: center;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        td {
            padding: 10px;
            border: 1px solid #ddd;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        h2 {
            margin: 0;
            font-size: 1.5em;
        }
    </style>
</head>
<body>
    <h1>Pink Frag Event Management</h1>
    <p>Simple Layout Format</p>

    <table id="eventTable">
        <!-- First Row -->
        <tr>
            <td colspan="1">
                <img src="eventLogo1.png" id="eventLogo1" alt="Event Logo 1">
            </td>
            <td colspan="4">
                Pink Frag Event Management
            </td>
            <td colspan="1">
                <img src="eventLogo2.png" id="eventLogo2" alt="Event Logo 2">
            </td>
        </tr>

        <!-- Second Row -->
        <tr>
            <td colspan="2">
                Event management is the application of project management to the creation and development of large scale events such as festivals, conferences, ceremonies, weddings, formal parties, concerts, or conventions. It involves studying the brand, identifying its target audience, and coordinating the technical aspects before actually launching the event.
            </td>
            <td colspan="2">
                The process of planning and coordinating the event is usually referred to as event planning and which can include budgeting, scheduling, site selection, acquiring necessary permits, coordinating transportation and parking, arranging for speakers or entertainers, arranging decor, event security, catering, coordinating with third party vendors, and emergency plans.
            </td>
            <td colspan="2">
                Each event is different in its nature, so process of planning & execution of each event differs on the basis of type of event. The events industry now includes events of all sizes from the Olympics down to business breakfast meetings. Many industries, charitable organizations, and interest groups hold events in order to market themselves or celebrate an achievement.
            </td>
        </tr>

        <!-- Third Row -->
        <tr>
            <td colspan="3">
                <h2>Wedding Planner</h2>
                A wedding planner is a professional who assists with the design, planning and management of a client's wedding. Weddings are significant events in people's lives and as such, couples are often willing to spend a considerable amount of money to ensure that their weddings are well-organized.
            </td>
            <td colspan="3">
                <h2>Corporate Event</h2>
                A corporate event can be defined as a gathering that is sponsored by a business for its employees, business partners, clients and/or prospective clients. These events can be for larger audiences such as conventions or smaller events like conferences, meetings or holiday parties.
            </td>
        </tr>
    </table>
</body>
</html>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: linear-gradiet(300deg, #757b87, #909d9d);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}
input {
    padding: 1rem;
    border-radius: 25px;
    border: none;
    background-color: #fff;
    font-family: inherit;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    font-size: 1rem;
}
input:focus {
    outline: none;
}
.weather {
    text-align: center;
    font-size: 2rem;
}
.weather h2 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
} /* .weather img{ transform: scale(2); } */
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Weather</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <form id="form">
        <input type="text" id="search" placeholder="Search By Loaction" autocomplete="off">
    </form>
    <main id="main">

    </main>

    <script src="app.js"></script>
</body>

</html>
using namespace std;

// An iterative binary search function.
int binarySearch(int arr[], int low, int high, int x)
{
    while (low <= high) {
        int mid = low + (high - low) / 2;

        // Check if x is present at mid
        if (arr[mid] == x)
            return mid;

        // If x greater, ignore left half
        if (arr[mid] < x)
            low = mid + 1;

        // If x is smaller, ignore right half
        else
            high = mid - 1;
    }

    // If we reach here, then element was not present
    return -1;
}

// Driver code
int main(void)
{
    int arr[] = { 2, 3, 4, 10, 40 };
    int x = 10;
    int n = sizeof(arr) / sizeof(arr[0]);
    int result = binarySearch(arr, 0, n - 1, x);
    if(result == -1) cout << "Element is not present in array";
    else cout << "Element is present at index " << result;
    return 0;
}
import java.util.*; 
import java.io.*;

class Main {
   public static String CodelandUsernameValidation(String str) {
    // code goes here 

    if(str.length() < 4 || str.length() > 25 || Character.isLetter(str.charAt(0)) == false || str.charAt(str.length()-1) == '_') {
      return "false";
    } 
    else{
      for(int i=0;i<str.length();i++){
        if(Character.isLetter(str.charAt(i)) || Character.isDigit(str.charAt(i)) || str.charAt(i) == '_'){
          continue;
        }
        else{
          return "false";
        }
      }
    }
    return "true";
    
  }

  public static void main (String[] args) {  
    // keep this function call here     
    Scanner s = new Scanner(System.in);
    System.out.print(CodelandUsernameValidation(s.nextLine())); 
  }

}

  
function throttle(fun, delay) {
    let isRun = true;
    return function (...args) {
        if (isRun) {
            fun.apply(this, args)
            isRun = false
            setTimeout(() => {
                isRun = true
            }, delay)
        }
    }
}
function debounce(fun, delay) {
    let i;
    return function (...args) {
        if (i) clearTimeout(i)
        setTimeout(() => {
            fun.apply(this, args)
        }, delay);
    }
}
function hasChanged(x, y) {
    if (x === y) return x === 0 && 1 / x !== 1 / y
    else return x === x || y === y
}
; (function () {
    const ob = new IntersectionObserver((entries) => {
        entries.filter(entry => entry.isIntersecting).forEach(entry => {
            const img = entry.target;
            img.src = img.dataset.src;
            ob.unobserve(img);
        })
    })

    const imgs = document.querySelectorAll('img[data-src]');
    imgs.forEach(img => { ob.observe(img) });
})();
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
public class App {

    public static void main(String[] args) {
        System.out.println("Hello World!");

        myVariables();
        DataTypes();
        Casting();
        Operations();
    }

    public static void myVariables() {
        int Book = 10;
        double Pen = 20.5;
        String Paper = "Hello";
        char Pencil = 'P';
        boolean Binder = true;
        
        System.out.println("My Variable:");
        System.out.println("int: " + Book);
        System.out.println("double: " + Pen);
        System.out.println("String: " + Paper);
        System.out.println("char: " + Pencil);
        System.out.println("boolean: " + Binder);
    }

    public static void DataTypes() {
        byte Watch = 9;
        short Fan = 50;
        int Shirt = 100;
        long Gown = 857;
        float Bag = 10.5f;
        double Pants = 50.99;
        char Umbrella = 'A';
        boolean Shoes = true;

        System.out.println("\nDifferent Data Types:");
        System.out.println("byte: " + Watch);
        System.out.println("short: " + Fan);
        System.out.println("int: " + Shirt);
        System.out.println("long: " + Gown);
        System.out.println("float: " + Bag);
        System.out.println("double: " + Pants);
        System.out.println("char: " + Umbrella);
        System.out.println("boolean: " + Shoes);
    }

    public static void Casting() {
        int intVar = 20;
        double WideCast = intVar;
        
        double doubleVar = 20.78;
        int NarCast = (int) doubleVar;

        System.out.println("\nCasting:");
        System.out.println("Wide casting (int to double): " + WideCast);
        System.out.println("Narrow casting (double to int): " + NarCast);
    }

    public static void Operations() {
        int a = 20;
        int b = 21;

        System.out.println("\nOperations on different operators:");
        System.out.println("Addition (a + b): " + (a + b));
        System.out.println("Subtraction (a - b): " + (a - b));
        System.out.println("Multiplication (a * b): " + (a * b));
        System.out.println("Division (a / b): " + (a / b));
        System.out.println("Modulus (a % b): " + (a % b));

        System.out.println("a is greater than b: " + (a > b));

        boolean result = (a > b) && (a != b);
        System.out.println("Logical AND operation (a > b && a != b): " + result);
    }
}
file:///C:/Users/Vu%20Minh/Desktop/KCBOOK%20-%20chuyen%20de%20-%20qhd%20-%20ctdl%20-%20dt%20-%20chuyentin.pro.pdf
// Use the ColorFromPalette function to rotate through the rainbow by the colorIndex
//ColorFromPalette( paletteName, colorIndex[0-255], brightness[0-255], blendType[NOBLEND or LINEARBLEND])
leds[j] = ColorFromPalette(RainbowColors_p, colorIndex, 255, LINEARBLEND);
colorIndex += 15;  // Increment the colorIndex to change the color for the next LED
// Add new variable to track the color palette indices
uint8_t colorIndex;
// Webpack 5

const nodeExternals = require('webpack-node-externals');
...
module.exports = {
    ...
    externalsPresets: { node: true }, // in order to ignore built-in modules like path, fs, etc.
    externals: [nodeExternals()], // in order to ignore all modules in node_modules folder
    ...
};
const nodeExternals = require('webpack-node-externals');
...
module.exports = {
    ...
    target: 'node', // in order to ignore built-in modules like path, fs, etc.
    externals: [nodeExternals()], // in order to ignore all modules in node_modules folder
    ...
};
npm install webpack-node-externals --save-dev
config: {
  ...
  installDevTools: {
    extensions: [
      'REACT_DEVELOPER_TOOLS',
      'REDUX_DEVTOOLS'
    ],
    forceDownload: false
  }
}
plugins: [
  "hyper-manager",
  // other plugins...
],
hyper install hyper-manager
module.exports = {
  config: { /*... */ },

  keymaps: {
    'window:devtools': 'cmd+alt+o'
  }

};
useCopilotAction({
   name: "sortHouseListings",
   description: "Sort the displayed house listings",
   parameters: [
     {
       name: "columnId",
       type: "string",
       description: "The ID of the column to sort on",
      },
    ],
    handler: async ({columnId, sortDirection}) => {
      sortColumn(columnId, sortDirection);
    },
  });

            // Stored Procedures
            builder.HasAnnotation("SqlServer:IncludeProcedures", new
            {
                UpdateUserDeletionSettings = @"
                    CREATE PROCEDURE UpdateUserDeletionSettings
                        @DeletionTimeValue INT,
                        @DeletionTimeUnit NVARCHAR(20)
                    AS
                    BEGIN
                        SET NOCOUNT ON;
                        DECLARE @DeletionThreshold DATETIME;
                        SET @DeletionThreshold = CASE
                            WHEN @DeletionTimeUnit = 'Minutes' THEN DATEADD(MINUTE, -@DeletionTimeValue, GETUTCDATE())
                            WHEN @DeletionTimeUnit = 'Hours' THEN DATEADD(HOUR, -@DeletionTimeValue, GETUTCDATE())
                            WHEN @DeletionTimeUnit = 'Days' THEN DATEADD(DAY, -@DeletionTimeValue, GETUTCDATE())
                            WHEN @DeletionTimeUnit = 'Weeks' THEN DATEADD(WEEK, -@DeletionTimeValue, GETUTCDATE())
                            WHEN @DeletionTimeUnit = 'Months' THEN DATEADD(MONTH, -@DeletionTimeValue, GETUTCDATE())
                            WHEN @DeletionTimeUnit = 'Years' THEN DATEADD(YEAR, -@DeletionTimeValue, GETUTCDATE())
                            ELSE GETUTCDATE()
                        END;

                        DELETE FROM dbo.AspNetUsers
                        WHERE User_Status_ID = 2 AND DeactivatedAt < @DeletionThreshold;
                    END",
                UpdateOrderStatuses = @"
                    CREATE PROCEDURE UpdateOrderStatuses
                        @OverdueTimeValue INT,
                        @OverdueTimeUnit NVARCHAR(20)
                    AS
                    BEGIN
                        SET NOCOUNT ON;
                        DECLARE @OverdueThreshold DATETIME;
                        SET @OverdueThreshold = CASE
                            WHEN @OverdueTimeUnit = 'Minutes' THEN DATEADD(MINUTE, -@OverdueTimeValue, GETUTCDATE())
                            WHEN @OverdueTimeUnit = 'Hours' THEN DATEADD(HOUR, -@OverdueTimeValue, GETUTCDATE())
                            WHEN @OverdueTimeUnit = 'Days' THEN DATEADD(DAY, -@OverdueTimeValue, GETUTCDATE())
                            WHEN @OverdueTimeUnit = 'Weeks' THEN DATEADD(WEEK, -@OverdueTimeValue, GETUTCDATE())
                            WHEN @OverdueTimeUnit = 'Months' THEN DATEADD(MONTH, -@OverdueTimeValue, GETUTCDATE())
                            WHEN @OverdueTimeUnit = 'Years' THEN DATEADD(YEAR, -@OverdueTimeValue, GETUTCDATE())
                            ELSE GETUTCDATE()
                        END;

                        UPDATE dbo.Orders
                        SET Order_Status_ID = CASE
                            WHEN Order_Date <= @OverdueThreshold THEN 2
                            ELSE Order_Status_ID
                        END
                        WHERE IsCollected = 0;
                    END",
                GetQualifyingMembers = @"
                    CREATE PROCEDURE GetQualifyingMembers
                        @RewardCriteria NVARCHAR(50)
                    AS
                    BEGIN
                        SET NOCOUNT ON;
                        IF @RewardCriteria = 'Placed a Booking'
                        BEGIN
                            SELECT DISTINCT m.Member_ID
                            FROM Members m
                            INNER JOIN Bookings b ON b.Member_ID = m.Member_ID;
                        END
                        ELSE IF @RewardCriteria = 'Completed 10 Bookings in a Month'
                        BEGIN
                            SELECT m.Member_ID
                            FROM Members m
                            INNER JOIN Bookings b ON b.Member_ID = m.Member_ID
                            INNER JOIN Booking_Time_Slots bts ON b.Booking_ID = bts.Booking_ID
                            INNER JOIN Time_Slots ts ON bts.Time_Slot_ID = ts.Time_Slot_ID
                            WHERE ts.Slot_Date >= DATEADD(MONTH, -1, GETDATE())
                            GROUP BY m.Member_ID
                            HAVING COUNT(DISTINCT b.Booking_ID) >= 10;
                        END
                        ELSE IF @RewardCriteria = 'Made 20 Bookings in Last 3 Months'
                        BEGIN
                            SELECT m.Member_ID
                            FROM Members m
                            INNER JOIN Bookings b ON b.Member_ID = m.Member_ID
                            INNER JOIN Booking_Time_Slots bts ON b.Booking_ID = bts.Booking_ID
                            INNER JOIN Time_Slots ts ON bts.Time_Slot_ID = ts.Time_Slot_ID
                            WHERE ts.Slot_Date >= DATEADD(MONTH, -3, GETDATE())
                            GROUP BY m.Member_ID
                            HAVING COUNT(DISTINCT b.Booking_ID) >= 20;
                        END
                        ELSE IF @RewardCriteria = 'Placed First Order'
                        BEGIN
                            SELECT m.Member_ID
                            FROM Members m
                            WHERE EXISTS (
                                SELECT 1 
                                FROM Orders o 
                                WHERE o.Member_ID = m.Member_ID
                                AND o.Order_Date = (
                                    SELECT MIN(o2.Order_Date)
                                    FROM Orders o2
                                    WHERE o2.Member_ID = m.Member_ID
                                )
                            );
                        END
                        ELSE IF @RewardCriteria = 'Made a Payment'
                        BEGIN
                            SELECT DISTINCT m.Member_ID
                            FROM Members m
                            INNER JOIN Orders o ON o.Member_ID = m.Member_ID
                            INNER JOIN Payments p ON p.Order_ID = o.Order_ID;
                        END
                        ELSE IF @RewardCriteria = 'High-Value Order'
                        BEGIN
                            SELECT DISTINCT m.Member_ID
                            FROM Members m
                            INNER JOIN Orders o ON o.Member_ID = m.Member_ID
                            WHERE o.Total_Price >= 1000;
                        END
                        ELSE IF @RewardCriteria = 'Large Quantity Order'
                        BEGIN
                            SELECT m.Member_ID
                            FROM Members m
                            WHERE (
                                SELECT SUM(ol.Quantity)
                                FROM Order_Lines ol
                                INNER JOIN Orders o ON ol.Order_ID = o.Order_ID
                                WHERE o.Member_ID = m.Member_ID
                            ) >= 10;
                        END
                        ELSE
                        BEGIN
                            SELECT * FROM Members WHERE 1 = 0;
                        END
                    END"
            });
add_filter( 'sptp_modal_load_by_rest_api', '__return_false' );
Configure a new remote `try-gitless`
$ gl remote -c try-gitless
https://github.com/gitless-vcs/try-gitless
✔ Remote try-gitless mapping to
https://github.com/gitless-vcs/try-gitless
created successfully
  ➜ to list existing remotes do gl remote
  ➜ to remove try-gitless do gl remote -d try-gitless

Download and apply changes from a branch in
`try-gitless`
$ gl fuse try-gitless/master
...
✔ Fuse succeeded
If you instead want to merge the changes, you
can do `gl merge try-gitless/master`

You can also set an upstream for the current branch
$ gl branch -su try-gitless/master
✔ Current branch master set to track
try-gitless/master
$ gl fuse
! No src branch specified, getting changes from
upstream branch try-gitless/master
...
✔ Fuse succeeded

Send changes to the remote
$ gl publish
! No src branch specified, sending changes to
upstream branch try-gitless/master
✔ Publish succeeded
Only the changes in the current branch are uploaded
$ gl fuse develop
...
✘  There are conflicts you need to resolve
$ gl status
On branch master, repo-directory //

You are in the middle of a fuse; all
conflicts must be resolved before
committing
...
Tracked files with modifications:
...
  foo (with conflicts)
...









Switch to `bugfix`
$ gl switch bugfix
✔ Switched to branch bugfix
No conflicts here















Switch back to `develop`
$ gl switch develop
✔ Switched to branch develop
$ gl status
On branch master, repo-directory //

You are in the middle of a fuse; all
conflicts must be resolved before
committing
...
Tracked files with modifications:
...
  foo (with conflicts)
...
Say we have uncommitted changes to `foo` that
conflict with the state of `foo` in branch `develop`

Switch to `develop`
$ gl switch develop
✔ Switched to branch develop

$ gl status
...
Tracked files with modifications:
...
  foo
...

Create new branch `develop`
$ gl branch -c develop
✔ Created new branch develop

Switch to `develop`
$ gl switch develop
✔ Switched to branch develop
$ gl status
... no changes to foo here




Switch back to `master`
$ gl switch master
✔ Switched to branch master
$ gl status
...
Tracked files with modifications:
...
  foo
...
If you want the uncommitted changes to follow you
into the new branch you can use the mo/move-over
flag to move over the changes in the current branch
to the destination branch
$ gl status
...
Tracked files with modifications:
...
  foo
...

Stop tracking changes to `foo`
$ gl untrack foo
✔ File foo is now an untracked file
Now `foo` won't be automatically considered for
commit
$ gl status
...
Untracked files:
...
  foo (exists at head)
...

Start tracking changes to `foo` again
$ gl track foo
✔ File foo is now a tracked file
Now `foo` will be automatically considered for commit
$ gl status
...
Tracked files with modifications:
...
  foo
...
Commit all modified tracked files
$ gl commit
The default set of files to be committed are all
modified tracked files

Leave some modified tracked files (`foo`, `bar`)
out of the commit
$ gl commit -e foo bar
e/exclude excludes files from the default set
of files to be committed

Include some untracked files in the commit
$ gl commit -i foo2 bar2
i/include includes files to the default set
of files to be committed

Commit only some of the modified tracked files
$ gl commit foo3 bar3
listing files restricts the set of files to be committed
to only the specified ones

Commit only some of the modified tracked or
untracked files
$ gl commit foo3 bar3 foo4

$ gl tag -c v1.0
✔ Created new tag v1.0
$ gl tag
List of tags:
  ➜ do gl tag <t> to create tag t
  ➜ do gl tag -d <t> to delete tag t

    v1.0 ➜  tags 311bf7c Ready to release
$ gl remote -c try-gitless https://github.com/gitless-vcs/try-gitless
✔ Remote try-gitless mapping to https://github.com/gitless-vcs/try-gitless created
successfully
  ➜ to list existing remotes do gl remote
  ➜ to remove try-gitless do gl remote -d try-gitless
$ gl branch -c develop
✔ Created new branch develop
$ gl switch develop
✔ Switched to branch develop
$ gl branch
List of branches:
  ➜ do gl branch <b> to create branch b
  ➜ do gl branch -d <b> to delete branch b
  ➜ do gl switch <b> to switch to branch b
  ➜ * = current branch

    * master
      develop
$ gl commit -m "foo and bar"
$ gl commit -m "only foo" foo.py
$ gl commit -m "only foo and baz" foo.py baz.py
$ gl commit -m "only foo" -e bar.py
$ gl commit -m "only foo and baz" -e bar.py -i baz.py
$ gl commit -m "foo, bar and baz" -i baz.py
$ ls
bar.py  baz.py  foo.py  foo.pyc .gitignore
$ gl status
On branch master, repo-directory //

Tracked files with modifications:
  ➜ these will be automatically considered for commit
  ➜ use gl untrack <f> if you don't want to track changes to file f
  ➜ if file f was committed before, use gl checkout <f> to discard local changes

    foo.py
    bar.py

Untracked files:
  ➜ these won't be considered for commit)
  ➜ use gl track <f> if you want to track changes to file f

    baz.py
$ mkdir try-gitless
$ cd try-gitless/
$ gl init https://github.com/gitless-vcs/try-gitless
✔ Local repo created in /MyFiles/try-gitless
✔ Initialized from remote https://github.com/gitless-vcs/try-gitless
$ mkdir foo
$ cd foo/
$ gl init
✔ Local repo created in /MyFiles/foo
star

Sat Aug 31 2024 07:14:19 GMT+0000 (Coordinated Universal Time) https://goodvibesonly.cloud/category/tutorials-in-hindi/c-tutorial-in-hindi/

@geeknotnerd

star

Sat Aug 31 2024 06:15:21 GMT+0000 (Coordinated Universal Time) https://github.com/vercel/next.js/tree/canary/examples/with-typescript

@icao21

star

Sat Aug 31 2024 05:54:58 GMT+0000 (Coordinated Universal Time)

@signup

star

Sat Aug 31 2024 05:51:17 GMT+0000 (Coordinated Universal Time)

@signup

star

Sat Aug 31 2024 05:41:02 GMT+0000 (Coordinated Universal Time)

@signup

star

Fri Aug 30 2024 23:37:12 GMT+0000 (Coordinated Universal Time) https://whiskerstotailspetsitting.com/2017/05/purr-fect-list-cat-vocabulary-not-kitten-around/

@LizzyTheCatto

star

Fri Aug 30 2024 21:21:21 GMT+0000 (Coordinated Universal Time) https://www.codewithrandom.com/2023/11/25/weather-app-javascript-weather-app-using-html-css-javascript/

@icao21

star

Fri Aug 30 2024 21:21:14 GMT+0000 (Coordinated Universal Time) https://www.codewithrandom.com/2023/11/25/weather-app-javascript-weather-app-using-html-css-javascript/

@icao21

star

Fri Aug 30 2024 11:51:17 GMT+0000 (Coordinated Universal Time)

@Suryansh1807 #c++

star

Fri Aug 30 2024 09:03:07 GMT+0000 (Coordinated Universal Time)

@Thiru #java

star

Fri Aug 30 2024 05:46:22 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 05:45:29 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 05:24:10 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 05:08:29 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 02:45:07 GMT+0000 (Coordinated Universal Time) https://rustup.rs/

@mikefried

star

Fri Aug 30 2024 01:40:25 GMT+0000 (Coordinated Universal Time)

@hungarylin2

star

Fri Aug 30 2024 00:40:08 GMT+0000 (Coordinated Universal Time) https://vietcodes.github.io/algo/biconnect

@LizzyTheCatto

star

Fri Aug 30 2024 00:39:35 GMT+0000 (Coordinated Universal Time) https://vietcodes.github.io/algo/biconnect

@LizzyTheCatto

star

Thu Aug 29 2024 20:01:12 GMT+0000 (Coordinated Universal Time)

@TechBox #c++

star

Thu Aug 29 2024 19:57:52 GMT+0000 (Coordinated Universal Time)

@TechBox #c++

star

Thu Aug 29 2024 13:57:17 GMT+0000 (Coordinated Universal Time) https://github.com/bomanimc/gitrocket

@mikefried

star

Thu Aug 29 2024 13:57:15 GMT+0000 (Coordinated Universal Time) https://github.com/bomanimc/gitrocket

@mikefried

star

Thu Aug 29 2024 13:56:16 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/webpack-node-externals

@mikefried

star

Thu Aug 29 2024 13:56:13 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/webpack-node-externals

@mikefried

star

Thu Aug 29 2024 13:56:11 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/webpack-node-externals

@mikefried

star

Thu Aug 29 2024 13:53:18 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/hyperterm-install-devtools

@mikefried

star

Thu Aug 29 2024 13:51:56 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/hyper-manager

@mikefried

star

Thu Aug 29 2024 13:51:54 GMT+0000 (Coordinated Universal Time) https://www.npmjs.com/package/hyper-manager

@mikefried

star

Thu Aug 29 2024 13:33:44 GMT+0000 (Coordinated Universal Time) https://hyper.is/

@mikefried

star

Thu Aug 29 2024 13:33:30 GMT+0000 (Coordinated Universal Time) https://hyper.is/

@mikefried

star

Thu Aug 29 2024 12:24:32 GMT+0000 (Coordinated Universal Time)

@cseagul #typescript

star

Thu Aug 29 2024 11:50:50 GMT+0000 (Coordinated Universal Time)

@iamkatmakhafola

star

Thu Aug 29 2024 09:55:48 GMT+0000 (Coordinated Universal Time) https://www.coinsclone.com/nft-lending-platform-development/

@LilianAnderson #nftlending #blockchain #passiveincome #nftplatform #nftmarketplace

star

Thu Aug 29 2024 08:57:35 GMT+0000 (Coordinated Universal Time) https://www.berlinghoff-rast.ch/wp-admin/admin.php?page

@Pulak

star

Thu Aug 29 2024 07:46:04 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:46:00 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:45:55 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:45:50 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:45:43 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:45:35 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:45:01 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:44:57 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:44:52 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:44:43 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:44:39 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:44:33 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:44:17 GMT+0000 (Coordinated Universal Time) undefined

@mikefried

star

Thu Aug 29 2024 07:43:59 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:43:51 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

star

Thu Aug 29 2024 07:43:47 GMT+0000 (Coordinated Universal Time) https://gitless.com/

@mikefried

Save snippets that work with our extensions

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