| description | Upgrade an Astro project to version 6.x |
|---|
This workflow guides you through upgrading an Astro project from v5.x to v6.x.
| --- | |
| import ObfuscateLink from './ObfuscateLink.astro'; | |
| --- | |
| <div class="card hint"> | |
| <p> | |
| Email: <ObfuscateLink email="info@example.com" /> | |
| </p> | |
| </div> |
| --- | |
| --- | |
| <button id="theme-switcher" title="Dark/Light mode"></button> | |
| <style is:global> | |
| #theme-switcher { | |
| background: none; | |
| border: 0; |
| <?php | |
| namespace App\Form; | |
| use Symfony\Component\Form\DataTransformerInterface; | |
| class DateTimeNoSecondsTransformer implements DataTransformerInterface | |
| { | |
| public function transform(mixed $value) | |
| { |
| <?php | |
| namespace App\DBAL; | |
| use Doctrine\DBAL\Platforms\PostgreSQLPlatform as PostgreSqlPlatformBase; | |
| class PostgisPostgreSqlPlatform extends PostgreSqlPlatformBase | |
| { | |
| public function getListNamespacesSQL() | |
| { |
| { | |
| "basics": { | |
| "name": "Ivo Bathke", | |
| "label": "Software Developer", | |
| "picture": "https://gist.githubusercontent.com/ivoba/e60c4a537dfa773d37f12cfc02a33798/raw/6c5f4160e1ba2956bcf28eb90bf8eeac30374ba3/resume_ivoba.JPG", | |
| "summary": "I am a senior Software Developer with 20+ years experience in APIs and web applications for ecommerce, travel industry and other sectors. I prefer the backend yet im not afraid of frontends. I even can do DevOps, i would not call me an Admin though. I like open source, remote work, putting tickets to \"Ready for Review\", meetings in videochats across timezones, tagging releases, refactoring, writing tests, checking the commit log and posting smilies to the chat.", | |
| "website": "https://ivo-bathke.name", | |
| "email": "hello@ivo-bathke.name", | |
| "location": { | |
| "address": "Orsbeckstr. 4", |
| "require": { | |
| ... | |
| "cweagans/composer-patches": "^1.7" | |
| ... | |
| "extra": { | |
| "patches": { | |
| "silverstripe/framework": { | |
| "Fix SilverStripe deprecations error_reporting for PHP 8.1": "./fix-deprecation-error_reporting.4.10.4.patch" | |
| } | |
| } |
| import {pipeline} from 'stream'; | |
| import {parse, transform, stringify} from 'csv'; | |
| import {createReadStream, createWriteStream} from 'fs'; | |
| pipeline( | |
| createReadStream(`./members.csv`), | |
| parse(), | |
| transform(data => data[2] !== '' ? data : null), | |
| stringify({}), | |
| createWriteStream(`./members_filtered.csv`), |
| server { | |
| listen 80; | |
| # server_name domain.tld www.domain.tld; | |
| index index.php; | |
| root /var/www/current; | |
| charset utf8; | |
| autoindex off; |
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |