Skip to content

Instantly share code, notes, and snippets.

View codeboy5's full-sized avatar
👀
Focusing

Saksham codeboy5

👀
Focusing
View GitHub Profile
@codeboy5
codeboy5 / FastAIGSOC.md
Last active January 30, 2024 21:56
GSoC'22 [FastAI.jl Time Series Development]

FastAI.jl Time Series Development

Google Summer of Code'22 under Numfocus


Note: This page acts as a mutable redirect to the main blog and summarises added functionalities quickly.

Link to Blog: [Blog]

The blog demonstrates work done through the summer towards adding a FastTimeSeries submodule for the FastAI.jl library. It reflects the use of the submodule for end-to-end classification and regression tasks. It summaries my experience as a GSoC student.

name: Style check
on:
push:
branches:
- master, dev
pull_request:
types: [opened, synchronize, reopened]
jobs:
#include<iostream>
#include<stack>
using namespace std;
void calcSpan(int price[],int n,int *span) {
stack<int> s;
for (int i=0;i<n;i++) {
while (!s.empty() && price[s.top()] <= price[i]) {
s.pop();
}
@codeboy5
codeboy5 / wifi.py
Created June 21, 2019 04:12
Get The Mean RSSI Values
import numpy as np
import pandas as pd
import csv
import operator
import collections
df = pd.read_csv("data/52Wifi.csv")
name = df["Name"].values
BSSID = df["BSSID"].values
@codeboy5
codeboy5 / mag.py
Created June 20, 2019 04:28
Get The Mean Values
import numpy as np
import pandas as pd
df = pd.read_excel("data/53Mag.xlsx")
x = df["x"].values
y = df["y"].values
z = df["z"].values
magnitude = df["magnitude"].values
@codeboy5
codeboy5 / main.py
Last active June 18, 2019 16:14
Extract Wifi Data
import numpy as np
import pandas as pd
myList = []
for line in open("./02Wifi.txt"):
row = line.split(",")
sample = [row[0], row[1], float(row[4])]
myList.append(sample)
@codeboy5
codeboy5 / eesScript.js
Created June 13, 2019 19:55
Script To Fetch Images From Firebase Storage
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: ""
};
@codeboy5
codeboy5 / script.ts
Created June 13, 2019 12:47
Script for extracting urls
import cheerio from "cheerio";
const html: string = `
<script src="https://cdn.jsdelivr.net/npm/publicalbum@latest/dist/pa-embed-player.min.js" async></script>
<div class="pa-embed-player" style="width:100%; height:480px; display:none;"
data-link="https://photos.app.goo.gl/rxNdA9kHxDryXtKBA"
data-title="demo"
data-description="2 new photos added to shared album">
<img data-src="https://lh3.googleusercontent.com/GSyOvrN9UD2EL02eqNIp1HRF82oVNT9goSZkLBSLKNl_p6bly_WL5z8DE4yZyVRbESpYsRqlJAWbW-k5NO8Yp-F1yhVsFCuv1RDWdAK_SWDvGN4FBMA7_UUbLKLBRtBAoX-YHT8w4g=w1920-h1080" src="" alt="" />
<img data-src="https://lh3.googleusercontent.com/0evJ2xDdFqVccYAdKudLCXbNQA6FOtvr2oWP7pNlSHD8FpzEiELe92ZGlG1Z2dGHVelu9lODhQ1CqPO2Q-ZRD0vUZpCz9TisnzqlCEUHHMn06XnjnlHz5QDuKyzOgkVNIqGVGJ2_sQ=w1920-h1080" src="" alt="" />