CodingTrain / CodingTrain/Suggestion-Box
Challenge: Make a Calendar
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 570
- Fork
- 85
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I was watching your regex videos at home a few nights ago, and at the same time at work I was trying to figure out how to generate a Calendar template (as a jpg file).
I ended up using a Photoshop script to do it, which I needed to edit quite a bit to get to work the way I wanted. While editing the script I noticed that the guy who wrote it also wrote a giant book on regex, and the script (basically JS) used quite a bit of regex as well - I think regex is how he was able to calculate everything.
I thought it would make an interesting tutorial - how do you figure out where in a grid the 1st of a given month is, how do you know what day the 1st is in a given future year, how many rows does a given month need, how do you draw a grid, how to deal with leap years etc.
the original script can be found here:
http://regex.info/blog/photo-tech/calendar
thanks for the videos!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia esaminando lo script del calendario originale all’indirizzo http://regex.info/blog/photo-tech/calendar e gli argomenti richiesti nell’issue: posizionamento dei mesi, date future, numero di righe, disegno della griglia e anni bisestili. Il risultato dovrebbe essere un tutorial o una challenge che spieghi e dimostri questi concetti di generazione dei calendari.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- content
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100