Skip to content

Instantly share code, notes, and snippets.

View vyasakanksha's full-sized avatar

Akanksha Vyas vyasakanksha

View GitHub Profile
@vyasakanksha
vyasakanksha / input.scss
Created February 24, 2022 09:36
Generated by SassMeister.com.
@use "sass:math";
.grid-stack > .grid-stack-item {
$gridstack-columns: 192;
min-width: 100% / $gridstack-columns;
@for $i from 0 through $gridstack-columns {
&[gs-w='#{$i}'] { width: (100% / $gridstack-columns) * $i; }
&[gs-x='#{$i}'] { left: (100% / $gridstack-columns) * $i; }
import xlsxwriter
# Create an new Excel file and add a worksheet.
workbook = xlsxwriter.Workbook('AbhishekExample.xlsx')
worksheet = workbook.add_worksheet()
worksheet1 = workbook.add_worksheet()
# Increase the cell size of the merged cells to highlight the formatting.
worksheet.set_column('B:D', 12)
FROM python:3
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN pip3 install -r requirements.txt
#download and install julia
RUN useradd -m -s /bin/bash julia
package main
import (
"fmt"
"math/rand"
"time"
)
func main() {
cookiesPerBox := 28
@vyasakanksha
vyasakanksha / propertyTransfer.sol
Created July 3, 2019 17:44
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=undefined&optimize=false&gist=
pragma solidity >=0.4.22 <0.6.0;
contract PropertyTransfer {
enum Status {NotExist, Created, InTransit, PaidFor, Completed}
struct Property {
uint price;
address currentOwner;
Status state;
@vyasakanksha
vyasakanksha / propertyTransfer.sol
Created July 3, 2019 17:30
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=undefined&optimize=false&gist=
pragma solidity >=0.4.22 <0.6.0;
contract PropertyTransfer {
enum Status {NotExist, Created, InTransit, PaidFor, Completed}
struct Property {
uint price;
address currentOwner;
Status state;
@vyasakanksha
vyasakanksha / propertyTransfer.sol
Created July 3, 2019 17:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity >=0.4.22 <0.6.0;
contract PropertyTransfer {
enum Status {NotExist, Created, InTransit, PaidFor, Completed}
struct Property {
uint price;
address currentOwner;
Status state;
@vyasakanksha
vyasakanksha / propertyTransfer.sol
Created July 3, 2019 17:18
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity >=0.4.22 <0.6.0;
contract PropertyTransfer {
enum Status {NotExist, Created, InTransit, PaidFor, Completed}
struct Property {
uint price;
address currentOwner;
Status state;
@vyasakanksha
vyasakanksha / propertyTransfer.sol
Created July 3, 2019 17:05
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity >=0.4.22 <0.6.0;
contract PropertyTransfer {
enum Status {NotExist, Created, InTransit, PaidFor, Completed}
struct Property {
uint price;
address currentOwner;
Status state;
@vyasakanksha
vyasakanksha / propertyTransfer.sol
Created July 3, 2019 16:55
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity 0.5.9;
contract PropertyTransfer {
enum Status {NotExist, Created, InTransit, PaidFor, Completed}
struct Property {
uint price;
address currentOwner;
Status state;