Skip to content

Instantly share code, notes, and snippets.

@sbibek086
Last active October 13, 2024 07:55
Show Gist options
  • Save sbibek086/d7b400fb94f250b23fa8ea306de87f68 to your computer and use it in GitHub Desktop.
Save sbibek086/d7b400fb94f250b23fa8ea306de87f68 to your computer and use it in GitHub Desktop.
Github Journal post1
nothing, but this cant and MUST NOT BE DELETED because tala sabai comments jun mera NOTES haru hun udhchh.
// 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();}
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 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'
@sbibek086
Copy link
Author

sbibek086 commented Feb 15, 2024

gsheet
https://www.youtube.com/shorts/uKgD0O7TaUw

Data in UpBar ->> DataCleanup->> Cleanup Suggestion FOR like removing duplicate entry etc

jasari maile diuta row ma 1st col ko 2,3; ra 2nd col ko 10,20 lai resply 20,60 garee tyo diuta row lai select garee drag tala garyo vane varra varchh, gsheet ma chai drag drop down ko satta Ctrl Shift Y garnu parchh

image

image

pivot table - 0bojnxjNMTM yei manxe ko matra her gsheet ko lagi, aru Guiye harko nahera

yt -_1IaUjO-hk


ctrlG >> Special >> Blanks >> Ctrl - >> Entire row , for removing blank rows in excel

@sbibek086
Copy link
Author

sbibek086 commented Sep 1, 2024

https://www.onlinekhabar.com/2024/04/1457435 - nabil loans to foreign bata aalai

Aug 19, 2024 -‘स्टार्टअप उद्यम कर्जा सञ्चालन, 2081’ passed today. उद्योग, वाणिज्य आपूर्ति मन्त्रालय अन्तरगतको औद्योगिक व्यवसाय विकास प्रतिष्ठान will handle this by calling aawedan via सार्वजनिक सूचना from स्टार्टअप कर्जा लिन इच्छुक।

  • one nagriktaa one proposal (new soch, tech leveraged, व्यवसायिक प्रस्तावको प्रस्तुतीकरण, job creation, using internal raw material, पूर्वाधारको उपलब्धता, वित्तीय अवस्था र ऋण लिने योग्यता लगायतका आधारहरु)
  • anta baata loan na liyeko wa liyeko vaye tyo loan rin tireko hunuparxa
  • 5 - 25 lakh, 3% I ma उद्यम तथा परियोजनालाई नै धितो मानेर loan dine, for which banks(find?) are allotted {loan will be deposited बैंकमा छुट्टै खाता खोली n unspent amount will be returned to संघीय सञ्चित कोष at arthik varsa end}. कर्जा प्रवाहका लागि विनियोजित रकमबाटै कर्जा सुरक्षण निमगलाई रकम भुक्तानी गर्न मिल्नेछ।
  • loan period aka karja awadhi (vanya tetti ma tirnu parne ho, yes ehi ho) - 5yr । कर्जाको पहिलो किस्ता लिएको एक वर्षपछि साँवा वा ब्याजको रकम फिर्ता गर्न थाल्नुपर्नेछ ।

loan for who -pvt firm, partnership firm, company or sahakari संस्थाको रुपमा उद्योग दर्ता गर्ने निकायमा दर्ता भएका उद्यम तथा व्यवसाय ; not older than 10yr before, arthik varsa's annual karobar <15cr, यस्तो उद्योग नगाभी वा नटुक्र्याइकनै नयाँ व्यवसाय हुनुपर्नेछ

loan NOT for उद्योगको रुपमा दर्ता नभएका, वस्तु तथा सेवा विदेशबाट आयात गरी बिक्री वितरण गर्ने, blacklisted, औद्योगिक व्यवसाय ऐन, २०७६ बमोजिम होल्डिङ लगानी कम्पनी


bit.ly/cosmos7 ; PM -imgur.com/a/xza4vF3; @PerfectGuide_ ||DONTgiveAdvic2Any1UntilAskd
vlc [1] [2] [3] [4] [5] [6] --sout "#gather:std{access=file,dst=[Merged]}" --sout-keep

since i do not find that city analog picture in cc ytube, will go with this. so as i was writing, same like that happenig in polka world too:

===============================
PERMANENT NOTES:
------------pgm related kura-------------

When we again restart runtime, then all apt get packages we dont need to reinstall, <- just check by directly running func wala cell BUT download wala ie. downloading directly from K to colab wala cell needs to rerun again

selecting a premium GPU may grant you access to a V100 or A100 Nvidia GPU.

The free of charge version of Colab grants access to Nvidia's T4 GPUs subject to quota restrictions and availability.

gpu_info = !nvidia-smi
gpu_info = '\n'.join(gpu_info)
if gpu_info.find('failed') >= 0:
print('Not connected to a GPU')
else:
print(gpu_info)

//In order to use a GPU with your notebook, select the Runtime > Change runtime type menu, and then set the hardware accelerator dropdown to GPU.


Users who have purchased one of Colab's paid plans have access to high-memory VMs when they are available.

You can see how much memory you have available at any time by running the following code cell. If the execution result of running the code cell below is "Not using a high-RAM runtime", then you can enable a high-RAM runtime via Runtime > Change runtime type in the menu. Then select High-RAM in the Runtime shape dropdown. After, re-execute the code cell.

from psutil import virtual_memory
ram_gb = virtual_memory().total / 1e9
print('Your runtime has {:.1f} gigabytes of available RAM\n'.format(ram_gb))

if ram_gb < 20:
print('Not using a high-RAM runtime')
else:
print('You are using a high-RAM runtime!')

Longer runtimes
All Colab runtimes are reset after some period of time (which is faster if the runtime isn't executing code). Colab Pro and Pro+ users have access to longer runtimes than those who use Colab free of charge.

Background execution
Colab Pro+ users
have access to background execution, where notebooks will continue executing even after you've closed a browser tab. This is always enabled in Pro+ runtimes as long as you have compute units available.

Relaxing resource limits in Colab Pro
Your resources are not unlimited in Colab. To make the most of Colab, avoid using resources when you don't need them.eg, only use a GPU when required and close Colab tabs when finished.

If you encounter limitations, you can relax those limitations by purchasing more compute units via (Pay As You Go)[https://colab.research.google.com/signup]. Anyone can purchase compute units via Pay As You Go; no subscription is required.


colab-billing@google.com.


https://github.com/sbibek086/write-the-docs/commits?author=sbibek086

/* just ask gpt question- {eg. if remote has windows os n u need to ON SSH server in it} n then check it in jupyter */

-----------RElated to Ag-----------------------

System of Rice Intensification n its different context-specific modifications r efficient in utilizing local resources n opportunities and make rice farming profitable and attractive. SRI needs less hashtag#seed (10-20%), less water (about 50%), fewer chemicals (fertilizers and pesticides), n less cost. In return, it gives a higher yield and higher profit with reduced GHGs. Many times agriculturists are trying to promote any technology according to the "copy and paste" model which does not fit everywhere. So we need context-specific innovations to make it suitable and doable in new contexts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment