<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
.navbar | |
.caret | |
.label | |
.table | |
.img-responsive | |
.img-rounded | |
.img-thumbnail | |
.img-circle | |
.sr-only | |
.lead |
/* Extra Small: Portrait phones and smaller */ | |
@media (max-width: 480px) { | |
} | |
/* Extra Small: Landscape phones and portrait tablets */ | |
@media (max-width: 767px) { | |
} |
// define locations of the used directories | |
var dirs = { | |
src: { | |
scss: 'src/scss', | |
js: 'src/js', | |
img: 'src/img' | |
}, | |
dist: { | |
css: 'dist/css', | |
js: 'dist/js', |
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"window.zoomLevel": 0, | |
"editor.fontSize": 15, | |
"editor.renderLineHighlight": "all", | |
"workbench.colorTheme": "One Monokai", | |
"workbench.activityBar.visible": true, | |
"window.menuBarVisibility": "toggle", | |
"editor.minimap.enabled": false |
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.
// See Demo: https://jsbin.com/wipaze | |
placesSearchbox = $("#google-places-searchbox"); | |
placesSearchbox.on("focus blur", function() { | |
$(this).closest("form").toggleClass('prevent_submit'); | |
}); | |
placesSearchbox.closest("form").on("submit", function(e) { | |
// more about "closest()": https://goo.gl/BzLwZm |
$('input, textarea').keyup(function(){ | |
$this = $(this); | |
if($this.val().length == 1) | |
{ | |
var x = new RegExp("[\x00-\x80]+"); // is ascii | |
//alert(x.test($this.val())); | |
var isAscii = x.test($this.val()); | |
x = sumAll(1, 123, 500, 115, 44, 88); | |
function sumAll() { | |
var i, sum = 0; | |
for (i = 0; i < arguments.length; i++) { | |
sum += arguments[i]; | |
} | |
return sum; | |
} |
/** | |
* Remove "kasheda" character from Arabic text | |
* | |
* @author @AmrMekkawy | |
* @param string $text arabic text with (kasheda) character | |
* @return string arabic text without the (kasheda) character | |
*/ | |
function remove_kasheda($text = '') | |
{ | |
$text_without_kasheda = str_replace('ـ', '', $text); |