Posts

java - should play 2 xx App have both build.sbt and build.scala -

I am trying to go through a tutorial that was made properly using play 1xx but I I am using play.2.3.5. The old project has been created in the project / folder. The new game 2.3.5 is the only build.sbt in the root of the project. When I try to create a new file build.scale in the project subdirectory, I get errors. The question is how to create a file for creating my project without disturbing the build of the old project's build. Be successful. build.scala - Val App Dependency = Sik (JavaCor, JavaEdbc, Java Eben, "ISBL"% "MySQL-Connector-Java"% "5.1. 18 ") This is the setting in my build.bbt - build.sbt - name: =" "wefarm "" " version: =" 1.0-SNAPSHOT " idle val root = (file (". "). EnablePlugins (PlayJava) ScalaVersion: = "2.11.1" LibraryDependensis ++ = Sik (JavaEdbC, Java Eben, Cache, JavaWise) Thank you very much. Just move that dependency to Library Code of ...

c# - Regex not working to capture html tags -

इस सवाल का पहले से ही एक उत्तर है: 35 उत्तर मेरे पास एक नियमित अभिव्यक्ति है स्ट्रिंग से एचटीएमएल टैग्स को कैप्चर करें यह बहुत अच्छी तरह से काम करता है लेकिन मुझे कोई ऐसा मामला मिल गया है कि यह काम नहीं कर रहा है। जब मेरे पास टैग "attribute-xxxx-xxxx" विशेषता द्वारा टैग किया जाता है, तो टैग को अनदेखा कर दिया जाता है। अगर मैं एक ही विशेषता को अंतिम स्थिति में ले जाता हूं, तो यह काम करता है। अगर मैं शब्द से "-" को निकाल देता हूं, तो यह काम करता है। मेरी नियमित अभिव्यक्ति में कुछ गुम है, लेकिन मैं इसे ठीक करने का समाधान नहीं मिल पा रहा हूं। यहां एक उदाहरण है जो काम करता है: & lt; td & gt; जाओ? & Lt; a href = "$ VAR" लक्ष्य = "_ रिक्त" डेटा-लिंक-श्रेणी = "बिल्ली" डेटा-लिंक-नाम = "bla" & gt; क्लिक करें & lt; / a & gt; & lt; / td & gt; & LT; टीडी & gt; जाओ? & Lt; a datalinkcategory = "cat" href = "$ VAR" लक्ष्य = "_ रिक्त" डेटा-लिंक-नाम ...

variables - Simple PHP url Help needed -

I'm new to php, I need some help .php I think that when a person will automatically add that page to a number or at the end of any URL like www.abc.com/index.php - - & Gt; Www.abc.com/index.php?abc or? 132 Whenever that index page is refreshed, it should finally get any number or any variable Try it out: & lt ;? Php if (! Isset ($ _GET ["123"]) {header ("location:" $ _SERVER ["PHP_SELF"]. "? 123"); }

embedded - How to prepare new SD card for iMX6 sabre lite board for running linux -

I recently bought the i.mx6 subtlelet board and I'm learning colonel cross compilation and board loud. U-Boot is already in Flash and it is configured to load the kernel from the SD card. I tried to use these images on the SD card using the DD, after some polished image and board boot successfully successfully. Now, I want to know how to prepare this entire SD card with the kernel and route. I am able to create kernel images using the following steps described here: ~ / $ git clone GIT: //github.com/boundarydevices/linux- Imx6.git ~ / $ cd linux-imx6 ~ / linux-imx6 $ PATH = / opt / freescale / usr / local / gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12 / fsl-linaro-toolchain / bin /: $ Path ~ / linux-imx6 $ export ARCH = arm ~ / linux-imx6 $ export CROSS_COMPILE = arm-none-linux-gnueabi- ~ / linux-imx6 $ git checkout orig / border-imx-3.0.35_1.1.0 \ -b range-imx-3.0.35_1.1.0 ~ / linux-imx6 $ nitrogen 6x_defconfig ~ / linux-imx6 $ creates UImage modules Now, these are...

css - Media queries with sass -

I'm getting errors in compiling my sauce files through Media Query Mixes. I followed many tutorials, but it will not compile I Sass 3.3.0.alpha.67 (bleeding edge) . This is my code / * finally included * / @ michigan mobile-only {@ media (max-width: 320px ) {@content; }} / * This is where the rest of my luggage * / body {@ in it only mobile-display {display: none; }} I am compiling and viewing for changes using Scout. Do I need to do something else? No longer seems an issue modified code in coding Explained. @missine start-desktop-size {@ media (minimum-width: 1024px) {@content; }} Body {@ included- desktop-size {background: red; }}

c - writing values in a text file, getting run time check error -

I am programming in Windows 7, using MS Visual C ++ 2010. I have an API that gives me access to such error codes: Pre> I need to write this code, a text file, here's how I proceeded: four buffers [10]; Strcpy (Buff, lResult.GetCodeString ()); PFile_display = fopen ("D: \\ ABCD \\ myfile_display.txt", "a +"); Fputs ("\ n back error is vlaue", pFile_display); Fillit (fond, size (four), size (fond), pfile_display); Is there a better way to do this, because I'm getting a runtime check error and I suspect that I'm doing something wrong here. Yes, this is a different way of doing this. You do not know how long an error message is, but you are reserved cell for only 10 characters. This is not much. There is no need to copy the message in another buffer before typing in the file. Use sizeof to calculate the length of the string is broken. There is no need to use a lower-level function to write binary data (i.e., ...

c - fopen returns null and perror prints invalid argument -

I have created a file called "test" but I am unable to use it FOPN. Here's the code - Add # & lt; Stdio.h & gt; Int main () {FILE * fp; Fp = fopen ("test.txt", "r"); If (fp == NULL) {perror ("Error:"); } Fclose (fpose); Return 0; } When I run the code above, I get the following output: Error: invalid argument What could be the reason? When does the Madden "invalid logic" error message? Take a look at this: EINVAL Fopen (), The method provided for fdopen (), or FreeOpen () was invalid. Perhaps test.txt is not readable.