-
Access your database in remote server as
psql -h '127.0.0.1' -U 'your_user' -d 'your_database'
-
\copy (select * from your_table_name) to 'your_file_name.csv' with csv;
-
Download file in your local machine
scp -i your_pem_file.pem ec2-user@ip_address:/home/your_server_user/your_file.csv /home/your_local_user/Downloads/
-
Access your local database same as step 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
//Anonymous | |
print("Hey how can i help you?") | |
// You | |
print("I want to be professional software engineer? but How") | |
//Anonymous | |
enrollIncwellBootcamp() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("> I wanna be a professional software engineer.") | |
print("I can help you. <") | |
print("> How?") | |
def technical_support(): | |
print("Technical Support Skill.") | |
automate_with_CI() | |
def training_on_git(): | |
print('interview_preparation()') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import IncwellBootcamp from "IncwellTechnology"; | |
class App extends Component { | |
state = { | |
enrolled: {} | |
}; | |
componentDidMount() { | |
document.getElementsByClassName("Enroll")[0].addEventListener("click", this.enroll); | |
} | |
enroll = You => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension StringExtension on String { | |
//will smith => Will Smith | |
String capitalize() { | |
return this | |
.trim() | |
.split(" ") | |
.where((e) => e.trim().length > 0) | |
.map((e) => "${e[0].toUpperCase()}" | |
"${e.length > 1 ? e.substring(1).toLowerCase() : ""}") | |
.join(" "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension CollectionExtension<T> on List<T> { | |
bool isNullOrEmpty() { | |
return this == null || this.length == 0; | |
} | |
} | |
extension CollectionNumExtension<T extends num> on List<T> { | |
T max() { | |
if (this.isNullOrEmpty()) throw Exception("Provide collection with items"); | |
this.sort(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension CollectionExtension<T> on List<T> { | |
bool isNullOrEmpty() { | |
return this == null || this.length == 0; | |
} | |
} | |
extension CollectionNumExtension<T extends num> on List<T> { | |
T max() { | |
if (this.isNullOrEmpty()) throw Exception("Provide collection with items"); | |
this.sort(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension CollectionExtension<T> on List<T> { | |
bool isNullOrEmpty() { | |
return this == null || this.length == 0; | |
} | |
} | |
extension CollectionNumExtension<T extends num> on List<T> { | |
T max() { | |
if (this.isNullOrEmpty()) throw Exception("Provide collection with items"); | |
this.sort(); |