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
| dependencies: | |
| https://www.npmjs.com/package/ps4-waker | |
| jq |
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
| var fs = require('fs'), | |
| gm = require('gm').subClass({ | |
| imageMagick: true | |
| }); | |
| module.exports = MockBase => class MockRivers extends MockBase { | |
| mocks(options) { | |
| return [{ | |
| route: '/tiles/:z/:x\::y/tile.png', |
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
| svn import -m "Adding just a file" file_name http://path/to/svn/repo/file_name |
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
| wget -r -np -l1 -H -t1 -nd -N -erobots=off |
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
| org.apache.myfaces.view.facelets.el.ContextAwareELException: javax.el.ELException: <openjpa-2.2.0-r422266:1244990 fatal user error> org.apache.openjpa.persistence.ArgumentException: Errors encountered while resolving metadata. See nested exceptions for details. | |
| at org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:108) | |
| at org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler$Listener.processEvent(EventHandler.java:280) | |
| at javax.faces.component.UIComponent$EventListenerWrapper.processEvent(UIComponent.java:1565) | |
| at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43) | |
| at org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2410) | |
| at org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:577) | |
| at javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:330) | |
| at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:580) | |
| at jav |
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
| aShapeProp.setPropertyValue("CLSID", "47BBB4CB-CE4C-4E80-A591-42D9AE74950F") |
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 org.apache.xalan.processor.TransformerFactoryImpl; | |
| import org.apache.xerces.jaxp.DocumentBuilderFactoryImpl; | |
| import org.jdom2.output.Format; | |
| import org.jdom2.output.XMLOutputter; | |
| import org.jdom2.transform.JDOMResult; | |
| import org.w3c.dom.Document; | |
| import org.xml.sax.InputSource; | |
| import org.xml.sax.SAXException; | |
| import javax.xml.parsers.DocumentBuilder; | |
| import javax.xml.parsers.DocumentBuilderFactory; |
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
| for (int index = word.indexOf(guess); | |
| index >= 0; | |
| index = word.indexOf(guess, index + 1)) | |
| { | |
| System.out.println(index); | |
| } |
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
| expressionString.split("(?<=\\D)(?=\\d)|(?<=\\d)(?=\\D)"); |
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
| #include <stdio.h> | |
| #include <setjmp.h> | |
| #define TRY do{ jmp_buf ex_buf__; if( !setjmp(ex_buf__) ){ | |
| #define CATCH } else { | |
| #define ETRY } }while(0) | |
| #define THROW longjmp(ex_buf__, 1) | |
| int | |
| main(int argc, char** argv) |
NewerOlder