mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-29 20:21:50 +02:00
Add generate-renderer and dummy renderer
This commit is contained in:
2
.github/workflows/deployment.yml
vendored
2
.github/workflows/deployment.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
|
git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
|
||||||
npm run generate-renderer
|
npm run generate-renderer
|
||||||
npm run compress:images
|
# npm run compress:images
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# --------------------
|
# --------------------
|
||||||
|
@@ -4,7 +4,7 @@ Reading files is a common task in PHP and it provides a range of functions for t
|
|||||||
|
|
||||||
Here's a small example using `fgets()`:
|
Here's a small example using `fgets()`:
|
||||||
|
|
||||||
```PHP
|
```php
|
||||||
$file = fopen("example.txt", "r");
|
$file = fopen("example.txt", "r");
|
||||||
if ($file) {
|
if ($file) {
|
||||||
while (($line = fgets($file)) !== false) {
|
while (($line = fgets($file)) !== false) {
|
||||||
|
Reference in New Issue
Block a user