This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merge_slashes off; | |
rewrite (.*)//+(.*) $1/$2 permanent; | |
location /scoop { | |
root html; | |
index index.html index.htm index.php; | |
try_files $uri $uri/ /scoop/?$args @rw-scoop; | |
expires max; | |
} | |
location @rw-scoop { | |
rewrite ^/scoop/(.*)(/?)$ /scoop/index.php?route=$1&$args? last; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Calendar; | |
import java.util.Date; | |
public class HolidayUtil { | |
private int year; | |
private int easterMonth; | |
private int easterDay; | |
private ArrayList<String> holidays; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mes.berry.controller; | |
import org.flowable.engine.RuntimeService; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class Backtrack { | |
@Autowired |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Object[] getPrograma () { | |
Lifecycle.beginCall(); | |
ProgramaafiliadoList programaafiliadoList = (ProgramaafiliadoList) org.jboss.seam.Component | |
.getInstance(ProgramaafiliadoList.class, true); | |
Object[] ips = programaafiliadoList.getProgramaafiliadoLstObj1().toArray(); | |
Lifecycle.endCall(); | |
return ips; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setBooleanProp($target, name, value) { | |
if (value) { | |
$target.setAttribute(name, value); | |
$target[name] = true; | |
} else { | |
$target[name] = false; | |
} | |
} | |
function removeBooleanProp($target, name) { |