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
total = 0; angular.element(".ng-scope").each(function(){ var s = $(this).scope(); total += s.$$watchers ? s.$$watchers.length:0;});total; |
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 static org.junit.Assert.assertEquals; | |
import java.lang.reflect.Method; | |
import java.util.HashMap; | |
import java.util.Map; | |
import lombok.extern.slf4j.Slf4j; | |
import org.junit.rules.ExternalResource; | |
import org.junit.runner.Description; |
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
@RestController | |
@RequestMapping("/v1") | |
ProfileV1Controller { | |
@RequestMapping("/profile") | |
ProfileV1 getProfile(){ | |
return new ProfileV1(); | |
} | |
} | |
@Controller |
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
@Component("JMSTunnel") | |
public class HttpExternalEmbeddedTunnelServlet extends HttpTunnelServlet | |
implements org.springframework.web.HttpRequestHandler { | |
@Resource(name="broker") | |
BrokerService broker; | |
private ServletContext servletContext; | |
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.io.IOException; | |
import java.lang.reflect.InvocationTargetException; | |
import org.apache.commons.beanutils.PropertyUtils; | |
import org.codehaus.jackson.JsonProcessingException; | |
import org.codehaus.jackson.map.ObjectMapper; | |
import org.objectweb.asm.ClassWriter; | |
import org.objectweb.asm.MethodVisitor; | |
import org.objectweb.asm.Opcodes; | |
import org.objectweb.asm.Type; |
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
/* | |
* Menu: Stripes > Find HandlesEvent/Before | |
* Script-Path: /GroovyMonkeyScripts/monkey/FindHandleEvent_bsh.gm | |
* Kudos: Bjorn Freeman-Benson & Ward Cunningham & James E. Ervin | |
* License: EPL 1.0 | |
* LANG: Beanshell | |
*/ | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; |
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 wrm.web.filter; | |
import java.io.BufferedReader; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.io.PrintWriter; | |
import java.util.HashMap; |
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 wrm | |
import org.objectweb.asm.MethodVisitor | |
import org.objectweb.asm.Label | |
import org.objectweb.asm.Opcodes | |
import org.objectweb.asm.FieldVisitor | |
import org.objectweb.asm.AnnotationVisitor | |
import org.objectweb.asm.ClassWriter | |
object invokeHelper1 { | |
def apply(method: String) {} |
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
# | |
# Cookbook Name:: tailor | |
# Recipe:: default | |
# | |
# Copyright 2011, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# This recipe installes Virgo on the node | |
# TODO: and starts it later on |
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
sum variant basket | |
S1V v_84 v_90 v_96 | |
G1V v_85 v_91 v_97 | |
E1V v_86 v_92 v_98 | |
S2V v_87 v_93 v_99 | |
G2V v_88 v_94 v_100 | |
E2V v_89 v_95 v_101 |
NewerOlder