Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Masum Chowdhury saydulk

🏠
Working from home
Block or report user

Report or block saydulk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@saydulk
saydulk / RTMP.sh
Created Aug 18, 2019
Seting up nginx+RTMP module on ubuntu 18.04 ▶️ to push the stream to multiple platforms
View RTMP.sh
FIRST INSTALL THESE USEFUL / REQUIRED PACKAGES
sudo apt-get install wget unzip software-properties-common dpkg-dev git make gcc automake build-essential zlib1g-dev libpcre3 libpcre3-dev libssl-dev libxslt1-dev libxml2-dev libgd-dev libgeoip-dev libgoogle-perftools-dev libperl-dev pkg-config autotools-dev gpac ffmpeg mediainfo mencoder lame libvorbisenc2 libvorbisfile3 libx264-dev libvo-aacenc-dev libmp3lame-dev libopus-dev unzip
ADD THE NGINX REPOSITORY AND UPDATE
sudo add-apt-repository ppa:nginx/stable
apt update
INSTALL NGINX
@saydulk
saydulk / ubuntu.sh
Last active Aug 9, 2019
Things To Do After Install Ubuntu
View ubuntu.sh
# all commands will fulfill the dependency for ubuntu to make it use able by user.
# this also setup kazam, anydesk, adobe flash
cd Downloads
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install build-essential checkinstall
sudo apt-get install ubuntu-restricted-extras
sudo add-apt-repository -y ppa:gnome3-team/gnome3
sudo add-apt-repository -y ppa:webupd8team/java
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager
@saydulk
saydulk / things.sh
Last active Jul 19, 2019
Things To Do After Installing Ubuntu 18.04 LTS Desktop
View things.sh
#!/bin/sh
# This Gist Is For Ubuntu 18.04 LTS+ Desktop.
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo apt list --upgradable
sudo apt upgrade
sudo add-apt-repository ppa:nilarimogard/webupd8
@saydulk
saydulk / remote.sh
Created Jul 16, 2019
Remote Desktop
View remote.sh
#!/bin/bash
# Ubuntu (GNOME) 18.04 Enable VNC with no encryption
sudo apt install gconf2 -y
sudo ufw allow from any to any port 5900 proto tcp
gconftool-2 --set --type=bool /desktop/gnome/remote_access/enabled true
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false
echo $'\n'$"*** Encryption Disabled ***"
echo $'\n'$"*** Launching Settings ***"
@saydulk
saydulk / microkube.sh
Created Jul 2, 2019
Peatio Microkube Install Linux
View microkube.sh
#!/bin/bash
COMPOSE_VERSION="1.23.2"
COMPOSE_URL="https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)"
# Microkube bootstrap script
install_core() {
sudo bash <<EOS
apt-get update
apt-get upgrade -y -q
@saydulk
saydulk / contract.sol
Last active Jun 19, 2019
smart contract
View contract.sol
# pragma solidity ^0.4.9;
pragma solidity >=0.4.21 <0.6.0;
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
@saydulk
saydulk / yarn.sh
Last active May 25, 2019
Yarn Install Ubuntu 18.04 LTS
View yarn.sh
#!/bin/sh
# Install
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo npm install -g yarn
yarn --version
# Uninstall
@saydulk
saydulk / linuxbrew.sh
Last active May 25, 2019
Linuxbrew (un) install Linux
View linuxbrew.sh
#!/bin/sh
# Linuxbrew (un)installer
# Install Linuxbrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
sudo apt-get install build-essential
echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >>~/.profile
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
brew install gcc
@saydulk
saydulk / RabbitMQ.sh
Last active May 3, 2019
RabbitMQ Ubuntu
View RabbitMQ.sh
#!/bin/sh
For install RabbitMQ Ubuntu 18.04 LTS
sudo apt-key adv --keyserver "hkps.pool.sks-keyservers.net" --recv-keys "0x6B73A36E6026DFCA"
wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add -
sudo apt-get install apt-transport-https
sudo apt-get update -y
sudo apt -y install rabbitmq-server
sudo systemctl status rabbitmq-server.service
View sc.sh
/* ====================================================================
* The Kannel Software License, Version 1.0
*
* Copyright (c) 2001-2010 Kannel Group
* Copyright (c) 1998-2001 WapIT Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
You can’t perform that action at this time.