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
Install Aptos CLI: | |
https://aptos.dev/tools/aptos-cli/install-cli/automated-install | |
Run command `aptos` | |
Setup new Aptos Move Project | |
aptos move init --name debug | |
Create our own profile | |
aptos init --network devnet |
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
console.clear(); | |
require("dotenv").config(); | |
const { | |
AccountId, | |
PrivateKey, | |
Client, | |
TokenCreateTransaction, | |
TokenType, | |
TokenSupplyType, | |
TokenMintTransaction, |
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 id="questions_searchform" role="search" autocomplete="off" action="/post"> | |
<div class="input-group"> | |
<input tabindex="1" id="questions_searchform_input" type="text" name="title" aria-label="Ask your question" class="<%= "disabled " if !current_user %>form-control search-query typeahead" qryType="questions" placeholder="type your question"> |
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 id="questions_searchform" role="search" autocomplete="off" | |
action="/post"> | |
<div class="input-group"> | |
<input tabindex="1" id="questions_searchform_input" type="text" name="title" class=" | |
<%= "disabled " if !current_user %>form-control search-query typeahead" | |
qryType="questions" placeholder="type your question"> | |
<label class="questions_searchform_label" | |
for="questions_searchform_input">Ask question</label> |
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
<div class="card"> | |
<% if node.main_image %> | |
<a class="card-img-top img" style="overflow: hidden; height:10em;" | |
<% if @widget %>target="_blank"<% end %> href="<%= node.path %>"> | |
<img src="<%= node.main_image.path(:default) alt="xyz" %>" | |
style="width:100%;"/> | |
</a> |