Hudson and Thames mlfinlab stuff

Thursday, Sep 29, 2022

Dockerfile FROM python:3.8-slim-buster RUN apt update && apt install git -y RUN apt install -y build-essential g++ libgl1-mesa-glx libx11-6 cmake protobuf-compiler -y RUN python -m pip install jupyter cvxpy RUN git clone https://github.com/rushic24/mlfinlab.git && cd mlfinlab && python setup.py install RUN pip install pandas==1.5.2 tqdm statsmodels==0.13.5 numpy==1.23.5 EXPOSE 8890 ENTRYPOINT [ "jupyter", "notebook", "--no-browser", "--port=8890", "--ip=0.0.0.0", "--allow-root" ] Makefile # Specify the name of the image IMAGE_NAME = "mlfinlabstuf" # Specify the path to the Dockerfile DOCKERFILE_PATH = ".
@ rushi
1 minutes read
My Pinephone Setup

My Pinephone Setup

Thursday, Apr 14, 2022

The Pinephone[1] is my first Linux smartphone. I’ve been waiting for this since 2018. I feel the more android is advancing the more it is getting IOS’ish. Android was not meant to be this way. The reason it became popular early was it being opensource, and developer friendly. That era allowed bootloader unlocking, developing custom and newer kernels, tweaking the UI. Newer android has become too much bloatish and restrictive. For instance if we see miracast, android dropped miracast support for non samsung devices after android 8.
@ rushi
6 minutes read

Colab Equivalent Pytorch Docker With GPU

Sunday, Mar 27, 2022

Dockerfile FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-devel WORKDIR /root RUN pip install jupyter jupyterlab EXPOSE 8888 COPY . . CMD jupyter notebook --port=8888 --no-browser --ip=0.0.0.0 --allow-root docker-compose.yml version: "3" services: main: build: . volumes: - .:/root ports: - 8888:8888 network_mode: "host" privileged: true deploy: resources: reservations: devices: - driver: nvidia count: 1 capabilities: [gpu] Run docker-compose build docker-compose run --rm main Reason? Colab equivalent Pytorch version 1.10.0 torchtext works torchdata works
@ rushi
1 minutes read

Alexa AI for reminding important emails and reminders

Sunday, Dec 19, 2021

Motivation :- It was the third time I missed reading my email and picking up shifts for my oncampus job. I did try creating labels and filtering them but that didn’t show any progress in improvement. It’s really stressful when I get the notification that something needs a response from me right away. I had to make sure that I was not missing this next time. It is then when I decided I need to build a system to process and remind me this.
@ rushi
3 minutes read
How to Change Docker Storage Location

How to Change Docker Storage Location

Wednesday, Nov 11, 2020

You can easily change the Docker default storage location by creating the daemon.json file and pointing to another location in that file. It happened to me several times that I didn’t have enough space in my root partition to store Docker containers and I had to move the Docker default storage location to another partition. In this post, I wrote down how to do that for my readership and future myself :)
@ rushi
3 minutes read
A prebuilt kali-linux with GUI aka vnc in docker in 2 seconds

A prebuilt kali-linux with GUI aka vnc in docker in 2 seconds

Monday, Jan 1, 0001

This guide assumes you already know what is docker and docker, vncviewer installed on your system The docker image given at https://hub.docker.com/search?q=&type=image is a blank kali image with 0 tools. Let us create a light-weight custom image with the tools needed. The following are the tools which I think are commonly used in kali you can add/remove a few from that list. aircrack-ng crackmapexec crunch curl dirb dirbuster dnsenum dnsrecon dnsutils dos2unix enum4linux exploitdb ftp git gobuster hashcat hping3 hydra impacket-scripts john joomscan masscan metasploit-framework mimikatz nasm ncat netcat-traditional nikto nmap patator php powersploit proxychains python-pip python2 python3 recon-ng responder samba samdump2 smbclient smbmap snmp socat sqlmap sslscan theharvester vim wafw00f weevely wfuzz whois wordlists wpscan Creating Dockerfile
@ rushi
2 minutes read

关于我

g1eny0ung 的 ❤️ 博客

记录一些 🌈 生活上,技术上的事

一名大四学生

马上(已经)毕业于 🏫 大连东软信息学院

职业是前端工程师

业余时间会做开源和 Apple App (OSX & iOS)

主要的技术栈是:

  • JavaScript & TypeScript
  • React.js
  • Electron
  • Rust

写着玩(写过):

  • Java & Clojure & CLJS
  • OCaml & Reason & ReScript
  • Dart & Swift

目前在 PingCAP 工作

– 2020 年 09 月 09 日更新

其他

如果你喜欢我的开源项目或者它们可以给你带来帮助,可以赏一杯咖啡 ☕ 给我。~

If you like my open source projects or they can help you. You can buy me a coffee ☕.~

PayPal

https://paypal.me/g1eny0ung

Patreon:

Become a Patron!

微信赞赏码

wechat

最好附加一下信息或者留言,方便我可以将捐助记录 📝 下来,十分感谢 🙏。

It is better to attach some information or leave a message so that I can record the donation 📝, thank you very much 🙏.