Skip to content

Instantly share code, notes, and snippets.

Avatar

Md Rashidul Islam rashidul0405

View GitHub Profile
View conventional_commit_messages.md

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@rashidul0405
rashidul0405 / dump_route53_records.md
Created February 9, 2021 09:52 — forked from porjo/dump_route53_records.md
Export route53 records to CSV
View dump_route53_records.md

Retrieve hosted zones with aws route53 list-hosted-zones then enter the zone Id below:

aws route53 list-resource-record-sets --hosted-zone-id "/hostedzone/xxxxxxxxxxx" | \
   jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?]  | @tsv'
View gist:889d9a6e420b34649d250840970fb5a8
download_release() {
TOKEN="xxxxxxxxx"
REPO=":owner/:repo"
curl -vLJO https://$TOKEN:@api.github.com/repos/$REPO/zipball/master
}
@rashidul0405
rashidul0405 / next.config.js
Created October 3, 2018 03:47 — forked from trusktr/next.config.js
withTranspileModules example
View next.config.js
const path = require("path");
const withTypescript = require("@zeit/next-typescript");
const withCSS = require("@zeit/next-css");
const withSourceMaps = require("@zeit/next-source-maps");
const r = require("regexr");
const cssConfig = {
cssModules: false
};
View using_xdebug_with_postman.md

Set the url with ?XDEBUG_SESSION_START=PHPSTORM and set a header Cookie: XDEBUG_SESSION=PHPSTORM

@rashidul0405
rashidul0405 / db-open
Created November 3, 2016 11:54 — forked from helderco/db-open
Script to open a mysql database in Sequel Pro from a service in docker-compose.
View db-open
#!/bin/bash
set -e
show_help() {
cat << EOF
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE]
${0##*/} -h
Open a standard connection in Sequel PRO.
@rashidul0405
rashidul0405 / gapps-config.txt
Last active November 21, 2017 17:56
Google apps cyanogenmod 14 | Android 7.x
View gapps-config.txt
# Remove Redundant Apps
CMAccount # Remove CM Account
CMBugReport # Remove CM Bug Report
CMAudioFX # Remove CM AudioFX
CMFileManager # Remove CM File Manager
CMMusic # Remove CM Music
CMScreenCast # Remove CM ScreenCast
CMSetupWizard # Remove CM Setup Wizard (see Notes for CMSetupWizard)
CMUpdater # Remove CM Updater
CMWallpapers # Remove CM Wallpapers
View React Component Highlighter
(function(){Array.prototype.slice.call(document.querySelectorAll('[data-reactid]')).forEach(function(ele){ele.style.background = 'rgba(0, 129, 255, 0.05)'})})();
@rashidul0405
rashidul0405 / How to use Images as Radio buttons.md
Last active September 8, 2015 11:21 — forked from rcotrina94/How to use Images as Radio buttons.md
How to use images for radio buttons (input-radio).
View How to use Images as Radio buttons.md
@rashidul0405
rashidul0405 / httpd.conf
Last active October 16, 2015 09:18
Replace yourUserName on line 181 by your username* Replace /Users/yourUserName/Sites on lines 236 and 237 by the path you desire your localhost to be set
View httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure