Skip to content

Instantly share code, notes, and snippets.

View Vadbeg's full-sized avatar
🏠

Vadim Titko Vadbeg

🏠
View GitHub Profile
1. News Scrapper
GitHub: https://github.com/Vadbeg/NewsScrapper
Description:
Project for reading news from rss files. Includes command line utility and web application.
The main thing about this project is fasts, flexible and easy acces to news in format you want.
You can export every article into fb2, pdf and html.
Languages:
1. Python
Technologies:
1. Django
@lucidyan
lucidyan / gpu-control.md
Last active March 19, 2023 09:37
Prevent NVIDIA GPUs' throttling on headless server

Prevent NVIDIA GPUs' throttling on headless server

  • Unlock manual fan & overclock settings
    sudo nvidia-xconfig -a --cool-bits=28 --allow-empty-initial-configuration
  • Reboot system
  • Create script /usr/local/bin/gpu-fan-control.sh
#!/bin/bash
@ravibhure
ravibhure / git_rebase.md
Last active June 25, 2024 13:44
Git rebase from remote fork repo

In your local clone of your forked repository, you can add the original GitHub repository as a "remote". ("Remotes" are like nicknames for the URLs of repositories - origin is one, for example.) Then you can fetch all the branches from that upstream repository, and rebase your work to continue working on the upstream version. In terms of commands that might look like:

Add the remote, call it "upstream":

git remote add upstream https://github.com/whoever/whatever.git

Fetch all the branches of that remote into remote-tracking branches, such as upstream/master:

git fetch upstream

@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active July 3, 2024 18:29
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',