Skip to content

Instantly share code, notes, and snippets.

View riazul701's full-sized avatar

Md. Riazul Hasan Rahat riazul701

View GitHub Profile
@riazul701
riazul701 / submit.md
Created September 17, 2023 15:39 — forked from tanaikech/submit.md
Sample Scripts for Requesting to Web Apps by Various Languages
@riazul701
riazul701 / submit.md
Created September 17, 2023 14:34 — forked from tanaikech/submit.md
Redeploying Web Apps without Changing URL of Web Apps for new IDE

Redeploying Web Apps without Changing URL of Web Apps for new IDE

At March 15, 2021, one endpoint is created for one deployment. Ref By this, when you redeploy "Web Apps", the endpoint is changed. Because the deployment ID is changed. It seems that this it the new specification. In this report, I would like to introduce the method for redeploying Web Apps without changing the URL of Web Apps for new IDE.

Deploy Web Apps

  1. Open "New deployment" dialog with "Deploy" -> "New deployment".

  2. Select "Web app" for "Select type".

@riazul701
riazul701 / README.md
Created September 17, 2023 09:38 — forked from richardblondet/README.md
Create a simple API backend with Google App Script and a Spreadsheet

Google App Script CRUD

Inspired by this gist.

Getting Started

  1. Create a new App Script project.
  2. Paste the content of the file google-app-script-crud.gs in the default Code.gs file.
  3. Create a new Spreadsheet.
  4. Copy the Spreadsheet ID found in the URL into the variable SHEET_ID located in line 1 of your file.
@riazul701
riazul701 / README.md
Created September 17, 2023 09:38 — forked from nyancodeid/README.md
Make RESTful API with Google Apps Script and SpreadSheet

Google Script CRUD

By Ryan Aunur Rassyid

Simply create RESTful API with Google Script and store it to Google SpreadSheet like a Pro.

@riazul701
riazul701 / AdbCommands
Created August 30, 2023 16:23 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@riazul701
riazul701 / alacritty-tmux-vim_truecolor.md
Created August 15, 2023 15:02 — forked from andersevenrud/alacritty-tmux-vim_truecolor.md
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
@riazul701
riazul701 / locale.sh
Created July 29, 2023 18:24 — forked from vordan/locale.sh
How-to fix "Warning: No support for locale: en_US.utf"
This is because locale-gen is using an archive file to store all the locales, but many utilities are still looking for the locale files.
Have a look at /usr/lib/locale/. If your output looks like this, read on:
ls /usr/lib/locale/
C.UTF-8 locale-archive
The warning isn't critical, as far as I can tell, but if it bothers you or causes troubles, try the following in a terminal window:
@riazul701
riazul701 / Docker with XDebug.md
Created April 17, 2023 12:57 — forked from megahirt/Docker with XDebug.md
Debugging PHP with XDebug v3 inside Docker using VSCode

Debugging PHP with XDebug v3 inside Docker using VSCode

Assumptions / Prerequisites

  • XDebug v3+ inside Docker (e.g. php:7.3-apache Docker image)
  • Running Docker v20.10+
  • VSCode with PHP Debug Extension (Felix Becker)
  • Using Docker Compose for orchestration

Objective

@riazul701
riazul701 / composer-install.sh
Created April 17, 2023 11:08 — forked from vinaydotblog/composer-install.sh
Installing composer using curl
# Goto a directory you can write to:
cd ~
#get composer:
curl -s https://getcomposer.org/installer | php
# move composer into a bin directory you control:
sudo mv composer.phar /usr/local/bin/composer
# double check composer works
composer about
@riazul701
riazul701 / migrating-away-from-docket-desktop.md
Created April 17, 2023 09:30 — forked from tdamsma/migrating-away-from-docker-desktop.md
Running VSCode remote containers on windows without docker desktop

Running VSCode remote containers on windows without docker desktop

Due to the license issues with docker desktop and the fact that you don't really need this buggy bit of software, this guide will walk you through the steps to use VSCode+remote-containers in combination with WSL2 without using docker desktop.

Get rid of docker desktop

Only if you have docker desktop currently installed of course

Uninstall docker desktop application