Finding leaked secrets in your Docker image with a scanner

If you’re not careful, you can end up with a private SSH key, AWS access token, or password embedded in your Docker image. That means anyone who access the image will be able to get that secret, and potentially use it to gain further access to additional systems. While you can and should take steps to prevent leaking secrets in the first place, it’s still useful to catch leaks if they do happen. If you can catch the leak before […]

Read more

Tic-Tac-Toe game build With Python

This game is very popular amongst all of us and even fun to build as a Python project. I am pretty sure most of us know how to play it but let me give a quick brush up. It is a two-player game and consists of a nine-square grid. Each player chooses their move and with O or X and marks their square one at each chance. The player who succeeds in making their marks all in one line whether […]

Read more

An Open Source Python Youtube Downloader

Hello There This Is An Open Source Python Youtube Downloader this youtube downloader was one of the first programs i ever wrote myself,that was a year and a half ago time really passes by quick i dont want to bragbut there is it alot of good open source Youtube downloaders out there so thatswhere i got the idea to make one myself. feel free to fork change credits etc… Contact Me:Discord: Flex#8629 GitHub View Github    

Read more

Ask the user for a number. Depending on whether the number is even or odd, print out an appropriate message to the user

Ask the user for a number. Depending on whether the number is even or odd, print out an appropriate message to the user. Hint: how does an even / odd number react differently when divided by 2? Extras: If the number is a multiple of 4, print out a different message. Ask the user for two numbers: one number to check (call it num) and one number to divide by (check). If check divides evenly into num, tell that to […]

Read more

Bpe algorithm can finetune tokenizer

“# bpe_algorithm_can_finetune_tokenizer” this is an implyment for https://github.com/huggingface/transformers/issues/15153 I just add tens of lines of code into the py_bpe algorithm.function finetune_tokenizer is main function added. Details can be see in example.py , actuctally it is very simple.the official python library tokenizer is written is rust. I am learning hoping to give a rust version of this code. ps:the_factor_of_new_added_token_divided_unk_number is the only param you should set.hoping can find a auto algorithm to set it. GitHub View Github    

Read more

Een poging tot een optimale SmartGrid oplossing, door Dirk Kuiper (12416657) & Lars Zwaan (12414069)

Een poging tot een optimale SmartGrid oplossing, door Dirk Kuiper (12416657) & Lars Zwaan (12414069). Onderdeel van Programmeertheorie, Minor Programmeren, UvA. Case Het probleem is als volgt opgebouwd: er zijn 3 districten, met in elk daarvan 150 huizen en 5 batterijen. Elk van deze huizen moet aan een batterij verbonden worden. Elk huis heeft een output en elke batterij heeft een capaciteit; hierdoor is niet elke combinatie mogelijk. In dit project gaan we op zoek naar een optimale oplossing, waarbij […]

Read more

Fixed point 64.61 math library for Cairo / Starknet

A fixed point 64.61 math library for Cairo & Starknet Signed 64.61 Fixed Point Numbers A signed 64.61-bit fixed point number is a fraction in which the numerator is a signed 125-bit integer and the denominator is 2^61. Since the denominator stays the same there is no need to store it (as in a floating point value). 64.61 is utilized as the 125 bit representation allows for overflow up to 2^125 * 2^125 (250 bits) during calculation taking advantage of […]

Read more

Twitch ChatBot built in python with twitchio library

Twitch ChatBot built in python with twitchio library. Uses twitch/leagueoflegends/spotify/twitter API in order to get data for the responses. The commands print mostly fun and intersting stats of twitch streamers and viewers, but also has few moderation features. It is connected to a lot of top polish twitch streamers most notably – ‘youngmulti’, ‘kasix’, ‘mokrysuchar’, ‘franio’, ‘szymoool’, ‘xmerghani’, ‘mork’, ‘arquel’, ‘stazjaa’ Full list of functionalites available on https://lewus.pl/ (in Polish) Video Explanation (in Polish) GitHub View Github    

Read more
1 241 242 243 244 245 927