Posts

validation - Regex to match Hebrew and English characters except numbers -

I have a question: I want to do a verification for the first and last names with RegEx. I want to do it with numbers without just Hebrew and English. Can someone help me do that code? There is a limit in Hebrew for \ u0590- \ U05fe ( / ^ [az \ u0590- \ u05fe] + $ / i )

ios - Scrolling a Tilemap in Sprite-Kit (JSTileMap glitch) -

Image
Since JSTileMap Expands Escondition, you use the API to move and enlarge your tilemap like any other node. can do. However, I continue this strange effect / glitch ... code: _tiledMap = [JSTileMap mapNamed: @ "Cloud.tmx"]; If (_tillMap) {[auto addChild: _tiledMap]; } _tiledMap.position = CGPointMake (800, 0); SKAction * scrollLeft = [SKAction conduction: CGPointMake (600, 0) Duration: 4]; SKAction * scrollRight = [SKAction conduction: CGPointMake (700, 0) Duration: 4]; SKAction * sequence = [SKAction sequence: @ [scrollLeft, scrollRight]]; SKAction * Repeat = [Squection repeat acnection: sequence]; [Ditlide map run action: repeat]; Result: As you see Whenever the JSTileMap direction changes, depending on whether it's left or right, the image may be generated or something else, I can not explain it. It does not happen if the node itself is a SKSpriteNode I add numbers to the background image for the visual reference. Edit Further tests indicate tha...

wordpress - How to set default (angle) to map, default value to rotateControl? -

On a WordPress directory site, dubainurseries.com, I have Google map and my marker. Rotate by default, while it should be on the street view. Is there any way of doing it? It's really necessary to use a screen to show more markers in high zoom.

android - Animate buttons to slide and change nicely -

I saw this design mockup and I think the flow of the button is magnificent. Any ideas on how to be done on Android? Or is it iOS specific? Or not at all? There is not much experience in Android design in front of me. It is definitely possible that I want to see property animators for Android. You can go about on one side to animate the scene directly, so say that you have two buttons below as if you were in the posted link. When your activity or piece is made, initialize the button, but then set to view their visibility. INVISIBLE This way they will not be visible to the user and they will not be clickable. Then you can animate the button using XML Animation. You will need to create an animation that will bring the button as they are coming. So in your project, create a folder animation under resources and then create a file called slide_up_animation. It should look like this: slide_up.xml & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; ...

javascript - Putting a "resolve" on an angular-ui-router view isn't working - the page simply doesn't render -

$ stateProvider .state ('root', {url: '', विचार: {'root.base' : {TemplateUrl: '/templates/root/root.html'}, 'root.sidebar': {templateUrl: '/templates/root/root-sidebar.html', नियंत्रक: 'SomeDataController', संकल्प: {someData: function (डेटासेवा) {// डाटासेवा डाटा उत्थान के लिए एक कोणीय सेवा है DataService.getDataList (); // एक सरणी देता है}}}}}}); अगर मैं कोणीय- ui-router के साथ एक सबव्यूशन पर एक संकल्प को चलाने का प्रयास करता हूं, तो पृष्ठ बस रिक्त स्थान पर आ जाता है यदि मैं संकल्प छोड़ देता हूं, तो यह ठीक है - लेकिन मेरे नियंत्रक को तत्काल रूप से पहले कुछ डेटा के लिए हल करने की आवश्यकता है I क्या मेरे वाक्य रचना सही है? मैंने उच्च और निम्न उदाहरणों की खोज की है लेकिन मेरी परिस्थिति से मेल खाने वाले किसी भी व्यक्ति को ढूंढने में असमर्थ हैं। मेरी उपरोक्त उदाहरण को देखते हुए, "रूट-साइडबार" SomeDataController ", और क्या कुछडेटाकंट्रोलर को ऊपर घोषित रूट परिभाषा में डेटा का समाधान नहीं करना चाहिए? अपनी ...

c# - How to deserialize JSON into a List<KeyValuePair<string,string>> set -

मेरे पास कुछ जेएसओएन डेटा है: - {"mail": "mitch @ domain "नाम", "यूआईडी": "मिच", "जीको": "उपयोगकर्ता नाम"} क्या मैं मैं ऐसा करने की कोशिश कर रहा हूं, इसे आमतौर पर एक शब्दकोश में किया जाता है, हालांकि कुछ कुंजी को डुप्लिकेट किया जा सकता है - एक सूची & lt; keyvaluePair & lt; स्ट्रिंग, स्ट्रिंग & gt; यह वह प्रतिनिधित्व है जो स्वचालित रूप से .NET द्वारा उत्पन्न होता है जब मैं सूची & lt; keyValuePair & lt; स्ट्रिंग, स्ट्रिंग & gt; & gt; ऑब्जेक्ट System.Web.Script.Serialization.JavaScriptSerializer कक्षा जब मैं सीरियलकृत ऑब्जेक्ट को System.Web.Script.Serialization.JavaScriptDeserializer में प्लग करता हूँ मुझे खाली प्रतिक्रिया वापस मिलती है मैं देख सकता हूं कि JavaScriptSerializer का उपयोग करना संभव नहीं होना चाहिए। अपने व्यवहार को अनुकूलित करने का एकमात्र तरीका एक वर्ग के माध्यम से होता है, जो आपको सीरियलाइज़ेशन / डेसरियालाइज़ेशन प्रक्रिया को अनुकूलित करने की अनुमति देगा। द...

charts - Adding Matplotlib to Panel from wxglade -

Hi I'm trying to add a matplotlib chart example from the link below For the panel within the wxpython frame generated using WXGlade. Is there a panel panel panel which requires a chart? #! / Usr / bin / env python # - * - coding: 0.68 (standalone version) generated by CP1252 - * - # # wxGlade on Thu 31 July 22:23:21 2014 # import wx # start wxGlade: dependency import gettext # finally wxGlade # start wxGlade: extracode # end wxGlade class MyFrame1 (wx.Frame): def __init __ (self, * args, ** kwds): # start wxGlade: MyFrame1 .__ init__ kwds [ "style"] = wx.DEFAULT_FRAME_STYLE wx.Frame .__ init __ (self, * args, ** kwds) self.panel_22 = wx.Panel (self, wx.ID_ANY) self .__ set_properties () self .__ do_layout () # end wxGlade def __set_properties (self ): # start wxGlade: MyFrame1 .__ set_properties self.SetTitle (_ ( "frame_2")) # end wxGlade def __do_layout (self): MyFrame1 .__ do_layout sizer_ 21 = wx.BoxSizer (wx: #wxGlade begin.VERTICAL) grid_sizer_4...