Skip to content

Instantly share code, notes, and snippets.

:octocat:
💎 Take Responsibility 💎

GOXR3PLUS STUDIO goxr3plus

:octocat:
💎 Take Responsibility 💎
Block or report user

Report or block goxr3plus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Anjelos Oracle SQL
--Drop every cancer table --Uncomment the below if you are sure the db tables exist
--DROP TABLE Instructor;
--DROP TABLE Subject_Area;
--DROP TABLE Courses;
--Create Instructor Table:
CREATE TABLE Instructor
( id number NOT NULL,
name varchar2(150) NOT NULL,
@goxr3plus
goxr3plus / Javascript Closures example
Last active Mar 7, 2019
Javascript Closures example
View Javascript Closures example
//-----------------------Closures ------------------------------//
function retirement(retirementAge) {
let a = " years until retirement";
return function(yearsOfBirth) {
let age = 2019 - yearsOfBirth;
console.log(retirementAge - age + a);
};
}
@goxr3plus
goxr3plus / Javascript Bind , Call , Apply examples
Last active Mar 7, 2019
Javascript Bind , Call , Apply examples
View Javascript Bind , Call , Apply examples
//-----------------------Bind , Call , Apply ------------------------------//
//Example 1
const john = {
name: "John",
age: 26,
job: "Teacher",
presentation: function(style, timeOfDay) {
if (style === "formal") {
console.log(
@goxr3plus
goxr3plus / Detect END OF LINE (EOL) in File with Java
Last active Jan 29, 2019
Detect END OF LINE (EOL) in File with Java
View Detect END OF LINE (EOL) in File with Java
enum Eol
{
WINDOWS,
MAC,
LINUX
}
Reader r = new FileReader("file absolute path");
int i = -1;
Eol eol = null;
@goxr3plus
goxr3plus / Aggelos PythonProject
Last active Nov 8, 2018
Python Binary to Decimal , Python Decimal to Binary
View Aggelos PythonProject
``` PYTHON
#----------------Convert Binary to Decimal and check for validity----------------------
def isBinary(s):
try:
return set(s) <= set('01')
except ValueError:
return False
You can’t perform that action at this time.