Skip to content

Instantly share code, notes, and snippets.

View sudarshanbs's full-sized avatar
😎
Work For Home

Sudarshan B S sudarshanbs

😎
Work For Home
  • NoWhere!
  • Bangalore
View GitHub Profile
import pytest
@pytest.fixture(autouse=True)
def data():
assert False
class TestData():
def test_foo(self):
assert 'prasha' in "prashanth"
@sudarshanbs
sudarshanbs / test_selenium.py
Created October 2, 2023 07:11 — forked from prashanth-sams/test_selenium.py
Screenshot Example | pytest-html-reporter
from selenium import webdriver
import unittest
from pytest_html_reporter import attach
class TestClass(unittest.TestCase):
def __init__(self, driver):
super().__init__(driver)
def setUp(self):
global driver
These keys are for Office Professional Plus 2019
Version: Office19_RTM19_ProPlus2019VL_MAK_AE
BN8D3-W2QKT-M7Q73-Y3JWK-KQC63 (Activation left: 5000+)
PNB29-Y9TKP-BJFD2-RBCXR-DJ4XQ (Activation left: 1500+)
Download Link: ed2k://|file|cn_office_professional_plus_2019_x86_x64_dvd_5e5be643.iso|3775004672|1E4FFA5240F21F60DC027F73F1C62FF4|/
or please download from trusted source!
@sudarshanbs
sudarshanbs / Windows 10 Product Key
Created October 1, 2023 11:19 — forked from moonsbtt/Windows 10 Product Key
Free Windows 10 Product Serial Key
Here are some working Windows 10 Product Product Serial Keys. Choose the right version and apply the right key!
------------------------------------
Win 10 RTM Professional Volume:MAK
------------------------------------
WP88N-TQK3K-W962W-K9DF4-TVJXM
Activation left: 938
CVNT9-C36BX-82H27-GMBH9-BKMQB
Activation left: 370

Python naming conventions

This document gives coding conventions example for the Python code. This style guide evolves over time as additional conventions are identified and past conventions are rendered obsolete by changes in the language itself.

1. General

  • Avoid using names that are too general or too wordy. Strike a good balance between the two.
    • Bad: data_structure, my_list, info_map, dictionary_for_the_purpose_of_storing_data_representing_word_definitions
    • Good: user_profile, menu_options, word_definitions
  • Never use the characters as single character variable names:
  • “l“ : lowercase letter el
@sudarshanbs
sudarshanbs / SpellNumber.vbs
Last active July 10, 2023 06:11 — forked from hjpotter92/SpellNumber.vbs
Convert Numbers into Words in Microsoft Excel using SpellNumber Function
Option Explicit
' Converts a number from 100-999 into text
Function GetHundreds(ByVal MyNumber)
Dim Result As String
If Val(MyNumber) = 0 Then Exit Function
MyNumber = Right("000" & MyNumber, 3)
' Convert the hundreds place.
If Mid(MyNumber, 1, 1) <> "0" Then
Result = GetDigit(Mid(MyNumber, 1, 1)) & " Hundred "
@sudarshanbs
sudarshanbs / Programming_Languages_Extensions.json
Created March 23, 2023 06:22 — forked from ppisarczyk/Programming_Languages_Extensions.json
Programming Languages and their File Extensions
[
{
"name":"ABAP",
"type":"programming",
"extensions":[
".abap"
]
},
{
"name":"AGS Script",
[
{
"name":"ABAP",
"type":"programming",
"extensions":[
".abap"
]
},
{
"name":"AGS Script",
SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/