This file contains hidden or 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
# ruff.toml (or .ruff.toml) | |
target-version = "py311" | |
line-length = 100 | |
src = ["src", "scripts"] | |
# ⬇️ this must be TOP-LEVEL, not inside [lint] | |
unsafe-fixes = false | |
[lint] |
This file contains hidden or 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
Id CommandLine | |
-- ----------- | |
1 cd Z:/ | |
2 cd '.\Work\QA Automation\AEM\' | |
3 ls | |
4 cd .\repo\ | |
5 ls | |
6 cd 2 | |
7 ls | |
8 cd .\Cucumber\ |
This file contains hidden or 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
https://selfschedule-qa.aiminspect.com/ | |
Zooming in removes the About AIM and Language buttons on top right corner. | |
http://homepage.aiminspections.com/about-us/# | |
Zooming in shows Accouts button, which is unclickable. |
This file contains hidden or 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
// C++ program for activity selection problem | |
// when input activities may not be sorted. | |
#include <bits/stdc++.h> | |
using namespace std; | |
// A job has a start time, finish time and profit. | |
struct Activitiy | |
{ | |
int start, finish; | |
}; |
This file contains hidden or 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
// A Dynamic Programming based solution for 0-1 Knapsack problem | |
#include<stdio.h> | |
// A utility function that returns maximum of two integers | |
int max(int a, int b) { return (a > b)? a : b; } | |
// Returns the maximum value that can be put in a knapsack of capacity W | |
int knapSack(int W, int wt[], int val[], int n) | |
{ | |
int i, w; |
This file contains hidden or 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
// A Dynamic Programming based solution for 0-1 Knapsack problem | |
#include <iostream> | |
using namespace std; | |
// A utility function that returns maximum of two integers | |
int max(int a, int b) | |
{ | |
return (a > b) ? a : b; | |
} |
This file contains hidden or 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
Prim's Algorithm(modified).cpp | |
#include<iostream> | |
#include<cstdlib> | |
#define WHITE 0 //not visited | |
#define BLACK 1 //visited | |
#define INF -1 | |
using namespace std; | |
void create_nodes(int nodes, int** &edges, int* &parents, int* &colors){ |
This file contains hidden or 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
Prim's Algorithm(modified).cpp | |
#include<iostream> | |
#include<cstdlib> | |
#define WHITE 0 //not visited | |
#define BLACK 1 //visited | |
#define INF -1 | |
using namespace std; | |
void create_nodes(int nodes, int** &edges, int* &parents, int* &colors){ |
This file contains hidden or 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
# Django Docs | |
import django | |
from django.conf import settings | |
from myapp import myapp_defaults | |
settings.configure(default_settings=myapp_defaults, DEBUG=True) | |
django.setup() | |
# Now this script or any imported module can use any part of Django it needs. |
NewerOlder