Git Finds
24 subscribers
212 photos
12 videos
5 files
1.25K links
Download Telegram
​​Awesome tool to compliment recent BitBar utility: Hidden Bar lets you hide menu bar items to give your Mac a cleaner look.

https://github.com/dwarvesf/hidden

#macos #swift
A lot of people struggle when they have to create their first #python package on Github. There are a lot of obstacles: CI, docs, build, and testing. Stuggle no more!

wemake-python-package solves this problem. Based on our experience of building and maintaining tens open-source projects for 3+ years. Now use it as a template for your own projects! It is as easy to start as:


pip install cookiecutter jinja2-git lice and cookiecutter gh:wemake-services/wemake-python-template

It features poetry, pytest, sphinx, and wemake-python-styleguide.

https://github.com/wemake-services/wemake-python-package
​​Interesting case. This library is 10x faster than requests and has the same API. 93 lines of code, 1 developer, and 0 dependencies.

How is that possible? The secret is that uses #nim under the hood to do all the heavy lifting. And #python API for end users.

https://github.com/juancarlospaco/faster-than-requests
​​Scout is a URL fuzzer for discovering undisclosed files and directories on a web server.

https://github.com/liamg/scout

#go #secops
Forwarded from oleg_log (Oleg Kovalov)
Вчера заметил интересную тулзу what...is taking up my bandwidth?! Которую к утру уже переименовали в bandwhich

Такая штука на расте, которая в терминале показывает, кто сколько и куда жрет трафика.

https://github.com/imsnif/bandwhich
Forwarded from iggisv9t channel
Нашёл репозиторий одной из работ по атаке на детекторы. Там и готовые патчи есть, то есть можно печатать и переставать распознаваться, или можно свои нагенерировать.
https://gitlab.com/EAVISE/adversarial-yolo
Forwarded from Geeks (shapk)
Недавно мне понабилось распечатать QR-код с информацией о точке доступа WiFi-сети. Такой код, наведя на который камеру телефона, вам сразу предлагается подключиться к интернету, без необходимости вбивать руками данные SSID и пароля. И так сложилось, что как раз на Hacker News появился пост о генерации кодов для Wi-Fi из-под linux. Всё бы ничего, будь у меня под рукой милый сердцу macbook, но недобрый рок в отпуске распорядился так, что доступ был только к ПК с Windows - всё годами любовно настроенное ПО было недоступно. Погуглить готовые решения мне как-то в голову не пришло и я быстро сделал всё сам - установил третий python и написал скрипт, генерирующий необходимые данные и сохраняющий их в картинку. Скрипт маленький, и, в общем-то, никакой сложности в нем нет, но выкидывать его мне не захотелось и поэтому я выложил всё на GitHub, дабы в случае необходимости всегда иметь возможность сгенерировать требуемые QR код .

Мое решение можно посмотреть здесь https://github.com/shpaker/wifi_qrcode
Описание генерации QR кода для WiFi из под линукс (которое, в теории работает, и из под MacOS, если поставить утилиту qrencode через brew) можно посмотреть здесь https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/
​​bandwhich sniffs a given network interface and records IP packet size, cross referencing it with the /proc filesystem on linux or lsof on macOS. It is responsive to the terminal window size, displaying less info if there is no room for it. It will also attempt to resolve ips to their host name in the background using reverse DNS on a best effort basis.

https://github.com/imsnif/bandwhich

#rust
Forwarded from Hermitage
Broot — интерактивный CLI файловый менеджер на расте

Короткое название (br в терминале), удобный динамический интерфейс, вменяемые сочетания клавиш, сортировка по размеру, частичное отображение раскрытых директорий, скорость работы, качество help'a — у моего любимого exa появился достойный конкурент.

Webpage: https://dystroy.org/broot/
Github: https://github.com/Canop/broot
HN: https://news.ycombinator.com/item?id=21998638
Forwarded from Backtracking (Дима Веснин)
к десятилетию выхода великого open world платформера VVVVVV, его автор Терри Кавана выложил исходный код игры, написал подробный пост с объяснениями и запустил праздничный геймджем, который продлится до конца месяца

Maybe the best thing about VVVVVV’s source code is that is stands as proof of what you can hack together even if you’re not much of a programmer.
Товарищ @test3rr без лишних разговоров запилил нового бота для хакатона! Берите пример: сам взял и устроил себе хакатон #respect

Сурсы открытые, так что можете порадовать нас своими PR — https://gitlab.com/hackaton_poptics/poptics_bot

Вишенка на торте в том, что сам автор ищет тиму и я советую господам-гоферам иметь это ввиду.

Бот умеет принимать заявки как от капитанов, так и от желающих приджойнится, поэтому все кто без тимы и чьим проектам еще нужны люди, милости прошу:

@profuctor_hackathon_bot
Forwarded from GitHub'ненько
NaSC
Do maths like a normal person
NaSC is an app where you do maths like a normal person. It lets you type whatever you want and smartly figures out what is math and spits out an answer on the right pane. Then you can plug those answers in to future equations and if that answer changes, so does the equations it's used in.
#useful #math #calc
https://github.com/parnold-x/nasc
​​Scalene is a high-performance CPU and memory profiler for #python that does a few things that other Python profilers do not and cannot do. It runs orders of magnitude faster than other profilers while delivering far more detailed information.

1. Scalene is fast. It uses sampling instead of instrumentation or relying on Python's tracing facilities. Its overhead is typically no more than 10-20% (and often less).
2. Scalene is precise. Unlike most other Python profilers, Scalene performs CPU profiling at the line level, pointing to the specific lines of code that are responsible for the execution time in your program. This level of detail can be much more useful information than the function-level profiles returned by most profilers.
3. Scalene profiles memory usage. In addition to tracking CPU usage, Scalene also points to the specific lines of code responsible for memory growth. It accomplishes this via an included specialized memory allocator.
4. NEW: it now also separates out time spent running in Python from time spent in C code (including libraries).

https://github.com/emeryberger/scalene
​​The pipeline #shell command!

A utility to make building up a pipeline of shell commands easier, especially when doing data exploration.

If you've ever found yourself writing shell code, in an endless loop of piping output to less, scanning it over and making changes, then pipeline can make your life just a little bit more beautiful.

This is just a thin wrapper around your shell, not some totally new data mining tool. Launch pipeline, and start typing shell commands as usual. Every time you hit enter you'll see a one-screen preview of your output, similar to piping output to less, but your cursor will stay right where it was for further editing.

https://github.com/codekitchen/pipeline

#c