Skip to content

Instantly share code, notes, and snippets.

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

Md. Sumon Islam sumonst21

🏠
Working from home
View GitHub Profile
@sumonst21
sumonst21 / download-old-chrome-versions.md
Created March 17, 2024 21:20 — forked from barbietunnie/download-old-chrome-versions.md
How to download old versions of Chrome

How to download old versions of Chrome

Click here to download old versions of Chrome for Linux, Mac and Windows.

The download_url field of the desired section houses the URL to the download.

Alternatively, for not too old versions, you can get it directly here.

@sumonst21
sumonst21 / favicon.sh
Created July 24, 2019 02:30 — forked from pjkix/favicon.sh
Favicon and Apple Touch Icon Generator
#!/bin/bash
# Favicon and Apple Touch Icon Generator
#
# This bash script takes an image as a parameter, and uses ImageMagick to convert it to several
# other formats used on modern websites. The following copies are generated:
#
# * apple-touch-icon-114x114-precomposed.png
# * apple-touch-icon-57x57-precomposed.png
# * apple-touch-icon-72x72-precomposed.png
@sumonst21
sumonst21 / Windows 10 services.md
Created December 18, 2023 16:53 — forked from Aldaviva/Windows 10 services.md
Safety of disabling services in Windows 10

These settings apply to a normal, functioning Windows 10 Pro desktop with

  • wired Ethernet
  • Bluetooth
  • IPv6
  • no Wi-Fi
  • no touch screen

Safe to disable

|Display Name|Name|Notes|

@sumonst21
sumonst21 / responsive-video.html
Created April 29, 2019 00:39
Placeholder image for video with button onclick load iframe. You can switch this around between youtube and vimeo or any other thirdparty video player.
<style>
.btn-video {
font-family: 'Montserrat', sans-serif;
@include button-size(20px, 60px, 16px, 14px, 16px);
@include button-variant(#FFF, rgba(0,0,0,0.5), #FFF);
&:visited, &:hover, &:active {
@include button-variant(#FFF, rgba(0,0,0,0.7), #FFF);
-webkit-box-shadow: 0px 1px 7px -2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 1px 7px -2px rgba(0,0,0,0.75);
CREATE TABLE "cards" (
"id" serial,
"card_type" varchar(20),
"card_fee" money,
PRIMARY KEY ("id")
);
CREATE TABLE "personalizations" (
"id" serial,
"font" varchar(15),
@sumonst21
sumonst21 / strapi-docker-compose.yml
Created August 1, 2023 21:38 — forked from MexsonFernandes/strapi-docker-compose.yml
Deploy strapi with persistence mongo using docker-compose
version: "3"
services:
strapi:
build:
context: ./
container_name: strapi_cms
env_file: .env
restart: unless-stopped
environment:
@sumonst21
sumonst21 / .gitlab-ci.yml
Created August 1, 2023 21:38 — forked from MexsonFernandes/.gitlab-ci.yml
Gitlab pipeline deploy app on AWS Beanstalk
stages:
- build
- deploy
variables:
S3_BUCKET: "bucket"
S3_ARCHIVE_PATH_PROD: "production/"
build:
image: docker:latest
@sumonst21
sumonst21 / docker-ubuntu-1804.sh
Created August 1, 2023 21:38 — forked from MexsonFernandes/docker-ubuntu-1804.sh
Install Docker on Ubuntu 18.04 (without sudo mode docker cli setup)
#!/bin/bash
echo "Updating system..."
sudo apt update
echo "Installing dependencies..."
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
echo "Downloading data..."
sudo apt install -y curl
AWSTemplateFormatVersion: "2010-09-09"
Description: "Template description"
Parameters:
AppEnvironment:
Type: String
Default: production
EC2InstanceType:
Type: String
Default: a1.medium
# Cache node modules - speeds up future builds
cache:
paths:
- node_modules
stages:
- build
- run
variables: