Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dila #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"configurations": [
{
"name": "linux-gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "${default}",
"cppStandard": "${default}",
"intelliSenseMode": "linux-gcc-x64",
"compilerArgs": [
""
]
}
],
"version": 4
}
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"mtxr.sqltools-driver-pg"
]
}
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"externalConsole": false,
"cwd": "/workspaces/SoulMate-Online-Dating-Platform/php",
"program": "/workspaces/SoulMate-Online-Dating-Platform/php/build/Debug/outDebug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
93 changes: 93 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"editor.defaultFoldingRangeProvider": "mintlify.document",
"editor.defaultFormatter": "njpwerner.autodocstring",
"python.testing.unittestArgs": [
"-v",
"-s",
".",
"-p",
"*test.py"
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"php.debug.executablePath": "",
"search.exclude": {
"": true
},
"search.useGlobalIgnoreFiles": true,
"search.useParentIgnoreFiles": true,
"files.exclude": {
"": true
},
"explorer.excludeGitIgnore": true,
"dotnetAcquisitionExtension.enablePreviewFeatures": true,
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"python.testing.pytestArgs": [
"javascript"
],
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"cmake.sourceDirectory": "/workspaces/SoulMate-Online-Dating-Platform",
"C_Cpp_Runner.cCompilerPath": "gcc",
"C_Cpp_Runner.cppCompilerPath": "g++",
"C_Cpp_Runner.debuggerPath": "gdb",
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.msvcBatchPath": "",
"C_Cpp_Runner.useMsvc": false,
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic",
"-Wshadow",
"-Wformat=2",
"-Wcast-align",
"-Wconversion",
"-Wsign-conversion",
"-Wnull-dereference"
],
"C_Cpp_Runner.msvcWarnings": [
"/W4",
"/permissive-",
"/w14242",
"/w14287",
"/w14296",
"/w14311",
"/w14826",
"/w44062",
"/w44242",
"/w14905",
"/w14906",
"/w14263",
"/w44265",
"/w14928"
],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false,
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.includeSearch": [
"*",
"**/*"
],
"C_Cpp_Runner.excludeSearch": [
"**/build",
"**/build/**",
"**/.*",
"**/.*/**",
"**/.vscode",
"**/.vscode/**"
],
"C_Cpp_Runner.useAddressSanitizer": false,
"C_Cpp_Runner.useUndefinedSanitizer": false,
"C_Cpp_Runner.useLeakSanitizer": false,
"C_Cpp_Runner.showCompilationTime": false,
"C_Cpp_Runner.useLinkTimeOptimization": false,
"C_Cpp_Runner.msvcSecureNoWarnings": false,
"C_Cpp_Runner.compilerArgs": [
"Compiler Args"
]
}
45 changes: 45 additions & 0 deletions Untitled-1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* We've started Quokka for you automatically on this file.
*
* To open a new Quokka file:
* - Press `Ctrl K, J` to create a new JavaScript File
* - Press `Ctrl K, T` to create a new TypeScript File
* - Press `Ctrl K, L` to open an interactive sample from:
* https://github.com/wallabyjs/interactive-examples
*
* To start/restart Quokka on an existing file:
* - Press `Ctrl K, Q`
*/

// See the output of console.log right next to your code
const quokka = { isAwesome: true };

console.log(quokka);

// See the value of a variable simply by typing its name
quokka;

// Use sequence expression to compare objects
const wallaby = { "is Quokka's BigBrother": true };

(quokka, wallaby)

// Gutter indicators show what code was executed (code coverage)

// Orange indicators means only part of the line was executed
// because JavaScript stops processing after first false value
console.log('partialCoverage', false && true);

// Green indicators means that Quokka executed all statements
// on a line of code
if (false) {
// White indicators means that a line of code was never
// executed by Quokka
console.log('noCoverage', true);
}

// Red indicators show where an error occurred. The error message
// is also shown beside the error
throw new Error('Something went wrong');

// There's a lot more Quokka can do! Visit our docs to learn more:
// - https://quokkajs.com/docs/
4 changes: 2 additions & 2 deletions edit-profile.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php require_once "controllerUserData.php"; ?>

<?php
$email = $_SESSION['email'];
$password = $_SESSION['password'];
$email = $_SESSION['viladxb@gmail.com'];
$password = $_SESSION['dilshan12345'];
$uid = "";
$tab1 = Array();
$tab2 = Array();
Expand Down