Here’s something that I need to do every now and then, and always forget how. To set up a new redirect, first head over to the “Redirects” tab on your site in Forge. Then, create a new redirect rule with the following configuration: From/ To{REDIRECT_DOMAIN}$request_uri TypePermanent You’re done!
Blog
How to create an off-chain NFT whitelist
This technical article will explore the concept of NFT whitelisting and how to implement this for an Ethereum based NFT collection. First, let’s define what NFT whitelisting is: it’s the process of getting a crypto wallet address pre-approved for minting. It’s a common approach to prevent so called “gas wars”, where people raise the price… Continue reading How to create an off-chain NFT whitelist
Create a pre-reveal mechanism for your NFT collection
It’s become a common practice when launching a new PFP style NFT collection (a la Bored Ape Yacht Club) to use a placeholder image for every NFT minted, and to only reveal the final NFTs once all NFTs have been minted. This is an important practice because without it snipers can choose which NFTs to… Continue reading Create a pre-reveal mechanism for your NFT collection
Setting up a simple Bitbucket pipeline for a Laravel application
If you’re using Bitbucket, then using their Pipelines feature as your CI/CD tool is a natural choice. Here’s a pipeline script that I use as a starting point for my new projects. For every pull request created, the pipeline will perform the following tasks: Running your test suite. Ensuring code standards are adhered to. Running… Continue reading Setting up a simple Bitbucket pipeline for a Laravel application
Early stage DevOps strategy for launching your Laravel application
At the early stages of a tech startup, the amount of DevOps work required is very limited. This makes it unfeasible to get an expert to handle your server and application setup. A more likely scenario is that you, as tech lead, will need to handle this yourself. Here’s the strategy I’ve used for many… Continue reading Early stage DevOps strategy for launching your Laravel application
Why dummy data matters – and how to generate it
Part of creating a successful Staging and Test environment for your application is generating dummy data as part of your deployment process. This dummy data is used during development, the QA process and even for feature demos. Making it easy for application states to be achieved with minimal “setup” (that tends to be tedious, data-entry… Continue reading Why dummy data matters – and how to generate it
Blockchain Island and the future of Malta’s budding Blockchain industry
As of 3rd July 2018, Malta has become the first country to provide a legal framework for businesses working in the blockchain space. That and the friendly political attitude towards blockchain-based companies means that more foreign companies (like Binance) will set up shop in Malta, more local companies (like Intelliblock) will emerge and more opportunities for blockchain developers & consultants, corporate & legal services and marketing services will be there for the taking.
Writing SOAP Web Service Consumers in PHP
Recently I’ve had to interact with a number of SOAP web services, and I’ve come up with some techniques to help build good SOAP web service consumers. The two most important goals when building a SOAP consumer is for the code to be maintainable and testable. Dark Beginnings A natural first approach is to write one class that… Continue reading Writing SOAP Web Service Consumers in PHP
Copying Font Awesome Fonts with Laravel Elixir
For some reason, I always have trouble setting up Font Awesome (quickly) with Laravel & Elixir. It’s three easy steps. Pull in font-awesome with npm or yarn Import Font Awesome’s stylesheets in your app.scss file Copy Font Awesome’s font files to your public directory Configure Elixir to do this automatically for you in your gulpfile: This… Continue reading Copying Font Awesome Fonts with Laravel Elixir
The Perfect Staging Environment
I created a staging environment that I’m proud of, and I’d like to share it with you. I wanted my staging environment to accomplish two things: Always show the latest version of the project Be automatically populated with dummy data Edit: The “dummy data” strategy described below works great for small projects. For medium to large… Continue reading The Perfect Staging Environment