Details
-
AboutIf you are reading this have a nice day 😊
-
SkillsJS, PHP, Python, c, c++, c#, Java
-
LocationNo
-
Github
Joined devRant on 12/20/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Would you delete whatsapp after new agreement?
I didn't yet deleted it, because I don't do big shit in it.8 -
The best explanation why we need Static Import Libraries to load a dll and wtf they contain
https://cnblogs.com/adylee/p/...
and many interesting stuff about PE file format3 -
Do you too have 8 space tab character in Windows 10?
It's in notepad, cmd and other stuff.
It's fucking wide af.15 -
So here the function that does same thing as new operator in javascript:
// we define our function Person that assigns properties to THIS that points to some object
const Person = function(name, lastName) {
this.name = name;
this.lastName = lastName;
}
// in Person prototype property we define our functions
Person.prototype.getName = function() {
return this.name;
}
Person.prototype.getLastName = function() {
return this.lastName;
}
// function that simulates new operator
// first argument is a function that would act as constructor
// second argument is an arguments that would be passed to constructor
function New(func, ...args) {
// with Object.create() we create a new object and assign [[__proto__]] from "func" prototype property
let object = Object.create(func.prototype);
// here we're calling "func" with THIS pointing to object
func.apply(object, args);
// then we return it
return object;
}
let person = New(Person, "Name", "LastName");
console.dir(person);
// so this is how prototype OOP works in javascript6 -
Isn't this symbol says that when pressing the link it should open In new tab?
I kinda used to it in that meaning.7 -
Web app for screenshotting pc display. Runs as web interface accessed from specified host:ip.
At first wanted to make it android app but I can't.
https://github.com/PogromistDev/... -
I wonder if software companies leaks their cracked product to internet with viruses to remove users' desire for using their products for free 🤔4
-
So I wrote a while ago .ndjson shapes dataset player.
https://quickdraw.withgoogle.com/ this site contain peoples shitdrawings of particular object.
Grab dataset from here in .ndjson format logging into google account
https://console.cloud.google.com/st...
go to here
https://jsfiddle.net/ywmp6bju/
browse the file and press play when it's enabled.
Attached picture is a frog.2 -
Tried Deepin. Looks interesting. For some reason screenshot app includes its ui into screenshot image.14
-
If someone learns Open GL, i made demo for gl primitives that you can play with:
https://pogromistdev.github.io/GL_P...6 -
In my dream my devRant account was hacked 😐 and i thought it was something usual recently on devRant. I was typing my (email?) and like i was hacked on my computer too the input was something like this ے2