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
gid:Qnriyjd4677HVKNmNWm727 |
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
pragma solidity ^0.8.0; | |
pragma experimental ABIEncoderV2; | |
contract SavingsAccount { | |
struct Member{ | |
uint id; | |
string name; | |
uint balance; | |
} | |
mapping (uint => Member) public members; | |
event savingsEvent(uint indexed _memberId); |
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
<!-- : Begin batch script | |
@setlocal DisableDelayedExpansion | |
@set uivr=v38.0 | |
@echo off | |
:: ### Configuration Options ### | |
:: change to 1 to enable debug mode (can be used with unattended options) | |
set _Debug=0 | |
:: change to 0 to turn OFF Windows or Office activation processing via the script |
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
inceleme listesi | |
https://github.com/camptocamp/bivac | |
docker run -d --name bivac -v /var/run/docker.sock:/var/run/docker.sock:ro \ | |
-e AWS_ACCESS_KEY_ID=XXXX \ | |
-e AWS_SECRET_ACCESS_KEY=XXXXXX \ | |
-e BIVAC_TARGET_URL=s3:my-bucket \ | |
-e RESTIC_PASSWORD=foo \ | |
-e BIVAC_SERVER_PSK=toto \ | |
-e BIVAC_AGENT_IMAGE=camptocamp/bivac:stable \ |
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
#!/bin/bash | |
docker run --name fc \ | |
-v $PWD/ssl:/etc/nginx/certs \ | |
-v $PWD/ssl/nginx-default.conf:/etc/nginx/conf.d/default.conf:ro \ | |
-v $PWD/dist/___PROJECT_NAME___:/usr/share/nginx/html:ro -p 8080:443 -d nginx |
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
import { Component, OnInit, Input, ViewChild, Output, EventEmitter } from '@angular/core'; | |
import { Web3Service, WalletState, WalletType } from '../web3.service'; | |
import Web3 from 'web3'; | |
import { waitTransaction, isSuccessfulTransaction } from '../transactionwait'; | |
import { isRequired, checkRequired } from '../requiredInput'; | |
import { EthereumProgressBarComponent } from '../ethereum-progress-bar/ethereum-progress-bar.component'; | |
import { Subscription } from 'rxjs'; | |
import { NGXLogger } from 'ngx-logger'; | |
// Called before creating a tranaction. |
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
ubuntu xrdp https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/ |
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
#!/bin/bash | |
# This will install docker following [https://docs.docker.com/install/linux/docker-ce/ubuntu/] | |
sudo apt-get remove docker docker-engine docker.io | |
sudo apt-get update | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ |
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
docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=YourSTRONG!Passw0rd' -p 1401:1433 -d microsoft/mssql-server-linux:2017-latest |
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
dotnet watch ru | |
npm install -g browser-sync | |
browser-sync start ` | |
--proxy http://localhost:5000/ ` | |
--files '**/*.cshtml, **/*.css, **/*.js, **/*.htm*' |
NewerOlder