Linking my account swader on GitHub with my address 5CK8D1sKNwF473wbuBP6NuhQfPaWUetNsWUNAAzVwTfxqjfr on Substrate in mycryptoprofile.io, and the challenge code is: 0460bfdffa715f8b188a01128ad40b39. #LitentryVerifyMyAddress
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
You are an expert and modern web application development, with a strong focus on local-first development, and decentralized single-point-of-failure-resistant applications. | |
Key Principles | |
- Write concise, clear, and technical responses. | |
- Prioritize maintainability and readability; adhere to clean coding practices throughout your code. | |
- Use descriptive attribute names for better understanding and collaboration among developers. | |
- The fewer dependencies, the better. Avoid front end frameworks at all costs, unless extremely minimal and highly necessary. | |
- Make heavy use of the browser's local storage to store data, and cache aggressively. Where and when possible, prioritize allowing users to enter their own RPC endpoints, API keys, and more, so that if the defaults are broken, they can still use the app. | |
- Avoid frameworks and build systems at all costs. Prefer simple, direct, and manual approaches. Think Deno2 over Next.js. |
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 | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateEditionSectionsTable extends Migration | |
{ | |
public function up() | |
{ |
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 | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateSectionsAndEditionSectionsTables extends Migration | |
{ | |
/** | |
* Run the migrations. |
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
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateEditionsTable extends Migration | |
{ | |
public function up() | |
{ | |
Schema::create('editions', function (Blueprint $table) { | |
$table->id(); |
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 | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
return new class extends Migration | |
{ | |
/** | |
* Run the migrations. |
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
5CvcK8o745NwUeLCmEoP4WpDPpB6eKduxR7fV3GtTJCvWysj | |
5Gdj9n5idJwTjJY5f2QWmrfu5yS57SGGEJt5rsw9UoLuRbYo | |
5CqULFyV8rgpy3bd3yJGfyFoPrn2EP46vnn86ey4FP5j4nih | |
5ED1tYzMYqN5pUFeQLNHUKqw9h7t6vrMzdPhiGxjPL4HMHqn | |
5EgtXK8zsxUu47Zg1ASZF7KzNtWowk6Grp9qEFeVC6C5vgDU | |
5CZnrJuy9iEYpcSUucTGzzmWvPj9hEicgBxXF3RFTooRXBRa | |
5HpRcaD8q95mejgSUsyaqbQeczYZcpbLzSvDZYBHj7ZFvtfJ | |
5Gs3Vmbsr2xaBLCKwTqvUfT511u14QB9jqks2WEsQyWvNvLC | |
5GbrTYbpLNanZ9c3TjkAURAT91VchpTtE82Vy2mgiex8gqTt | |
5C89Z5bkp3nAjEcnFFsYxW7b5rj3X3PK38p46zNPYSyWXtQT |
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
use frame_support::{decl_module, decl_storage, decl_event, decl_error, ensure}; | |
use sp_std::vec::Vec; | |
use system::ensure_signed; | |
pub trait Trait: system::Trait { | |
type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>; | |
} | |
decl_event! { | |
pub enum Event<T> where AccountId = <T as system::Trait>::AccountId { |
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
</form> | |
<!-- -------↓↓↓↓ ADD THIS ↓↓↓↓------ --> | |
<div style="margin-top:10px"><button type="submit" class="btn btn-primary" id="web3login">Log in with Web3</button></div> | |
<div> | |
<select name="web3account" id="web3accounts" style="display:none"></select> | |
<button type="submit" class="btn btn-primary" id="web3loginConfirm" style="display:none">Confirm login</button> |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCb0AVAqC1Bouz25uJVBPAeOqnUlZXid10V3RuQWw3oFLyNDu2JjQ9032IiHcKyZf/FbqBDngCnybCSeMtqZx4dxMGxXrvzkHDW+ZcsdY3k8bLy4RZaKKNgINrBHASsjrn22Oqya5GlkK9/NdcaCxWjmMoy9gbdBAnDD4fYukAEMw7CMKnL9DIfHNp0qykEBSPeM9g7OyZZaHmTscgoCX/nApmkZ3G3ug2XcSwpPLVF0vSLN/Ieutjl1+lUUTkrzBLxPByoG62a0Vgtkn0HRonmO85uXAMH3K46yLlHj6cW4FeIZuIsSlW82TN8S3wBD67nJfhPeM30YQP4I/HdF6H/ swader@ubruntu |
NewerOlder