Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
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
{ | |
"hash": "07e5c1a5aa0dcd9e0e0ed1f3f23944a57951417a7d0259cdc48dfd23b8cc2c2d", | |
"witnessHash": "9f48340abe69236870dea9bd13cd1972cea17c6b0796958a2e1edaf9350dc1af", | |
"mtime": 1626105122, | |
"version": 0, | |
"inputs": [ | |
{ | |
"prevout": { | |
"hash": "30b5b56d899ee2d9fd522fe5bd48a07b4c75b95ad823fabdfd5e361a860e4208", | |
"index": 0 |
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
// Rest Server | |
void restServer(AfSIPProcessor *afSipProcessor, int sipSockHandle, Logger *pLogger) | |
{ | |
class ConfigServerMockRestHandler : public Pistache::Http::Handler | |
{ | |
private: | |
AfSIPProcessor *afSipProcessor; | |
const int sipSockHandle; |
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 java.util.HashMap; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicLong; | |
import java.util.stream.IntStream; | |
public class HashMapRacer { | |
// | |
private final HashMap<String, Long> raceTrack; |
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
sudo ssh-keygen -A | |
vim /etc/ssh/sshd_config | |
// set port to 2222 and make it listen 0.0.0.0 and PasswordAuthentication yes | |
sudo service ssh --full-restart | |
// all ready to go |
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
@Primary | |
@Bean("AwsSqs") | |
public AmazonSQSAsync createAWSSQSClient() { | |
String endpoint = "http://localhost:9324"; | |
String region = "elasticmq"; | |
String accessKey = "x"; | |
String secretKey = "x"; | |
AmazonSQSAsync client = | |
AmazonSQSAsyncClientBuilder.standard() |
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
group 'com.rhtech' | |
version '1.0-SNAPSHOT' | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath( | |
'org.springframework.boot:spring-boot-gradle-plugin:1.5.8.RELEASE' |
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
@Test | |
public void JWTwithPaddingInBody() throws JoseException, org.jose4j.jwt.consumer.InvalidJwtException | |
{ | |
String jwt_3 = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiIwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMSIsInN1YiI6IjAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxIiwiYXVkIjoiTWluZFNwaGVyZSBBUyIsImlhdCI6MTUwOTM1MjI5NywibmJmIjoxNTA5MzUyMjk3LCJleHAiOjE1MDk0Mzg2OTcsInNjaGVtYXMiOlsidXJuOnNpZW1lbnM6bWluZHNwaGVyZTp2MSJdLCJ0ZW4iOiJ0ZXN0LXRlbmFudCIsImp0aSI6IjkxODE3YTJkLTU0ZjQtNDQ1OC04YTI5LWU5MGU5ZDQ3YTViIn0=.G6U2GGJX0VCd6VW8-E4HnuvyRTNgct1oauornnOep_MMa8h-cDp8W6ca2LncYM2DaSpeVdO8haIuaAO3Z-vniDQqFa-__fZZvmDNex7D4YAFUqP5ZcW5wF9I3d73Y4uQ0uO07zBxbmZ4vCo6FtgtmwnyfY-BYV6Ag-ci0pw3ADD5uNEdrzL97Tcv500izRg09OuMIbppFkhVEwpWr1vl8Y-5_3gRfALLRBerc73Hcu-fcyXUJdOQTx-Qm3Ickr5bbNzcNsNUbhaNfI3Ij-dnM5IafdqsYbWKK7sbzhineOoldbn5Y0NqzdaHhUzKYjKhcB1sCDBG5E09z_HU00VNCjWCRFjAQTMvCHRUDKAoBOyhIufoKCLyh7zDfj5_OthX9DaCx_3Jg9hk2NcK-JjhN3QZTx2C38KB82YHFJNuUSd-K1I1WEBhfwebbhZPygKBv30OBUQ3V8DGmHDwyTUPMUFS-1CX5xEB4jSITQRyMeMsk3D |
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 org.mshowto; | |
import org.junit.Before; | |
import org.junit.Test; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.stream.IntStream; | |
public class arraysaslist { |
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 org.tutorial.future; | |
import org.tutorial.future.task.FibonacciTask; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; | |
/** |
NewerOlder