@ki4jgt
can't get the modifier keys to properly register and deregister from the mod_sync var
what do you mean by that?
.btn:hover .btn:active{
background: #333333;
color: #ccc;
}
@roxxlen nope sicne classes has the same specificity, so bootstrap will take precedence over it.
You can add !important
or use id
to define your own class.
Also you can use the browser's inspector (and inspector pseud-classes) to see what property are being added
@IsaakNazar what do you mean with "refresh"?
In general when you have a token there's alway a refresh token in the response. Can't you use that?
as far as I remember that's permanent. That's why in general you don't store it anywhere accessible by the client, otherwise an attacker can obtain it and use it to create a new regular one.
But I think you can find more info into oauth documentation
@mbsyaswanth a library is usally a collection of resources.
a framework is a support to develop; it includes automation and a standarisation of doing things
you call and
calls you
many times, never understood it.
@mbsyaswanth this things will always be a bit vague... there's no a definition written in the stone for it.
but imagine a framework as a complex structure, like a bookshop. It has many shelves and they are organised according to a structure that the bookshop owner decided makes sense to him (and everyone else using it, perhaps).
a library on the other hand, is a book. It may be big or small. You can choose to read it, or read a chunk and throw away the rest.
@mbsyaswanth a real word scenario.
angular is a frameworks.
It decided how you render your page, decide how to set up routing, how set up observables....
react is a library.
they just have written for you a "way" to render stuff on your page. All the rest (like routing or observables to say a few) are up to you.
https://bitbucket.org/site/oauth2/authorize?client_id={client_id}&response_type=code
https://bitbucket.org/account/user/nazrisak/oauth-consumers?code=6AYxpx66xXTeFDEjUv
, but what is the purpose of this link I also misunderstand
document.querySelector("#menu-icon").addEventListener("click", function (){
document.getElementById("side_navbar").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
});
document.querySelector(".close").addEventListener("click", function (){
document.getElementById("side_navbar").style.width = "0";
document.getElementById("main").style.marginLeft = "0";
});
document.querySelector("#menu-icon").addEventListener("click", function() {
const bodyWidth = document.body.clientWidth;
const sidebarWidth = bodyWidth < 480 ? "100vw" : "250px";
document.getElementById("side_navbar").style.width = sidebarWidth;
document.getElementById("main").style.marginLeft = sidebarWidth;
});
var converted = str.replace(/[a-z]/gi, function(char) {
return (char === 'z' || char === 'Z') ? 'a' : String.fromCharCode(char.charCodeAt() + 1);
});
String.fromCharCode()
converts ASCII back to string, so seems like you're grabbing a character, checking if its z
or Z
, else converting it to ASCII code + 1 and converting that result back to string.