This file contains 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
feat: Indicates a new feature or enhancement. | |
fix: Indicates a bug fix or correction of an issue. | |
docs: Indicates documentation-related changes, such as adding or updating documentation. | |
style: Indicates changes that do not affect the code's functionality, such as formatting, indentation, or whitespace changes. | |
refactor: Indicates code refactoring or restructuring without changing its external behavior. | |
test: Indicates changes related to testing, such as adding or modifying test cases. | |
chore: Indicates miscellaneous changes that do not fit into any other category, such as updating dependencies or build configurations. | |
perf: Indicates performance-related changes, such as optimizations or improvements. | |
ci: Indicates changes to the continuous integration (CI) pipeline or configurations. | |
revert: Indicates reverting a previous commit. |
This file contains 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
git fetch orgin main | |
git reset --hard origin/main | |
git pull |
This file contains 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
from collections import defaultdict | |
import math | |
ll = lambda : list(map(int,input().split())) | |
ls = lambda : list(map(str,input().split())) | |
for _ in range(int(input())): | |
n = int(input()) |
This file contains 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
Snake case for variable and function name. eg get_customer_name() | |
constants are uppercase. eg PI | |
class names are upperCamelCase. eg MyClass | |
module names are all lowercase. eg mymodule |
This file contains 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
<img src="nature.jpg" alt="Nature" class="responsive"> | |
.responsive { | |
max-width: 100%; | |
height: auto; | |
} |
This file contains 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
body{ | |
background:#000; | |
filter: invert(1) hue-rotate(360deg); | |
} | |
p{ | |
color:pink; | |
} | |
//Invert 0 and background #FFF for again normal mode |
This file contains 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
.img{ | |
height:100%; | |
width:100%; | |
object.fit:contain; | |
} |