thuynt13 / git-xploit Goto Github PK
View Code? Open in Web Editor NEWmessing with GitHub commit history :)
messing with GitHub commit history :)
Code as it is now stands doesn't remove previous so will have to save previous as $START_Y
as $Y
changes and that was the original previous:
CURRENT=$(date +"%Y")
START_Y=$(($CURRENT - 10))
END_Y=$(($CURRENT + 10))
Y=START_Y
Regardless, need to address the fact that it's still hardcoded to specific dates so possibly save them all to folder to be deleted.
ERROR: Permission to ThuyNT13/git-xploit.git denied to smgpulse007.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I don't exactly understand what's happening here
Original hardcoded values to create a range of years with {1999..2018}
.
for Y in {1999..2018}
do
mkdir $Y
cd $Y
...
done
Rather annoying to have to reset those values each time so used date +"%Y"
to retrieve present year and store in $CURRENT
and then use that to set $START_Y
and $END_Y
. But brace expansion {..}
proved problematic when trying to access variables as it doesn't work.
while loop
not incrementing with Y++
or $Y++
while ((Y<=END_Y))
do
mkdir $Y
cd $Y
...
$Y++
done
Hello,
I am new to git and all this stuff please help me to solve this error I use windows 11 to do all this, by the way also please let me know where is this all code to be pasted cmd or powershell or something else...
thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.