Skip to content

Instantly share code, notes, and snippets.

View CSElliyas's full-sized avatar
🏠
Working from home

Elliyas Ahmed CSElliyas

🏠
Working from home
View GitHub Profile
@CSElliyas
CSElliyas / matrix subtraction.c
Created November 26, 2016 03:46
A C program to calculate the subtraction of two matrix by using multidimensional array
/*
Program Name: Write a program to calculate the subtraction of two matrix
by using multidimensional array.
Program by: Elliyas Ahmed
Date: 17.10.2016
*/
@CSElliyas
CSElliyas / sum of the digits of int num.c
Created November 26, 2016 03:52
A Program to Compute the Sum of the Digits of a Given Integer Number
/*
Program Name: Write a program to compute the sum of the digits of a given integer number.
Program By: Elliyas Ahmed
*/
#include <stdio.h>
int main()
@CSElliyas
CSElliyas / matrix multiplication.c
Last active October 19, 2023 10:07
A program to calculate the multiplication of two matrices by using for loop in C
/*
Program Name: Write a program to calculate the multiplication
of two matrices by using for loop in C.
Program By: Elliyas Ahmed
Date: 27.11.2016
*/
#include <stdio.h>
@CSElliyas
CSElliyas / compile c or c++ in sublime 3.c
Created November 28, 2016 15:55
compile c or c++ in sublime 3
{
"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Run",
<style>
.gsc-tabsAreaInvisible,
.gsc-resultsHeader,
.gsc-branding,
.gcsc-branding,
.gsc-url-top,
.gs-watermark,
.gsc-thumbnail-inside,
.gsc-url-bottom {
display: none;
@CSElliyas
CSElliyas / compromathjavascript.js
Last active February 8, 2017 16:38
compromath js
$(document).ready(function(){
$(window).scroll(function(){
if ($(this).scrollTop() &gt; 300) {
$(&#39;.scrollToTop&#39;).fadeIn();
} else {
$(&#39;.scrollToTop&#39;).fadeOut();
}
});
@CSElliyas
CSElliyas / responsive menu by w3schools.html
Created July 14, 2017 05:22
Responsive Menu by W3Schools
<!DOCTYPE html>
<html>
<head>
<style>
body {margin:0;}
.topnav {
overflow: hidden;
background-color: #333;
}
@CSElliyas
CSElliyas / fix data structured errors for blogger part 1.html
Created November 24, 2017 11:26
How to Fix Data Structured Errors in Blogger (Schema Markup) - Desktop Version
<div class='post h-entry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<!-- Twitter Card Tags -->
<meta content='@compromath' name='twitter:site'/>
<meta content='@Elliyas_Ahmed' name='twitter:creator'/>
<b:if cond='data:post.firstImageUrl'>
<meta content='summary_large_image' name='twitter:card'/>
<!-- summary_large_image or any other your card types -->
<meta expr:content='data:post.firstImageUrl' name='twitter:image'/>
<b:else/>
<meta content='summary' name='twitter:card'/>
@CSElliyas
CSElliyas / fix data structured errors for blogger part 2.html
Created November 24, 2017 11:29
How to Fix Data Structured Errors in Blogger (Schema Markup) - Mobile Version
<div class='post h-entry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
<meta expr:itemid='data:post.link ? data:post.link : data:post.url' itemType='https://schema.org/WebPage' itemprop='mainEntityOfPage' itemscope='itemscope'/>
<meta expr:content='data:post.timestamp' itemprop='datePublished'/>
<meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>
<meta expr:content='data:post.author' name='author'/>
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<image alt='compromath' itemprop='url' src='http://1.bp.blogspot.com/-FIEZPMAnW7Y/WHMUbTqioFI/AAAAAAAABC0/Bp3k9fcxMmM-raXqsc--hOFZcm2DrROwgCK4B/s1600/logo%2Bcompromath.png' style='display:none'/>
<meta alt='compromath' content='http://1.bp.blogspot.com/-FIEZPMAnW7Y/WHMUbTqioFI/AAAAAAAABC0/Bp3k9fcxMmM-raXqsc--hOFZcm2DrROwgCK4B/s1600/logo
@CSElliyas
CSElliyas / jquery-min.xml
Created January 5, 2018 04:39
Blogger Gadgets - jQuery Minified Source
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="jQuery Minified Source" />
<Content type="html">
<![CDATA[
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
]]>
</Content>
</Module>