git pull [email protected]:<<something>>.git
mkdir .venv
python3 --version # check if the correct version is getting invoked.
python3 -m venv .venv
source .venv/bin/activate
which python3
pip install xyz
codium .
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 pandas as pd | |
from sklearn.model_selection import train_test_split | |
from sklearn.tree import DecisionTreeRegressor | |
from sklearn.metrics import mean_absolute_error | |
if __name__ == "__main__" : | |
# https://www.kaggle.com/code/kaunjovi/exercise-underfitting-and-overfitting/edit | |
print(f"Hello world. Pandas version [{pd.__version__}]") |
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
// 1 : Create a Greeting object using the Protobuf builder. | |
Builder greetingBuilder = GreetingProtos.Greeting.newBuilder(); | |
greetingBuilder.setGreeting(HELLO_WORLD); | |
Greeting greeting = greetingBuilder.build(); | |
try { | |
// 2 : Write the message into a file. Serialize the object. | |
FileOutputStream output = new FileOutputStream(SER_FILE); | |
greeting.writeTo(output); | |
output.close(); | |
// 3 : Deserialize the object from the file. |
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
.Header h1 { | |
font: normal normal 30px Arial, Tahoma, Helvetica, FreeSans, sans-serif; | |
color: #152568; | |
text-shadow: -1px -1px 1px rgba(0, 0, 0, .2); | |
margin-bottom: 0px; | |
} |
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
package fun.and.games; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.context.ApplicationContext; | |
@SpringBootApplication | |
public class MyApplication { |
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
<html> | |
<head> | |
<title>Routing with AngularJs</title> | |
<!--Step 1 : Add the angular js and the angular route--> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular-route.min.js"></script> | |
</head> | |
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
<html> | |
<head> | |
<title>Routing with AngularJs</title> | |
<!--Step 1 : Add the angular js and the angular route--> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular-route.min.js"></script> | |
</head> | |
<body ng-app="myApp"> |
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
<html> | |
<head> | |
<title>Hello world from Angular</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script> | |
</head> | |
<body> | |
<h1>Hello world from Angular</h1> | |
<div ng-app="myApp" ng-controller="myController" ng-init="message='Over written.'"> |
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
<html> | |
<head> | |
<title>Hello world from Angular</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script> | |
</head> | |
<body> | |
<h1>Hello world from Angular</h1> | |
<div ng-app="myApp" ng-controller="myController"> |