Skip to content

Commit 80e5129

Browse files
committed
Update consolidated snippets
1 parent 203a818 commit 80e5129

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/consolidated/c.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"numbers"
3939
],
4040
"contributors": [],
41-
"code": "#include<stdio.h>\nvoid swap(int* num1,int* num2){\n *num1 = *num1 + *num2;\n *num2 = *num1 - *num2;\n *num1 = *num1 - *num2;\n}\n\n// Usage:\nint a = 3,b = 4;\nswap(&a,&b); // simply use printf after this to print swapped values\n"
41+
"code": "#include<stdio.h>\nvoid swap(int* num1,int* num2){\n *num1 = *num1 + *num2;\n *num2 = *num1 - *num2;\n *num1 = *num1 - *num2;\n}\n\n// Usage:\nint a = 3,b = 4;\nswap(&a,&b); // swaps the values of the a and b variables\n"
4242
}
4343
]
4444
}

public/consolidated/scss.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"code": "@mixin line-clamp($number) {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: $number;\n overflow: hidden;\n}\n"
158158
},
159159
{
160-
"title": "Function to convert px to rem",
160+
"title": "PX to REM Helper",
161161
"description": "This function will convert px values to rem values.",
162162
"author": "gihanrangana",
163163
"tags": [

0 commit comments

Comments
 (0)