Don’t leak your Docker image’s build secrets

In January 2021 CodeCov suffered from a security breach. The mechanism: The [malicious] actor gained access because of an error in Codecov’s Docker image creation process that allowed the actor to extract the credential required to modify our Bash Uploader script. It’s unclear from the description what specific kind of secret was involved, but as you can see leaking secrets can be a significant problem. You want to ensure your secrets don’t end up getting leaked in your image! In […]

Read more

Issue #127 – On the Sparsity of Neural MT Models

22 Apr21 Issue #127 – On the Sparsity of Neural MT Models Author: Dr. Jingyi Han, Machine Translation Scientist @ Iconic Introduction Looking at the evolution of Neural Machine Translation (NMT), from a simple feed-forward approach to the recent state of the art Transformer architecture, models are getting more and more complicated by involving a large number of parameters to fit a massive data well. As a consequence, over-parameterization is a common problem suffered by NMT models, and it is […]

Read more

Few-shot Image Generation via Cross-domain Correspondence

few-shot-gan-adaptation Official repository for Few-shot Image Generation via Cross-domain Correspondence (CVPR ’21) Utkarsh Ojha, Yijun Li, Jingwan Lu, Alexei A. Efros, Yong Jae Lee, Eli Shechtman, Richard Zhang Adobe Research, UC Davis, UC Berkeley Repository for downloading the datasets and generated images used for performing the evaluations shown in Tables 1 and 2. Overview Our method helps adapt the source GAN where one-to-one correspondence is preserved between the source Gs(z) and target Gt(z) images. Sample images from a model To […]

Read more

Deep Q-learning for playing chrome dino game

Deep Q-learning for playing Chrome Dino python source code for training an agent to play flappy bird. It could be seen as a very basic example of Reinforcement Learning’s application. Result The corresponding output video will also be generated and stored by default at output/chrome_dino.mp4Output video How to use my code With my code, you can: Train your model from scratch by running python train.py Test your trained model by running python test.py Trained models You could find my trained […]

Read more

Bot for tenhou.net riichi mahjong server written in Python

tenhou-python-bot Bot was tested with Python 3.7+ and PyPy3, we are not supporting Python 2. Mahjong bot For research purposes we built a simple bot to play riichi mahjong on tenhou.net server. Here you can read about bot played games statistic: versions history How to run it? pip install -r requirements/lint.txt Run cd project && python main.py it will connect to the tenhou.net and will play a game. How to run bot battle with pypy To make it easier run […]

Read more

A Simple Instagram Like & Comment Bot written in Python

An Instagram bot written in Python using Selenium on Google Chrome. It will go through posts in hashtag(s) and like and comment on them. Getting Started Please be aware of Instagram’s daily limits for likes and comments to avoid getting your account banned. Prerequisites Python 3 Pip – a python package manager Download this file, open a command prompt and navigate to the folder containing the get-pip.py installer, and run python get-pip.py to install Run pip –version to check if […]

Read more

A Twitter bot written in Python using Tweepy

Twitter Like and Retweet Bot A Twitter bot written in Python using Tweepy and hosted on a server. It will like and/or retweet tweets that contain single or multiple keywords and hashtags. Instructions Apply for Twitter Developer Access with the account you want the bot to be used for. Create a new Twitter Application to generate your private keys, secrets, and tokens. Make sure the app settings has Read and Write permissions. Create a file named credentials.py to hold the […]

Read more

Build and manage real-life data science projects with ease

Metaflow is a human-friendly Python/R library that helps scientists and engineers build and manage real-life data science projects. Metaflow was originally developed at Netflix to boost productivity of data scientists who work on a wide variety of projects from classical statistics to state-of-the-art deep learning. Getting Started Getting up and running with Metaflow is easy. Python Install metaflow from pypi: pip install metaflow and access tutorials by typing: metaflow tutorials pull R Install Metaflow from github: devtools::install_github(“Netflix/metaflow”, subdir=”R”) metaflow::install() and […]

Read more

A Pluggable And Powerful Telegram Manager Bot

FRIDAY-USERBOT A Powerful, Smart And Simple Userbot In Pyrogram. Repl 🧨 Locally 🏆 $ git clone https://github.com/DevsExpo/FridayUserbot $ cd FridayUserbot $ python(3) string_gen.py Deploying To Heroku ⚙ Self-hosting (For Devs) ⚔ # Install Git First // (Else You Can Download And Upload to Your Local Server) $ git clone https://github.com/DevsExpo/FridayUserbot # Open Git Cloned File $ cd FridayUserbot # Install All Requirements $ pip(3) install -r requirements.txt # Create local.env with variables as given below # Start Bot $ python(3) […]

Read more

Python Community Interview With Moshe Zadka

This week, I’m joined by Moshe Zadka, a senior site reliability engineer at SurveyMonkey. Moshe is a core developer for the Twisted framework and a Real Python author. In this interview, we discuss a variety of topics, including the Twisted framework, Python for DevOps, writing Python books, and tai chi. Ricky: Thanks for joining me, Moshe. I’d like to start with the same questions I do with all my interview guests: how did you get into programming, and when did […]

Read more
1 6 7 8 9 10 23