<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:
| /* | |
| // credentials.json | |
| { | |
| "installed": { | |
| "client_id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com", | |
| "project_id": "XXXXXXXXXXXXXXXXXXXXXXXX", | |
| "auth_uri": "https://accounts.google.com/o/oauth2/auth", | |
| "token_uri": "https://oauth2.googleapis.com/token", | |
| "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", |
| # request.xml | |
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wst="http://sensedia.com/repository/wstoolkit"> | |
| <soapenv:Header> | |
| <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
| <wsse:UsernameToken wsu:Id="UsernameToken-1"> | |
| <wsse:Username>system</wsse:Username> | |
| <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">manager</wsse:Password> | |
| <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">DWk64SMfJ6RxHAKgPRGtPA==</wsse:Nonce> | |
| <wsu:Created>2013-04-17T18:36:54.013Z</wsu:Created> | |
| </wsse:UsernameToken> |
| function convertToCSV(objArray) { | |
| var array = typeof objArray != 'object' ? JSON.parse(objArray) : objArray; | |
| var str = ''; | |
| for (var i = 0; i < array.length; i++) { | |
| var line = ''; | |
| for (var index in array[i]) { | |
| if (line != '') line += ',' | |
| line += array[i][index]; |
| const Model = require( './model' ) | |
| const createController = '../../helpers/createController' | |
| module.exports = require( createController )( Model )( __dirname ) |
| #!/usr/bin/env bash | |
| if csrutil status | grep -q "enabled"; then echo "You must disable SIP first."; exit 1; fi | |
| KEXT=/System/Library/Extensions/AppleGraphicsPowerManagement.kext | |
| sudo plutil -replace IOKitPersonalities.AGPM.Machines.MacBookPro6,2.Vendor10deDevice0a29 -json '{"BoostPState":[2,2,2,2],"BoostTime":[2,2,2,2],"Heuristic":{"Threshold_Low":[0,0,0,200],"IdleInterval":10,"SensorSampleRate":10,"Threshold_High_v":[0,0,98,100],"TargetCount":1,"SensorOption":1,"Threshold_High":[0,0,100,200],"ID":0,"Threshold_Low_v":[0,0,4,200]},"control-id":17}' $KEXT/Contents/Info.plist | |
| sudo touch /System/Library/Extensions | |
| sudo kextload -v $KEXT |
| document.addEventListener("deviceready", deviceisready, false); | |
| function deviceisready(){ | |
| alert("Device Ready is called"); | |
| document.addEventListener("backbutton", function(e){ | |
| if ( $('.ui-page-active').attr('id') == 'mainpage') { | |
| //window.location = "#exitDialog"; | |
| exitAppPopup(); | |
| }else{ | |
| history.back(); |