Skip to content

Instantly share code, notes, and snippets.

View Ameen-Alam's full-sized avatar
💭
I may be slow to respond.

Ameen Alam Ameen-Alam

💭
I may be slow to respond.
View GitHub Profile
Hey this is Ameen Alam
2020/05/01 05:05:02 [INFO] Terraform version: 0.12.24
2020/05/01 05:05:02 [INFO] Go runtime version: go1.12.13
2020/05/01 05:05:02 [INFO] CLI args: []string{"/home/ameenalam/Downloads/Terraform/terraform", "plan"}
2020/05/01 05:05:02 [DEBUG] Attempting to open CLI config file: /home/ameenalam/.terraformrc
2020/05/01 05:05:02 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/05/01 05:05:02 [INFO] CLI command args: []string{"plan"}
2020/05/01 05:05:02 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/01 05:05:02 [DEBUG] New state was assigned lineage "754fc311-052c-1f70-2661-e8f3bbae1269"
@Ameen-Alam
Ameen-Alam / Timezone-CST-EST-Server.sh
Created September 8, 2020 04:51
Change Timezone from CST To EST in CentOS/RHEL 7 Server
#!/bin/bash
# List all the available timezones using the below command:
timedatectl list-timezones
# Locate the correct timezone you need that is in the central timezone
# Set the specific timezone. For example, to set central timezone
timedatectl set-timezone America/Chicago
@Ameen-Alam
Ameen-Alam / Server-Timezone-CST.sh
Created September 8, 2020 05:00
Set the Server Timezone to CST
#!/bin/bash
# Set the Server Timezone to CST
echo "America/Chicago" > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
@Ameen-Alam
Ameen-Alam / setup_mysql5.7_source.sh
Created September 22, 2020 00:04 — forked from mansurali901/setup_mysql5.7_source.sh
Setup Mysql 5.7 from Source Code
#!/bin/bash
# This script used to install Mysql 5.7
# from source Code
# Author Mansur Ul Hasan
# mansurali901@gmail.com
# Environment Function
PrepBuildEnvFunc () {
#!/bin/bash
# This script Mysql 5.7 from RPM Builder
# Author Mansur Ul Hasan
# mansurali901@gmail.com
Prepass () {
echo "Preparing Environement ....."
yum groupinstall "Development Tools"
yum install ncurses-dev libaio perl-DBI
@Ameen-Alam
Ameen-Alam / mysql_cheat_sheet.md
Created September 27, 2020 20:04 — forked from bradtraversy/mysql_cheat_sheet.md
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

MongoDB (code=exited, status=14)
cd /tmp; ls -l *.sock
chown mongodb:mongodb mongodb-27017.sock
https://medium.com/@adhityad3v/mongodb-code-exited-status-14-f9f9f3d3e244
Install MongoDB Community Edition on Ubuntu
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Medium.com
https://stackoverflow.com/
https://www.w3resource.com/
https://www.sqlservertutorial.net/
https://www.a2hosting.com/
https://data36.com/
https://www.w3schools.com/
https://www.tutorialspoint.com/
https://github.com/
https://gist.github.com/