https://www.netcup.de/bestellen/domainangebote.php
https://www.netcup.de/vserver/vps.php
https://www.netcup.de/vserver/vserver_restposten.php
https://www.netcup.de/vserver/vserver_images.php
https://www.netcup.de/vserver/root-server-erweiterungen.php
https://www.netcup.de/vserver/index.html
https://www.netcup.de/professional/managed-server/managed-privateserver.php
https://www.netcup.de/professional/managed-server/managed-server.php
https://www.netcup.de/jobs/systemadministrator-mwd
https://www.netcup.de/hosting/webhosting-application-hosting.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Cryptography Functions | |
* | |
* Forked from AndiDittrich/AesUtil.js | |
* https://gist.github.com/AndiDittrich/4629e7db04819244e843 | |
*/ | |
import crypto, { CipherGCM, CipherGCMTypes, DecipherGCM } from 'crypto'; | |
import { Password } from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* TS array natural sort (optional object property) | |
*/ | |
function naturalObjectSort<T>(arr: T[], objPropertyPath = ''): T[] { | |
return [...arr].sort((a: T, b: T) => { | |
let propPathParts = objPropertyPath.split('.'); | |
const getDeepValue = (obj: T): string => { | |
let value = obj as any; | |
for (let i = 0; i < propPathParts.length; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Card Grid Layout | |
* auto-growing by screen size | |
*/ | |
body { | |
--unv-card-grid-base-size: 300px; | |
--unv-card-grid-gap: 8px; | |
} |
This Tutorial is about how to use the Official FontAwesome WordPress Plugin with DSGVO/GDPR compatible local font hosting.
https://wordpress.org/plugins/font-awesome/
https://use.fontawesome.com/releases/v6.4.2/fontawesome-free-6.4.2-web.zip
Unzip & upload the whole folder to wp-content/uploads/fontawesome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Services; | |
use Http; | |
use Log; | |
class EUVatService { | |
/** | |
* Check vat in EU interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Console\Commands\DB; | |
use Illuminate\Console\Command; | |
class BackupDbImportCmd extends Command { | |
/** | |
* The name and signature of the console command. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$csv = \App\Services\DataExportService::createCsvExport(); | |
$BOM = "\xEF\xBB\xBF"; | |
return response()->streamDownload( | |
function () use ($BOM, $csv) { | |
echo $BOM . $csv; | |
}, | |
'data-export.csv', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Retrieve updates from GitHub | |
* Add the following snipped to your main wordpress plugin file | |
* Note that the public github API has a rate limit of 60 per hour per IP | |
*/ | |
add_filter('site_transient_update_plugins', function($transient) { | |
// Config | |
$wpPluginSlug = 'my-wordpress-plugin'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
How to Use: | |
1. Go to GoogleFonts, and save the URL from the font embedding code in a new directory as `gfont-data.css`. | |
2. Save this script in the same directory as `convert.php` | |
3. Run the script via the command line: `php -f convert.php`. | |
4. The script will create a `downloaded` folder, download all fonts into it, and update the CSS file to point to these local copies. | |
5. The updated CSS file will be saved as `fonts.css` in the same directory.t | |
6. Now you can upload it to your site and import it using `@import url(/assets/fonts/fonts.css)`. |