This file contains hidden or 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
#include<stdio.h> | |
#define CAPACITY 3 | |
int stack[CAPACITY]; | |
int top = -1; | |
void push(int x) { | |
if(top < CAPACITY - 1) { | |
top = top + 1; | |
stack[top]= x; |
This file contains hidden or 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
/* Center and Crop Image Thumbnails with CSS keeping Aspect Ratio */ | |
img { | |
width: 100%; | |
height: 100%; | |
object-fit: cover; | |
} |
This file contains hidden or 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
/** | |
* Swapping two variables is a common task in programming. In Kotlin, we can do this in a clean and elegant way using the also scope function. | |
* 𝗮 = 𝗯.𝗮𝗹𝘀𝗼 { 𝗯 = 𝗮 } | |
* ✅ 𝘏𝘰𝘸 𝘐𝘵 𝘞𝘰𝘳𝘬𝘴? | |
* ✔ 𝘚𝘵𝘦𝘱 1: 𝘛𝘩𝘦 𝘣𝘭𝘰𝘤𝘬 { 𝘣 = 𝘢 } 𝘳𝘶𝘯𝘴 𝘧𝘪𝘳𝘴𝘵, 𝘶𝘱𝘥𝘢𝘵𝘪𝘯𝘨 𝘣 𝘸𝘪𝘵𝘩 𝘢'𝘴 𝘷𝘢𝘭𝘶𝘦. | |
* ✔ 𝘚𝘵𝘦𝘱 2: 𝘣.𝘢𝘭𝘴𝘰 𝘳𝘦𝘵𝘶𝘳𝘯𝘴 𝘵𝘩𝘦 𝘰𝘳𝘪𝘨𝘪𝘯𝘢𝘭 𝘷𝘢𝘭𝘶𝘦 𝘰𝘧 𝘣, 𝘸𝘩𝘪𝘤𝘩 𝘪𝘴 𝘵𝘩𝘦𝘯 𝘢𝘴𝘴𝘪𝘨𝘯𝘦𝘥 𝘵𝘰 𝘢. | |
*/ | |
// Traditional approach | |
var a = 5 | |
var b = 10 |
This file contains hidden or 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
<a href="Your 1st link " onclick="window.open('your 2nd link'); return true;">Click Here</a> |
This file contains hidden or 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
<form method="post" action="https://tarikuzzamantito-02.myshopify.com/password/" target="_blank"> | |
<input type="hidden" name="form_type" value="storefront_password"> | |
<input type="hidden" name="utf8" value="✓"> | |
<input type="password" name="password" id="Password" value="1234" placeholder="Your password" style="display: none"> | |
<button class="preview-btn-small">View Demo</button> | |
</form> | |
<style> | |
button.preview-btn-small { |
This file contains hidden or 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
.item>h1+p+a.btn-shop{Shop Now} | |
<div class="item"> | |
<h1></h1> | |
<p></p> | |
<a href="" class="btn-shop">Shop Now</a> | |
</div> |
This file contains hidden or 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
=> Android Studio File Auther Header Insertion Tips | |
-> Android Studio -> File -> Settings -> File and Code Templates -> Includes Tab -> File Header [Paste the BELLOW CODE] | |
#set( $USER = "Tarikuzzaman Tito" ) | |
/** | |
* Created by ${USER} on ${DATE} ${TIME} | |
*/ |
NewerOlder