Last active
June 29, 2024 09:31
-
-
Save sbibek086/d7b400fb94f250b23fa8ea306de87f68 to your computer and use it in GitHub Desktop.
Github Journal post1
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
nothing, but this cant and MUST NOT BE DELETED because tala sabai comments jun mera NOTES haru hun udhchh. |
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
// I excitedly wrote this code- runability or compilability, is out of concern as I was impressed w CoffeecupCode n wanted | |
// to supersize it such that most of sol codes practices n RightToDos would turbo come senses to me. Nothing Serious! | |
pragma solidity ^0.4.0; | |
beverage Coffee{ | |
uint private data1; | |
uint private data2; | |
ufloat data; | |
function setIntData(uint a, uint b) public {data1=a; data2=b;} | |
function setIntDataPriv(uint a, uint b) private {data1=a; data2=b;} | |
function incIntDataPriv(uint a, uint b) private {data1=a; data2=b;} | |
function setFloatData(ufloat c) public {data=c;} | |
function empty() // I cant think of what to write inside it | |
function drink() // similar | |
function compute(uint l, uint m) internal returns(uint) {return l+m;} | |
} | |
beverage Tea{ | |
function h() public{ | |
Coffee coffee = new Coffee(); | |
coffee.setIntData(2,3); // OK because its setIntData is public in nature | |
uint local= coffee.incIntDataPriv(7); //not OK not only here but also in Americano | |
} | |
} | |
beverage Americano is Coffee{ | |
function g() public{ | |
uint val = compute(3,2); //OK though it is internal returns because Americano is inherited //from Coffee | |
} | |
} | |
Coffee coffee = new Coffee(); | |
if (coffee.empty) | |
{coffee.refill();} | |
else | |
{coffee.drink();} |
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
PS: While I click 'edit' on this gist viewable, then on bottom, I see 'Add File'. I have to click there to add new gist. Anyway for kaamchalau, just add comment on this gist for immediate note down or emotional vomit posts. | |
--- | |
So, since I created github pages just forking on from one create-pages-directory, and that sbibek086/write-the-docs is entirely my own assets on my own right, I am 'standing on the shoulders' of that jerkyll etc etc that powers it to standalone website, I can do anything, I mean just stand on shoulders of what others have already prepared - I mean softwares that they have created etc. Just saw for real whats FORKING brings to me. |
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
# this yml integration was done just out of pure experimentation of what it means to add github extension libraries on code ,& is | |
#just random integration | |
#Starter pipeline | |
# Start with a minimal pipeline that you can customize to build and deploy your code. | |
# Add steps that build, run tests, deploy, and more: | |
# https://aka.ms/yaml | |
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' | |
steps: | |
- script: echo Hello, world! | |
displayName: 'Run a one-line script' | |
- script: | | |
echo Add other tasks to build, test, and deploy your project. | |
echo See https://aka.ms/yaml | |
displayName: 'Run a multi-line script' |
tye ubuntu chalauda gui ko kura (which is imp) matra hun, real sudo etc pow chai xaina.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ctrlG >> Special >> Blanks >> Ctrl - >> Entire row
for removing blank rows in excel