I hereby claim:
- I am jschappet on github.
- I am jschappet (https://keybase.io/jschappet) on keybase.
- I have a public key ASDgzgxv2Y88E44xGbIoDVjPRc7jQ1tK5b1lxiOM_mdDAgo
To claim this, I am signing this object:
{ | |
"cmdlineParam": { | |
"v": "2", | |
"n": "both", | |
"e": "3", | |
"t": "3", | |
"w": "y" | |
}, | |
"results": { | |
"status": "completed|failed|ready" |
@Test | |
public void datatableListOfPersons() throws Exception { | |
mockMvc.perform(get("/ictssysadmin/person/datatable?display=list&draw=1&columns[0][data]=0" | |
+ "&columns[0][name]=personId&columns[0][searchable]=true&columns[0][orderable]=true" | |
+ "&columns[0][search][regex]=false&columns[0][search][value]=&columns[1][data]=1" | |
+ "&columns[1][name]=hawkid&columns[1][searchable]=true&columns[1][orderable]=true" | |
+ "&columns[1][search][regex]=false&columns[1][search][value]=&columns[2][data]=2" | |
+ "&columns[2][name]=lastName&columns[2][searchable]=true&columns[2][orderable]=true" | |
+ "&columns[2][search][regex]=false&columns[2][search][value]=&columns[3][data]=3" | |
+ "&columns[3][name]=firstName&columns[3][searchable]=true&columns[3][orderable]=true" |
@Test | |
public void datatableListOfPersons() throws Exception { | |
List<String> cols = new ArrayList<String>(); | |
cols.add("personHosts"); | |
cols.add("personFilesystems"); | |
cols.add("personApplications"); | |
cols.add("softwarePersons"); | |
cols.add("logins"); | |
int i = 0; | |
StringBuffer sb = new StringBuffer(); |
//In the JSP Menu div add "in" to the class | |
${menuLocation['Host']} | |
In Abstract Controller load Menu Location Variable | |
@ModelAttribute(value = "menuLocation") | |
public Map<String, String> getPath(HttpServletRequest req) { |
@RequestMapping( value = "update/{hostId}", method = RequestMethod.POST ) | |
@ResponseBody | |
public String updateValues(@PathVariable("hostId") String hostId, | |
@RequestParam("name") String attrName, | |
@RequestParam("value") String attrValue ) { | |
Host host = ictssysadminDaoService.getHostService().findById( Integer.parseInt(hostId )); | |
if (attrName.equals("description")) { | |
host.setDescription(attrValue); | |
} |
/** | |
* Remixer 1: @herkulano (http://www.herkulano.com) | |
* Remixer 2: @hotappsfactory (http://www.hotappsfactory.com) | |
* Thanks to: Niels Bosma (niels.bosma@motorola.com) | |
*/ | |
var folder = Folder.selectDialog(); | |
var document = app.activeDocument; | |
var suffix; | |
var boardSize; |
[ | |
{ | |
"id": "305c326f.cfa3ce", | |
"type": "inject", | |
"z": "2c682b6d.d397d4", | |
"name": "Emit Time", | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"repeat": "", |
# $language = "python" | |
# $interface = "1.0" | |
# Jump Host Script | |
# This script is intended to ssh from current host to | |
# host listed in the session name | |
# it uses the last portion of the Session Path as SSH Target | |
import SecureCRT | |
I hereby claim:
To claim this, I am signing this object:
var patList = {}; | |
var fs = require('fs'); | |
function saveFile(patId, obj) { | |
fs.writeFile(patId+".json", JSON.stringify(obj), function(err) { | |
if(err) { | |
return console.log(err); | |
} | |
//console.log("The file was saved: %s" , patId+".json"); |