MelaineGerard / gist:b4e8f66c7c154a7e9a6a50118e80f9de
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
1 | <!DOCTYPE html> |
2 | <html> |
3 | <body> |
4 | |
5 | <h1>My First Heading</h1> |
6 | |
7 | <p>My first paragraph.</p> |
8 | |
9 | </body> |
10 | </html> |
snopengist / test
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
1 | This is just a test to see what this service really worth and whether should I self host an instance myself. |
2 | This line is new. I made it through an online Gist Edit. |
rododol575 / .yaml
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní
1 | services: |
2 | opengist: |
3 | image: ghcr.io/thomiceli/opengist:1.8 |
4 | container_name: opengist |
5 | restart: unless-stopped |
6 | ports: |
7 | - "6157:6157" # HTTP port |
8 | - "2222:2222" # SSH port, can be removed if you don't use SSH |
9 | volumes: |
10 | - "$HOME/.opengist:/opengist" |
thomas / gist:93531801654143bc94c72c3786e4ae54
0 Lajky
0 Forky
2 Soubory
Naposledy aktivní
1 | azeaze |
thomas / gist:59465537b9a84c80899806d938dc0ed0
0 Lajky
0 Forky
0 Soubory
Naposledy aktivní
Žádný obsah
ProtyayMnd50 / getminSum.py
0 Lajky
0 Forky
2 Soubory
Naposledy aktivní
1 | |
2 | def getMinimumSum(arr): |
3 | n = len(arr) |
4 | if n < 3: |
5 | return -1 |
6 | |
7 | left_min = [None] * n |
8 | min_so_far = float('inf') |
9 | |
10 | # Populate left_min |
ProtyayMnd50 / variantsCount.cpp
0 Lajky
0 Forky
4 Soubory
Naposledy aktivní
1 | #include <bits/stdc++.h> |
2 | using namespace std; |
3 | |
4 | int countPairs(const vector<int>& projectCosts, int target) { |
5 | // Using an unordered set to keep track of visited numbers |
6 | unordered_set<int> visited; |
7 | int count = 0; |
8 | |
9 | // Iterate through each number in the list |
10 | for (int cost : projectCosts) { |
Novější
Starší