Skip to content

Instantly share code, notes, and snippets.

View saif71's full-sized avatar
🎧
Enjoying Music

Salman Hossain Saif saif71

🎧
Enjoying Music
View GitHub Profile
@saif71
saif71 / bulk-youtube-video-download
Created March 22, 2023 06:50
Bulk download youtube video as mp3 using youtube-dl in a custom folder
youtube-dl 'https://www.youtube.com/watch?v=1JaGpxuG9YE' -x --audio-format mp3 -o '/Users/NyName/Downloads/%(title)s-%(id)s.%(ext)s' &&
youtube-dl 'https://www.youtube.com/watch?v=mi6bykm2wmg' -x --audio-format mp3 -o '/Users/NyName/Downloads/%(title)s-%(id)s.%(ext)s' &&
youtube-dl 'https://www.youtube.com/watch?v=ZRJFK5Y5XNs' -x --audio-format mp3 -o '/Users/NyName/Downloads/%(title)s-%(id)s.%(ext)s' &&
youtube-dl 'https://www.youtube.com/watch?v=CWDsRbwqbKU' -x --audio-format mp3 -o '/Users/NyName/Downloads/%(title)s-%(id)s.%(ext)s'
@saif71
saif71 / tailwind-css-variables.css
Created April 1, 2022 11:12 — forked from SidKH/tailwind-css-variables.css
Tailwind replicated using css variables
:root {
/* Fon family */
--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--font-default: var(--font-sans);
/* Font size */
--text-xs: .75rem/1rem var(--font-default);
@saif71
saif71 / RemoveApps.ps1
Created October 30, 2021 08:11
UWP App Removal
# Remove Windows UWP Apps
# github/icedterminal
# v1.0.1
# ==============================================================================================================
# DOWNLOADING THIS SCRIPT:
# While this script is clearly safe, Windows may block this file. You will need to unblock it if that's the case.
# Additionally, PowerShell blocks scripts for safety. Run the command: set-executionpolicy unrestricted
# You can revert this change with the command: set-executionpolicy restricted
#
# COPYING AND PASTING THIS SCRIPT:
#include <stdio.h>
#include <math.h>
float dplus(float num[], int n);
float dminus(float num[], int n);
float largest(float data[], int n);
int main()
{
printf("Kolmogorov Test\n");
@saif71
saif71 / All Emoji's - One at a line.txt
Last active June 3, 2020 16:47
All Emoji's - One at a line.
😀
😁
😂
🤣
😃
😄
😅
😆
😉
😊
@saif71
saif71 / reading_json_response_object.jsx
Created February 25, 2020 09:55
Reading JSON response from an API [objects] [Axios] [React]
import React, { Component } from 'react';
import styled from 'styled-components'
import VendorCard from './VendorCard';
import TopHeader from '../TopHeader/TopHeader';
import back_btn from '../../img/back_btn.svg';
import axios from 'axios';
import { toaster, Pane, Spinner } from 'evergreen-ui'
@saif71
saif71 / reading_json_response_array.jsx
Created February 25, 2020 09:51
Reading JSON response from an API [array] [Array of objects] [Axios]
import React, { Component } from 'react';
import styled from 'styled-components'
import axios from 'axios';
import { toaster, Spinner, Pane, Alert } from 'evergreen-ui'
import { Link } from 'react-router-dom';
import TopHeader from '../TopHeader/TopHeader';
const PromoCard = styled.div`
@saif71
saif71 / api.php
Created February 19, 2020 18:32
Single page php file for simple CURD REST api for Rapid Api Developement.
<?php
/**
* PHP-CRUD-API v2 License: MIT
* Maurits van der Schee: maurits@vdschee.nl
* https://github.com/mevdschee/php-crud-api
*
* Dependencies:
* - vendor/psr/*: PHP-FIG
* https://github.com/php-fig
* - vendor/nyholm/*: Tobias Nyholm
@saif71
saif71 / README.md
Last active January 5, 2020 04:19 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code [HEX Code] for transparency- Web, Android & iOS

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

<!--
A simple JS code snipet for Print Page Load Time in Second.
• Obiviously you don't need jQuery and notify.js . Just remove two CDN link and remove $.notify(notify_msg, "success");
-->
<html>
<head></head>
<body>
<div class="classname">
<img src="https://cwsmgmt.corsair.com/newscripts/landing-pages/wallpaper/v4/Wallpaper-v4-2560x1440.jpg" alt="">
</div>