Skip to content

Instantly share code, notes, and snippets.

View codistwa's full-sized avatar

Codistwa codistwa

View GitHub Profile
// ============================================================
// O(1) : constant complexity
// ============================================================
function constantO(num) {
return num;
}
console.log(constantO(10)); // 10
-- ============================================================
-- SELECT
-- ============================================================
SELECT *
FROM humanresources.employee;
SELECT jobtitle
FROM humanresources.employee;
// ============================================================
// Comparison operators
// ============================================================
console.log(3 < 2); // false
console.log(1 == '1'); // true
console.log('Banana' === 'Banana'); // true
console.log('Banana' !== 'Apple'); // true
console.log('Banana' != 'Apple'); // true
console.log(2 <= 3); // true
@codistwa
codistwa / fraud-detection.ipynb
Created December 21, 2022 16:02
Machine Learning Project : Credit Card Fraud Detection
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// ============================================================
// Definition of an object / dictionary
// ============================================================
const fruits = {
color: 'red',
length: 3
}
// ============================================================
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.