ALL
13 Hours of Crisis: Tracking a GitHub Poisoning Incident
Incident OverviewSince 6 PM Beijing Time on December 4, 2024, “ghost repositories” have been appearing on GitHub. These repositories contain no code but include deceptive virus files. That same day, they became the fastest-growing repositories on GitHub in terms of stars. Over 180 fake zombie accounts were spreading the virus, waiting for victims to fall into their trap.A Chinese developer—myself—took notice of all this. After days of probing and searching, I identified the attacker.Incident DetailsInitially, I was developing an open-source program to identify early-sta...
A Chinese Programmer Accused of Circumventing Great Firewall Faces Confiscation of RMB 1.05 Million
Recently, a programmer posted an article on Weibo claiming that he was working for an overseas company while accessing the international internet. He was subsequently accused by the Shuangqiao Public Security Sub-bureau in Chengde, Hebei of "illegally establishing and using non-official channels for international networking" and received an administrative penalty of a fine of RMB 200 and the confiscation of "illegal gains" totaling RMB 1.05 million.This is the most severe punishment reported so far for the offense of "illegally establishing and using non-official channels for international net...
Create customized GitHub profile page
How long have you been using GitHub? Have you ever wondered whether one can customize his profile page with some fancy looking? Indeed GitHub allows developers to customize profile page through a secret repository.The secret is to create a repository with the same name as your GitHub username. And you will be granted into the work of customizing your own profile page. In this post, we will show a simple walk through on how to create it.Create secret repositoryAs indicated by the term secret repository, it indicates the repository name will be a bit special. You are right, it should be the same...
A tutorial on Github Actions
Github Actions is a CI/CD service created by Github. It aims to make it easy to automate all software workflows, now with world-class CI/CD. Build, test, and deploy code right from GitHub. It was launched in October 2018 and was officially available to all users in November 2019.This post will give an introduction of Github Actions and explain how it works.What is Github ActionsNormally Continuous Integration includes some steps, fetching code, running test, sshing into remote server instance, deploying code/binary on remote server etc. They are called actions in Github Actions. Lots...
13,504 0 GITHUB GITHUB ACTIONS CI CD
A simple example of git bisect command
git bisect is a very powerful command for finding out which commit is a bad commit when bug occurs. The rationale behind this command is that it pin locates the bad commit by divide and conquer. It divides the commit history into two equal parts, then determines whether the bad commit is at the first half or at the other half. This process will continue until the bad commit is located.Here is a really good example created by bradleyboy, this is a simple git repository which demonstrates a bad commit in the index.html. First, please clone the repository into local.$ git clone git@gith...
18,851 2 GITHUB GIT GIT BISECT
Resolve git issue git@github.com: Permission denied (publickey)
Sometimes when clone a remote repository from github.com, you may see below error.D:\Project\Playground\GitBisect>git clone git@github.com:bradleyboy/bisectercise.gitCloning into 'bisectercise'...git@github.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.The issue occurs when there is no key on your machine which is associated with your github account. To fix the issue, please go to ~/.ssh and check whether you have correct private and public key generated and stored and associate th...
18,572 0 GITHUB PERMISSION DENIED GIT PUBLIC KEY
Install and configure git plugin in Eclipse
When developing using IDE, it's always a good experience if everything can be done in the IDE including development, testing and version control. This also applies to Eclipse. In this post, we will show the process of installing and configuring git plugin in Eclipse. The pre-requisite is that you have git installed on your local machine. The detailed steps for installing and configuring git plugin are below.1. Installing Git pluginInstall using "Install New Software..." menu. a. Click Help -> Install New Software...b. Click Add... and add below informationName: EgitLocation:&...
38,087 0 ECLIPSE GITHUB GIT PLUGIN
How ScrollerJS works
ScrollerJS is a light weight number scroller module to be embedded in web apps. It provides fancy number scrolling animations. ScrollerJS supports both CSS transition and DOM animation to handle the animation needed. If CSS transition is supported in a browser, CSS transition will be the preferred option for animation. If in old browsers where CSS transition is not supported. DOM animation will be chosen automatically.How does the number scrolling actually work? To transition a number from 0 to 1 and then to 2, it will go through the below process:1. Creating a div panel which will contain two...
6,009 0 SCROLLERJS JAVASCRIPT CSS GITHUB