Skip to content

Instantly share code, notes, and snippets.

View aishaon's full-sized avatar
🎯
Focusing on WordPress & PHP

Ariful Islam Shaon aishaon

🎯
Focusing on WordPress & PHP
View GitHub Profile
@aishaon
aishaon / style.css
Created April 19, 2020 08:13 — forked from maxxscho/style.css
Wordpress Default CSS Styles
/* !-------- WORDPRESS CLASSES ------------------- */
/*------------------------------------------------------------ *\
\*------------------------------------------------------------ */
/* !-- WP WYSIWYG Editor Styles -- */
.entry-content img {
margin: 0 0 1.5em 0;
}
.alignleft, img.alignleft {
margin-right: 1.5em;
@aishaon
aishaon / index-html5.html
Created March 12, 2020 15:21
Layout by HTML5
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.layout-container{
width: 500px;
border: 1px solid #000;
margin: auto;
@aishaon
aishaon / SassMeister-input-HTML.html
Created January 30, 2020 11:58
Generated by SassMeister.com.
<nav>
<ul>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
<li><a href="#">List Item</a></li>
</ul>
</nav>
@aishaon
aishaon / index.html
Created January 15, 2020 19:10
A simple layout for class
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Layout</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
</head>
<body>
@aishaon
aishaon / operators-arithmetic.c
Created October 13, 2019 14:59
Arithmetic Operators in C
#include <stdio.h>
int main() {
//Arithmetic operators
int num1 = 10, num2 = 21;
float sum;
//summation
sum = num1 + num2;
@aishaon
aishaon / constant-2.c
Created October 13, 2019 14:57
Constant by "const" keyword
#include <stdio.h>
// by "const" keyword
int main() {
const int LENGTH = 15;
const int WIDTH = 7;
const char NEWLINE = '\n';
int area;
@aishaon
aishaon / constant.c
Created October 13, 2019 14:57
Constant in C language
#include <stdio.h>
// by #define preprocessor
#define LENGTH 15
#define WIDTH 7
#define NEWLINE '\n'
int main() {
int area;
@aishaon
aishaon / keywords.c
Created October 13, 2019 14:56
Keywords in C programming language
#include <stdio.h>
void main() { //void is a keyword, see the list below
/*
Keywords:
The following list shows the reserved words in C or any other programming language(mostly).
These reserved words may not be used as constants or
variables or any other identifier names.
@aishaon
aishaon / custom-list.css
Created October 13, 2019 10:16
Custom List with HTML & CSS
ul li{
list-style-image: url(images/tick.png);
}
@aishaon
aishaon / learning.css
Created October 13, 2019 10:14
CSS Text formatting
/* CSS Comment */
p{
font-size: 18px;
color: red;
font-style: italic;
font-variant: small-caps;
font-family: cursive;
_text-align: center;
_text-indent: 50px;