This file contains hidden or 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
| async function postData(data) { | |
| const response = await fetch(API_URL, { | |
| method: 'POST', | |
| body: data | |
| }) | |
| return await response.json() | |
| } |
This file contains hidden or 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
| export let STATE = { | |
| send: { | |
| success: null, | |
| error: null, | |
| isSent: false | |
| }, | |
| validationErrors: {} | |
| } |
This file contains hidden or 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
| <section> | |
| <!-- {@debug STATE} --> | |
| <h3 class="cont-title">Email Us</h3> | |
| {#if STATE.send.success} | |
| <div id="sendmessage">Your message has been sent. Thank you!</div> | |
| {/if} | |
| {#if STATE.send.error} | |
| <div id="errormessage">{STATE.send.error} <br> Please try again</div> | |
| {/if} | |
| {#if !STATE.send.isSents} |
This file contains hidden or 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
| <!--исходный блок--> | |
| <a href="https://newscom/1366--uvezli-iz--full.html" class="fint fint_horizontal fint_inside-fints-nest" target="_blank" rel="nofollow noreferrer"> | |
| <div class="fint__image"> | |
| <img src=".s/5bc6f8d81cbb8_4x3.jpg" alt=""> | |
| </div> | |
| <div class="fint__content"> | |
| <div class="fint__title">Бла бла бла бла бла</div> | |
| </div> | |
| </a> |
This file contains hidden or 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
| alias c='clear' | |
| alias ga='git add . && git commit -m' | |
| alias gc='git checkout ' | |
| alias gg='git gc --prune=now' | |
| alias gm='git checkout master' | |
| alias gp='git pull' | |
| alias gpp='git push' | |
| alias gs='git status' | |
| alias kit='~/go/src/github.com/kujtimiihoxha/kit/kit' | |
| alias kkk='kill -kill $(lsof -t -i :$1)' |
This file contains hidden or 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 id="app"> | |
| {{foo}} | |
| </div> |
This file contains hidden or 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 id="app"> | |
| <h1 v-bind:class="{'active-class':active}">home</h1> | |
| <h2 @click="makeActive()">makeActive</h2> | |
| </div> | |
| </div> |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" | |
| content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| <link rel="stylesheet" href="css/template_styles.min.css"> | |
| </head> |
This file contains hidden or 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
| // read/write globals, add uints | |
| // https://solidity.readthedocs.io/en/v0.4.24/units-and-global-variables.html | |
| pragma solidity ^0.4.4; | |
| contract SampleContract { | |
| // This value is visible in etherscan.io explorer | |
| uint256 public value; |
This file contains hidden or 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
| echo 'Check changes on frozen module MODULE_NAME' | |
| SRC_PATTERN="MODULE_NAME" | |
| git diff --name-only --cached $SRC_PATTERN | if grep -q $SRC_PATTERN; | |
| then | |
| log "FAIL: You are trying to commit to the MODULE_NAME" | |
| log "This module has been moved to repository MODULE_NAME_REPOSITORY" | |
| exit 1 | |
| fi |