text
stringlengths
3
1.04M
Have you ever been really surprised by something that you expected to be disappointed by? Think of the time your friend set you up on a blind date and said “trust me…” and the girl ended up being the love of your life (for at least six months). The Devialet Phantom is that night out and could possibly lead to more than six months of breakfasts in bed and spooning on the sofa watching Archer. At least, that’s what I think (right now, please understand I’m on a post-show day high). I was standing out in the hall on the sixth floor of the Hilton Metrotown texting on my phone like a wallflower at a high school dance when I heard a “thump-thump-thump-TWANG” and a collective gasp. I slowly turned and found myself looking at a door marked 623 and “Devialet Phantom” and I went “ahhhh” as I remembered all the coverage online over the last few months about the strange football-shaped Devialet self-powered speaker system/DAC/wireless streamer. I pushed open the door and was greeted by a wall of sound that even Phil Specter would be impressed by. I cannot emphasize enough how impactful and mind-blowing these units are. I’ve heard the Devialet 200 paired with some Revel F208 speakers and was very impressed, but it did not prepare me for the sound that was going on in room 623. Even though the units were mismatched (a Phantom and a Phantom Silver) it almost didn’t matter. These Phantoms were placed haphazardly in a so-so hotel room and they were imaging like CRAZY, producing amazing tonal accuracy (to my ears; think live music) and had me tapping my toes and doing my best white-guy-head-bob ever. The bass and slam, PRAT, and outright ballsy presentation gave every listener no quarter to hide and the visceral reaction that everyone had who entered the room was apparent. These things really have to be heard to be believed and they will give every man, woman and child who considers themselves an audiophile pause to reflect and reconsider what makes a hi-fi-system a hi-fi-system. For $6,000 CAN you can have two of the 3,000 watt models and you need nothing other than a smart phone or tablet to make them work. Think about that. $6,000 for a system that will knock your socks off day-in and day-out. Despite the fact that I have an amazing girlfriend, I want to take these Phantoms home, spoon them and watch Archer together. It’s definitely a lifestyle product, but I’d be hesitant to say that its appeal would wane over time. Devialet, IMO, don’t build products without a lot of R&D and real-world testing. These aren’t some gimmicky surround-sound system slapped together that you’ll see on Craigslist in three years. Like Devialet’s other products, the Phantom boasts some of the most technologically-advanced digital-audio components found anywhere on the planet. The Phantom produces a very nuanced, dynamic and well-balanced sound. I was honestly astonished at how clear, and timbrally accurate it is – even with Mp3 files! – and how meaty, real, and present every instrument sounded through it, particularly voices. I listened for close to 45 minutes to the set-up and found it to be completely fatigue-free as well. It’s unlike anything I’ve seen, but it sounds incredible and I would put it up there with some much more expensive systems in a heartbeat for it’s ability to make an emotional connection for me to the music. A friend with a Shindo fetish (and a lot of their gear) commented to me that he would seriously consider the Phantom for a second system. The only negative reactions to the Phantom I’ve read so far are that the sound isn’t refined as true hi-end audiophile sound should be. Those people saw it as more of a “lifestyle” product that an audiophile wouldn’t like over time. Any sense of this?
We have already seen how to install PeopleSoft on your laptop and set up an Oracle client in previous posts. If you are a technical guy, you know that there’s no fun without PeopleTools. Right? In this post I will show you how to get the final bit up and running so that you can fully utilise your local PeopleSoft installation. You will find a setup batch file here. Right-click on this file and Run as Administrator. This will launch the installation wizard. Open this link and copy the PeopleTools license code for Oracle database. Paste the license code into the below screen. Select Non-Unicode database and click next. Choose a directory to install PeopleTools. You may change the Program Group name on this screen. This page shows the environment management details. Choose the product features and click Next. This page shows the installation summary. This screen shows that the installation was successful. Three shortcuts would have been created on your desktop. Click the Configuration Manager shortcut to launch it. On the Startup tab, enter all details as shown below. Click on the Application Designer shortcut to launch it and enter the credentials. Your credentials could be different depending on the application. For FSCM the credentials are VP1 / VP1 and for HCM it’s PS / PS. Try opening some definitions now! Awesome blog post keep on posting more about peoplesoft. Hi Rakesh, thanks for your how to’s on PeopleSoft. I am a middleware engineer but have never had to support a PSFT environment. I’d like to know if there is any documentation, web articles, or your advice on editing configuration files instead of using the PSFT Tools? For example, is there a server.xml type of file that is used to define db connection parameters, pool, etc… ?
Put your Facebook performance into context and find out who's strategy is working best. Just add your page and get a free social media report that compares you to Heels. Download the sample report or learn more about our Facebook benchmarking tool.
Ampersand Bar and Restaurant compliments well with Cebu's gastronomic selection and culture, emerges as with a casual dining concept serving dishes inspired by cuisines around the world. Ampersand is a deviation of five other sister restaurants in Metro Manila: Catch; Hooch; Poulet Manille; Ebeneezers; Smith Butcher and Grill. In Cebu, Ampersand is located at the Ground Floor of Banilad Town Center. Ampersand Cebu has sophisticated illumination with interior and lighting stands out from the rest. Either you are looking for the sumptuous meal or unwind from a long day, she could be a go-to hideout. The most authentic ingredients makes the cut, with ala carte menu inspired by the individuality, creativity and cultural orientation from east the west. Sandwiches, Salads or Soups and wide selection of drinks and cocktails. To name some of the original cocktail creations: The Herbalist, Cinco de Cuban, Drunken Rabbit, Circa 1934 and Flipino. To know more about these creations, comment down below or visit them at Banilad Town Center. For reservation and inquiries, call Ampersand Cebu Phone number 032 416 1233 or email at [email protected] Their social media outlets are @ampersand.cebu on Instagram. 0 comments: on "Ampersand Bar and Restaurant at Banilad Town Center Cebu"
The Lebanese government might warn Noble Energy Inc., a US corporation which is part of the consortium that discovered the Tamar 1 gas reserve off the shores of Haifa, that the reserve may be in part in Lebanese territorial waters, according to Al Liwaa, a Lebanese paper. In a meeting of the Energy, Infrastructure and Public Works Committee in the Lebanese Parliament, Chairman Muhammad Kabbani said Israeli media reports on the recently discovered natural gas reserve raise the possibility that the reserve extends to Lebanon's territorial waters. "We should take every legal measure possible in order to preserve Lebanon's right," the paper quoted Kabbani as saying. Kabbani added that he was concerned of the possibility that Lebanon would lose because "Israel is the only country which is not a signatory to [international] maritime agreements." According to Al Liwaa's report, Lebanon has a desire to draw the borders of its territorial waters vis-Ã -vis neighboring states, including Israel. The country is therefore expected to ask Noble Energy for confirmation that drilling does not reach Lebanese territory, and also to warn the company that as long as it works for "the Israeli enemy" and the issue is not resolved, it must avoid producing gas in order to preserve any quantity of natural gas that might be found to belong to Lebanon.
Discworld® & Beyond is a touring exhibition featuring the book jacket art and illustrations of Paul Kidby, one of the UK’s leading fantasy illustrators who is best known as the ‘artist of choice’ of best-selling author Sir Terry Pratchett, who sadly passed away from Alzheimer’s Disease in spring 2015. For the past 25 years Paul has largely devoted himself to creating illustrations for the popular Discworld series and he collaborated with the author closely on the design of the characters and environments described in the books. Paul produced the Discworld book jackets since 2002 and has illustrated many further publications including The Art of Discworld and best-selling The Last Hero. He continues to create Discworld artwork for the Pratchett Estate, which is managed by Terry’s long standing friend and business partner, Rob Wilkins, and a new fully illustrated book, Terry Pratchett’s Discworld Imaginarium was published in November 2017. Many of the paintings and drawings in the Discworld & Beyond exhibition were part of the unique collection loaned to the award-winning exhibition at Salisbury Museum, Terry Pratchett: HisWorld which was presented by the Museum in collaboration with the estate of Sir Terry Pratchett and Paul Kidby. HisWorld ran from September 2017 to January 2018 and was visited by 21,000 fans. The beautifully realised paintings and drawings feature many of Paul’s favourite characters including Rincewind, the Wee Free Men and, of course, Death along with a host of witches, wizards, dragons and trolls. It also reveals some of Paul’s own work from his Charmed Realm collection, a book created by Paul and his wife Vanessa of myth and faerie influenced by British folklore and landscapes. All his illustrations are marked by a staggering quality of draughtsmanship and effective use of colour; bright for the book covers and muted shades for his faerie paintings. The exhibition brings to life the quirky characters and trademark humour of Sir Terry’s books. For further details contact Emma Mackinnon, Exhibitions & Collections Officer at St Barbe Museum, Lymington.
/* Global properties ======================================================== */ body { background:#6f599c; background-image:url(../images/bg.jpg) ; text-align:left; } /* Global Structure ============================================================= */ /* Header */ #header{ position:absolute; left:0px; top:5px; overflow:hidden; height:70px; font-family:Microsoft YaHei; font-weight: 900; font-size:40px; padding-bottom:5px; width: 100%; filter:alpha(opacity=70); -moz-opacity:0.7; opacity:0.7; } #myContent{ position:absolute; left:185px; top:130px; overflow:hidden; text-shadow: 2px 3px 3px #000; font-family:Microsoft YaHei; font-style:italic; font-weight:500; font-size:20px; color:#CCCCCC; } #container{ overflow:hidden; position:absolute; left:630px; top:220px; width:650px; opacity:0; filter:alpha(opacity=0.7) } #title{ position:absolute; left:28%; top:0px; padding:10px; overflow:hidden; text-shadow: 2px 3px 3px #222; color:#CCCCCC; } #footer { position:absolute; left:32%; top:91%; overflow:hidden; text-shadow: 2px 3px 3px #222; font-family:Microsoft YaHei; font-style:italic; font-size:20px; color:#CCCCCC; } #time{ position:absolute; left:750px; top:400px; overflow:hidden; } #show{ color:#CCCCCC; text-shadow: 2px 3px 3px #222; font-family:Microsoft YaHei; font-style:italic; font-size:20px; } #bg{ overflow:hidden; } .roundabout-holder { width:600px; height:400px; margin:0 auto; } .roundabout-moveable-item { width: 350px; height: 222px; cursor: pointer; border:3px solid #ccc; border:3px solid rgba(0, 0, 0, 0.08); border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; } .roundabout-moveable-item img{ width:100%; } .roundabout-in-focus { border:3px solid rgba(0, 0, 0, 0.2); } ol, ul { list-style: none; } img { vertical-align:top; } .spanstyle{ color:#CCFF99; font-family:courier; text-shadow: 2px 2px 1px #222; font-style:italic; font-weight:600; font-size:20px; position:absolute; /* 绝对定位 */ top:-50px; overflow:hidden; }
# Staurastrum leptodermum P. Lundell SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
--- layout: post title: "使用scala连接到MongoDB" subtitle: "scala casbah mongodb" date: 2016-10-14 author: "diggzhang" header-img: "img/post-bg-unix-linux.jpg" category: "MongoDB小司机" tags: - mongodb - scala --- mongo官方文档推荐用Scala的`casbah`库连接到mongo做数据分析。尝试一下,首先创建`build.sbt`,我希望用sbt来试水这个工具: ```shell scalaVersion := "2.11.8" libraryDependencies += "org.mongodb" %% "casbah" % "3.1.1" ``` 之后执行`sbt console`,下载依赖包的时候发现了一个这样的错误,sbt又出问题,解决办法是删除了`~/.ivy2`整个目录,简单粗暴无脑,但是有效: ```shell ➜ casbah_tutorial git:(master) ✗ ls build.sbt ➜ casbah_tutorial git:(master) ✗ sbt console [info] Loading global plugins from /Users/diggzhang/.sbt/0.13/plugins [info] Set current project to Casbah Tutorial (in build file:/Users/diggzhang/code/newWayToWorld/casbah_tutorial/) [info] Updating {file:/Users/diggzhang/code/newWayToWorld/casbah_tutorial/}casbah_tutorial... [info] Resolving jline#jline;2.12.1 ... [error] org.mongodb#mongo-java-driver;3.2.2!mongo-java-driver.jar origin location must be absolute: file:/Users/diggzhang/.m2/repository/org/mongodb/mongo-java-driver/3.2.2/mongo-java-driver-3.2.2.jar java.lang.IllegalArgumentException: org.mongodb#mongo-java-driver;3.2.2!mongo-java-driver.jar origin location must be absolute: file:/Users/diggzhang/.m2/repository/org/mongodb/mongo-java-driver/3.2.2/mongo-java-driver-3.2.2.jar at org.apache.ivy.util.Checks.checkAbsolute(Checks.java:57) at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getArchiveFileInCache(DefaultRepositoryCacheManager.java:387) at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.download(DefaultRepositoryCacheManager.java:851) at org.apache.ivy.plugins.resolver.BasicResolver.download(BasicResolver.java:835) at org.apache.ivy.plugins.resolver.RepositoryResolver.download(RepositoryResolver.java:282) at org.apache.ivy.plugins.resolver.ChainResolver.download(ChainResolver.java:219) at org.apache.ivy.plugins.resolver.ChainResolver.download(ChainResolver.java:219) at org.apache.ivy.core.resolve.ResolveEngine.downloadArtifacts(ResolveEngine.java:388) at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:331) at org.apache.ivy.Ivy.resolve(Ivy.java:517) at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:301) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156) at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133) at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57) at sbt.IvySbt$$anon$4.call(Ivy.scala:65) at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93) at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78) at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97) at xsbt.boot.Using$.withResource(Using.scala:10) at xsbt.boot.Using$.apply(Using.scala:9) at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58) at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48) at xsbt.boot.Locks$.apply0(Locks.scala:31) at xsbt.boot.Locks$.apply(Locks.scala:28) at sbt.IvySbt.withDefaultLogger(Ivy.scala:65) at sbt.IvySbt.withIvy(Ivy.scala:128) at sbt.IvySbt.withIvy(Ivy.scala:125) at sbt.IvySbt$Module.withModule(Ivy.scala:156) at sbt.IvyActions$.updateEither(IvyActions.scala:168) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1439) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1435) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$90.apply(Defaults.scala:1470) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$90.apply(Defaults.scala:1468) at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1473) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1467) at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60) at sbt.Classpaths$.cachedUpdate(Defaults.scala:1490) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1417) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1369) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:237) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [error] (*:update) java.lang.IllegalArgumentException: org.mongodb#mongo-java-driver;3.2.2!mongo-java-driver.jar origin location must be absolute: file:/Users/diggzhang/.m2/repository/org/mongodb/mongo-java-driver/3.2.2/mongo-java-driver-3.2.2.jar [error] Total time: 0 s, completed 2016-10-14 10:40:00 ``` 成功load项目: ```shell ➜ casbah_tutorial git:(master) ✗ sbt console [info] Loading global plugins from /Users/diggzhang/.sbt/0.13/plugins [info] Updating {file:/Users/diggzhang/.sbt/0.13/plugins/}global-plugins... [info] Resolving org.fusesource.jansi#jansi;1.4 ... [info] Done updating. [info] Set current project to Casbah Tutorial (in build file:/Users/diggzhang/code/newWayToWorld/casbah_tutorial/) [info] Updating {file:/Users/diggzhang/code/newWayToWorld/casbah_tutorial/}casbah_tutorial... [info] Resolving jline#jline;2.12.1 ... [info] downloading https://repo1.maven.org/maven2/org/mongodb/casbah-commons_2.11/3.1.1/casbah-commons_2.11-3.1.1.jar ... [info] [SUCCESSFUL ] org.mongodb#casbah-commons_2.11;3.1.1!casbah-commons_2.11.jar (2073ms) [info] downloading https://repo1.maven.org/maven2/org/mongodb/casbah-core_2.11/3.1.1/casbah-core_2.11-3.1.1.jar ... [info] [SUCCESSFUL ] org.mongodb#casbah-core_2.11;3.1.1!casbah-core_2.11.jar (2028ms) [info] downloading https://repo1.maven.org/maven2/org/mongodb/casbah-query_2.11/3.1.1/casbah-query_2.11-3.1.1.jar ... [info] [SUCCESSFUL ] org.mongodb#casbah-query_2.11;3.1.1!casbah-query_2.11.jar (1806ms) [info] downloading https://repo1.maven.org/maven2/org/mongodb/casbah-gridfs_2.11/3.1.1/casbah-gridfs_2.11-3.1.1.jar ... [info] [SUCCESSFUL ] org.mongodb#casbah-gridfs_2.11;3.1.1!casbah-gridfs_2.11.jar (1653ms) [info] downloading https://repo1.maven.org/maven2/com/github/nscala-time/nscala-time_2.11/1.0.0/nscala-time_2.11-1.0.0.jar ... [info] [SUCCESSFUL ] com.github.nscala-time#nscala-time_2.11;1.0.0!nscala-time_2.11.jar (3761ms) [info] downloading https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/3.2.2/mongo-java-driver-3.2.2.jar ... [info] [SUCCESSFUL ] org.mongodb#mongo-java-driver;3.2.2!mongo-java-driver.jar (10683ms) [info] downloading https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.jar ... [info] [SUCCESSFUL ] org.slf4j#slf4j-api;1.6.0!slf4j-api.jar (1379ms) [info] downloading https://repo1.maven.org/maven2/org/joda/joda-convert/1.2/joda-convert-1.2.jar ... [info] [SUCCESSFUL ] org.joda#joda-convert;1.2!joda-convert.jar (1983ms) [info] Done updating. [info] Starting scala interpreter... [info] Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_73). Type in expressions to have them evaluated. Type :help for more information. scala> ``` #### 如何引入`casbah`: ```shell scala> import com.mongodb.casbah.Imports._ import com.mongodb.casbah.Imports._ scala> val client = MongoClient() SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 十月 14, 2016 11:11:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Cluster created with settings {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} client: com.mongodb.casbah.MongoClient = com.mongodb.casbah.MongoClient@3774f2b4 scala> 十月 14, 2016 11:11:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Opened connection [connectionId{localValue:1, serverValue:251}] to 127.0.0.1:27017 十月 14, 2016 11:11:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Monitor thread successfully connected to server with description ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 8]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=391071} scala> ``` #### casbah链接到mongo 这里用`MongoClient()`连接到了本地的mongo ```shell scala> val client = MongoClient("127.0.0.1", 27017) 十月 14, 2016 11:13:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Cluster created with settings {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} client: com.mongodb.casbah.MongoClient = com.mongodb.casbah.MongoClient@4f02c3a5 scala> 十月 14, 2016 11:13:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Opened connection [connectionId{localValue:2, serverValue:252}] to 127.0.0.1:27017 十月 14, 2016 11:13:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Monitor thread successfully connected to server with description ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 8]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=389618} ``` #### 连接到db 用刚刚的client链接到某个db ```shell scala> val db = client("justTest") db: com.mongodb.casbah.MongoDB = DB{name='jestTest'} ``` #### 连接到collection 访问db里的collection ```shell scala> val collection = db("eventv4") collection: com.mongodb.casbah.MongoCollection = eventv4 ``` #### 访问到collection里面的document ```shell # 链接到本地数据库 scala> val client = MongoClient("127.0.0.1", 27017) 十月 14, 2016 11:13:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Cluster created with settings {hosts=[127.0.0.1:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} client: com.mongodb.casbah.MongoClient = com.mongodb.casbah.MongoClient@4f02c3a5 scala> 十月 14, 2016 11:13:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Opened connection [connectionId{localValue:2, serverValue:252}] to 127.0.0.1:27017 十月 14, 2016 11:13:39 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Monitor thread successfully connected to server with description ServerDescription{address=127.0.0.1:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 8]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=389618} # 选中某个db scala> val db = client("justTest") db: com.mongodb.casbah.MongoDB = DB{name='justTest'} # 选中某个collection scala> val collection = db("eventv4") collection: com.mongodb.casbah.MongoCollection = eventv4 # findOne document scala> val oneDoc = collection.findOne oneDoc: Option[collection.T] = Some({ "_id" : { "$oid" : "57fb3bdf6f0c4e1c76d9f7d1"} , "AAAAaaa" : "ccAAAAcbbb" , "ua" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36" , "serverTime" : 1476082655756}) ``` #### 访问document里某个字段 ```shell scala> val thisOneDoc = oneDoc.get thisOneDoc: collection.T = { "_id" : { "$oid" : "57fb3bdf6f0c4e1c76d9f7d1"} , "AAAAaaa" : "ccAAAAcbbb" , "ua" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36" , "serverTime" : 1476082655756} scala> thisOneDoc("ua") res1: AnyRef = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 scala> ``` #### 遍历某个collection ```shell scala> import com.mongodb.casbah.Imports._ import com.mongodb.casbah.Imports._ scala> val mongoClient = MongoClient("localhost", 27017) SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 十月 14, 2016 11:29:04 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} mongoClient: com.mongodb.casbah.MongoClient = com.mongodb.casbah.MongoClient@218886fe scala> 十月 14, 2016 11:29:04 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Opened connection [connectionId{localValue:1, serverValue:258}] to localhost:27017 十月 14, 2016 11:29:04 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 8]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=614217} scala> val db = mongoClient("justTest") db: com.mongodb.casbah.MongoDB = DB{name='justTest'} scala> val coll = db("eventv4") coll: com.mongodb.casbah.MongoCollection = eventv4 scala> val allDocs = coll coll collection scala> val allDocs = coll.find() 十月 14, 2016 11:29:47 上午 com.mongodb.diagnostics.logging.JULLogger log 信息: Opened connection [connectionId{localValue:2, serverValue:259}] to localhost:27017 allDocs: coll.CursorType = non-empty iterator scala> print(allDocs) non-empty iterator scala> for(doc <- allDocs) println(_) <console>:18: error: missing parameter type for expanded function ((x$1) => println(x$1)) for(doc <- allDocs) println(_) ^ scala> for(doc <- allDocs) println(doc) { "_id" : { "$oid" : "57fb3bdf6f0c4e1c76d9f7d1"} , "AAAAaaa" : "ccAAAAcbbb" , "ua" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36" , "serverTime" : 1476082655756} ```
To communicate your brand effectively, you have to get people to listen, and to get them to listen you need their full attention. Engaging visual and graphic design are the key to getting that audience engagement. In fact, we think graphic design is the Chemical X of a great marketing campaign. When people see catalogs, banners, posters, billboards, packaging, or digital ads with engaging graphic design they really take notice. Consistent brand identity leads to image familiarity and increased customer loyalty. Once you have a loyal customer they stick with you as a brand. A well designed and consistent branding package, along with messaging, is key to marketing. Our approach to graphic design is to use the best graphic designers in the business. No vanilla, bargain-basement, crowd-sourced designs here. Our internal team of designers becomes familiar with your brand and its offerings. By learning how your business runs we can tailor graphic to meet your specific needs. Our team works together with you to consistently produce great designs and completed projects. Our award-winning team has the credentials and portfolio to prove it. They know their stuff. When showcasing your product or service, sometimes you need something physical to leave behind or engage. This may be a magazine ad, billboard, banner, or a custom created piece. Our outstanding team can work with you to create a memorable and lasting impression that keeps your brand top-of-mind. Stand out from your competition and be seen. A visually appealing design is critical to start your customer engagement. It is what creates intrigue and retention. It is the key to generates your brand’s attraction. Our team uses their years of experience and expert design to create a look that is uniquely yours and memorable.
SEM is a form of Internet marketing involving buying traffic through paid search activities.1 This is distinctly different from search engine optimization (SEO), which is the process of earning traffic organically. Take a second and Google the word “hotel”. See all of the advertisements visible above the search results? Those are ads paid for by a business to generate traffic. Search is the most popular medium for locating information. Search Engine Marketing has one of the lowest costs per customer acquisition. Search engine marketing is a very effective way to grow your business and increase profits; it is also the most popular medium for locating information. SEM promotes websites by increasing their visibility in search engine result pages (SERPs) through the use of paid placement, contextual advertising and paid inclusion. With a search engine, advertisers appearing on the top and right hand sides of the first page receive the most click throughs and are a result of SEM. Oftentimes search engine marketing is referred to as CPC (cost-per-click) or PPC (pay-per-click) marketing since most search ads are sold on a CPC or PPC basis.
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.elasticsearch.action.admin.indices.forcemerge; import org.elasticsearch.action.ActionType; public class ForceMergeAction extends ActionType<ForceMergeResponse> { public static final ForceMergeAction INSTANCE = new ForceMergeAction(); public static final String NAME = "indices:admin/forcemerge"; private ForceMergeAction() { super(NAME); } }
The National Park Service does not inspect, maintain, or repair bolts and other climbing equipment anywhere in the park. The rules that govern the placement of fixed anchors are complex. Please study them carefully as you are responsible for following them. A fixed anchor is defined as any piece of climbing equipment that is left in place to facilitate a safe ascent or rappel. Examples include, but are not limited to, bolts, pitons, and slings. Only place fixed anchors as a last resort. Before placing fixed anchors on a route, think seriously about whether the route warrants them. Joshua Tree has a lot of top-rope routes, many of which are worth climbing, but not worth bolting. Power drills may not be used without a permit. You may contact the special use office at 760-367-5545 to learn more about the permitting process. Stainless steel hangers and bolts are required. The local climbing community suggests hangers and bolts that are at least three-eights-inch in diameter and two and one-half inches in length. Please minimize visual impacts by camouflaging fixed anchors. When using a hand drill, you are not required to have a permit to place new, or replace existing, fixed anchors in non-wilderness. (Use of a power drill does require a permit.) However, please consider the impacts of new fixed anchors on the quality of existing climbing routes, natural, historical, and archeological resources, and the experience of other visitors. Fixed anchors may be replaced, anchor for anchor, in wilderness. A permit is required to place new fixed anchors in wilderness. See the information on "How to Get a Permit" below. Is my permit request in a wilderness area? Check this map of wilderness areas. Over 75 percent of the park is Congressionally-designated wilderness. Climbers are responsible for knowing where wilderness boundaries are located. If you are unsure about a particular location, contact a park ranger. For National Park Service policy concerning bolting restrictions in wilderness see section 7.2 of Director's Order #41: Wilderness Stewardship. Fixed anchors may not be placed or replaced in fixed anchor-free zones. For example, the Barker Dam area, a popular destination for many park visitors, has been designated a fixed anchor-free zone to maintain its aesthetic value for visitors. Fixed anchors may not be placed between the parking lot and the dam. If you wish to place fixed anchors in the surrounding area, make sure to identify the boundaries first. Complete the Bolting Proposal Form. Complete a Special Use Permit request (no fee). Submit both forms to the Division of Science and Resource Stewardship. These procedures were established in cooperation with the climbing community. Your participation in helping maintain a quality park experience is appreciated. What happens after my request is submitted? Your bolting request will be reviewed by Joshua Tree National Park's Climbing Committee and Wilderness Steering Committee. When no conflicts are found, the permit will be forwarded to the superintendent for approval. This process can take up to 6 months (on average it takes about a month) because federal law requires compliance with the National Environmental Policy Act and the National Historic Preservation Act. I'm interested in rebolting a route that already exists. Complete the Rebolting Proposal Form.
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>CSS制作面包屑</title> <meta name="keywords" content=""> <meta name="description" content=""> <link rel="shortcut icon" href="http://www.w3cplus.com/sites/all/themes/marvin/favicon.ico"> <link rel="stylesheet" type="text/css" href="http://www.w3cplus.com/download/reset.css" media="all" /> <style> .demo{width:600px; margin:100px auto; background:#f0f0f0; height:32px; overflow:hidden; line-height:32px; position:relative;} .demo li{float:left; width:200px; text-align:center; position:relative; z-index:2; font-weight:bold; font-size:14px;} .demo li em{position:absolute; right:-24px; top:-8px; width:0; height:0; line-height:0; border-width:24px 0 24px 24px; border-color:transparent transparent transparent #fff; border-style:dashed dashed dashed solid;} .demo li i{position:absolute; right:-16px; top:0; width:0; height:0; line-height:0; border-width:16px 0 16px 16px; border-color:transparent transparent transparent #f0f0f0; border-style:dashed dashed dashed solid;} .demo li.current{background:#f60; color:#fff; z-index:1;} .demo li.current i{border-color:transparent transparent transparent #f60;} </style> </head> <body> <section class="demo"> <ul class="clearfix"> <li>面包屑一<em></em><i></i></li> <li class="current">面包屑二<em></em><i></i></li> <li>面包屑二<em></em><i></i></li> </ul> </section> </body> </html>
<?php class ControllerPaymentRedsys extends Controller { public function index() { $this->load->language('payment/redsys'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validate()) { $this->model_setting_setting->editSetting('redsys', $this->request->post); $this->session->data['success'] = $this->language->get('text_success'); $this->redirect($this->url->link('extension/payment', 'token=' . $this->session->data['token'], 'SSL')); } $this->data['heading_title'] = $this->language->get('heading_title'); $this->data['text_enabled'] = $this->language->get('text_enabled'); $this->data['text_disabled'] = $this->language->get('text_disabled'); $this->data['text_all_zones'] = $this->language->get('text_all_zones'); $this->data['text_yes'] = $this->language->get('text_yes'); $this->data['text_no'] = $this->language->get('text_no'); $this->data['text_digest_complete'] = $this->language->get('text_digest_complete'); $this->data['text_digest_extended'] = $this->language->get('text_digest_extended'); $this->data['entry_merchantCode'] = $this->language->get('entry_merchantCode'); $this->data['entry_terminal'] = $this->language->get('entry_terminal'); $this->data['entry_password'] = $this->language->get('entry_password'); $this->data['entry_digest'] = $this->language->get('entry_digest'); $this->data['entry_test'] = $this->language->get('entry_test'); $this->data['entry_process_failed'] = $this->language->get('entry_process_failed'); $this->data['entry_send_mail_to_cutomer'] = $this->language->get('entry_send_mail_to_cutomer'); $this->data['entry_send_mail_to_store_owner'] = $this->language->get('entry_send_mail_to_store_owner'); $this->data['entry_completed_status'] = $this->language->get('entry_completed_status'); $this->data['entry_failed_status'] = $this->language->get('entry_failed_status'); $this->data['entry_geo_zone'] = $this->language->get('entry_geo_zone'); $this->data['entry_status'] = $this->language->get('entry_status'); $this->data['entry_sort_order'] = $this->language->get('entry_sort_order'); $this->data['button_save'] = $this->language->get('button_save'); $this->data['button_cancel'] = $this->language->get('button_cancel'); $this->data['tab_general'] = $this->language->get('tab_general'); $this->data['error_warning'] = (isset($this->error['warning'])) ? $this->error['warning'] : ''; $this->data['breadcrumbs'] = array(); $this->data['breadcrumbs'][] = array( 'text' => $this->language->get('text_home'), 'href' => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'), 'separator' => false ); $this->data['breadcrumbs'][] = array( 'text' => $this->language->get('text_payment'), 'href' => $this->url->link('extension/payment', 'token=' . $this->session->data['token'], 'SSL'), 'separator' => ' :: ' ); $this->data['breadcrumbs'][] = array( 'text' => $this->language->get('heading_title'), 'href' => $this->url->link('payment/redsys', 'token=' . $this->session->data['token'], 'SSL'), 'separator' => ' :: ' ); $this->data['action'] = $this->url->link('payment/redsys', 'token=' . $this->session->data['token'], 'SSL'); $this->data['cancel'] = $this->url->link('extension/payment', 'token=' . $this->session->data['token'], 'SSL'); if (isset($this->request->post['redsys_merchantCode'])) { $this->data['redsys_merchantCode'] = $this->request->post['redsys_merchantCode']; } else { $this->data['redsys_merchantCode'] = $this->config->get('redsys_merchantCode'); } if (isset($this->request->post['redsys_terminal'])) { $this->data['redsys_terminal'] = $this->request->post['redsys_terminal']; } else { $this->data['redsys_terminal'] = $this->config->get('redsys_terminal'); } if (isset($this->request->post['redsys_password'])) { $this->data['redsys_password'] = $this->request->post['redsys_password']; } else { $this->data['redsys_password'] = $this->config->get('redsys_password'); } if (isset($this->request->post['redsys_test'])) { $this->data['redsys_digest'] = $this->request->post['redsys_digest']; } else { $this->data['redsys_digest'] = $this->config->get('redsys_digest'); } if (isset($this->request->post['redsys_test'])) { $this->data['redsys_test'] = $this->request->post['redsys_test']; } else { $this->data['redsys_test'] = $this->config->get('redsys_test'); } if (isset($this->request->post['redsys_process_failed'])) { $this->data['redsys_process_failed'] = $this->request->post['redsys_process_failed']; } else { $this->data['redsys_process_failed'] = $this->config->get('redsys_process_failed'); } if (isset($this->request->post['redsys_completed_status_id'])) { $this->data['redsys_completed_status_id'] = $this->request->post['redsys_completed_status_id']; } else { $this->data['redsys_completed_status_id'] = $this->config->get('redsys_completed_status_id'); } if (isset($this->request->post['redsys_failed_status_id'])) { $this->data['redsys_failed_status_id'] = $this->request->post['redsys_failed_status_id']; } else { $this->data['redsys_failed_status_id'] = $this->config->get('redsys_failed_status_id'); } if (isset($this->request->post['redsys_send_mail_to_cutomer'])) { $this->data['redsys_send_mail_to_cutomer'] = $this->request->post['redsys_send_mail_to_cutomer']; } else { $this->data['redsys_send_mail_to_cutomer'] = $this->config->get('redsys_send_mail_to_cutomer'); } if (isset($this->request->post['redsys_send_mail_to_store_owner'])) { $this->data['redsys_send_mail_to_store_owner'] = $this->request->post['redsys_send_mail_to_store_owner']; } else { $this->data['redsys_send_mail_to_store_owner'] = $this->config->get('redsys_send_mail_to_store_owner'); } $this->load->model('localisation/order_status'); $this->data['order_statuses'] = $this->model_localisation_order_status->getOrderStatuses(); if (isset($this->request->post['redsys_geo_zone_id'])) { $this->data['redsys_geo_zone_id'] = $this->request->post['redsys_geo_zone_id']; } else { $this->data['redsys_geo_zone_id'] = $this->config->get('redsys_geo_zone_id'); } $this->load->model('localisation/geo_zone'); $this->data['geo_zones'] = $this->model_localisation_geo_zone->getGeoZones(); if (isset($this->request->post['redsys_status'])) { $this->data['redsys_status'] = $this->request->post['redsys_status']; } else { $this->data['redsys_status'] = $this->config->get('redsys_status'); } if (isset($this->request->post['redsys_sort_order'])) { $this->data['redsys_sort_order'] = $this->request->post['redsys_sort_order']; } else { $this->data['redsys_sort_order'] = $this->config->get('redsys_sort_order'); } $this->template = 'payment/redsys.tpl'; $this->children = array( 'common/header', 'common/footer' ); $this->response->setOutput($this->render()); } private function validate() { if (!$this->user->hasPermission('modify', 'payment/redsys')) { $this->error['warning'] = $this->language->get('error_permission'); } if (!$this->error) { return true; } else { return false; } } } ?>
/* * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package com.sun.tools.internal.ws.wsdl.framework; /** * An interface implemented by entities which have an ID. * * @author WS Development Team */ public interface Identifiable extends Elemental { public String getID(); }
Multi-talented artist SINN is living and walking proof of the coined phrase, “Speak dreams into existence”. SINN is known in the music and entertainment industry for his mastery as emcee, producer, engineer, and songwriter. Over the past twenty years he has collaborated with countless artists such as Alicia Keys, Prince, Jay-Z, 50 Cent, DMX, and Big Pun. As a vet, SINN has been part of the growth and diversity in Hip-Hop culture, specifically in the music. Cleverly enough his extensive music catalog exceeds any “hot for the moment” trend. Sinn recently released two new tracks, “Track Boy Murderer” and “Here We Go Again”. Both tracks produced by Chill Beatz, are bar for bar, lyrical reminders of his longevity in the music scene. SINN is currently on his “Who’s Riding” Tour.
### What is nuCMS nuCMS is an open source cms project based on CodeIgniter Framework. You can install this cms fast even on cheap hosting. ### Installation - Clone git repository ```sh git clone [email protected]:nugroup/nuCMS.git ``` - Install dependencies using composer ```sh composer install ``` - Create database - Run migrations ```sh php index.php migrate allModules ``` ### Server Requirements PHP version 5.4 or newer is recommended. It should work on 5.2.4 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features. ### License The MIT License (MIT)
Okay! I'm bored as heck and I would like to help increase activity on the forum, again! The goal of this thread is to list members that we of Lunacy have found threatening, and to place bounties on their heads to have them assassinated via WiFi-battle right away. The members I've decided to place bounties on are: Pianomaster19, GrassPokemonFTW, Reuniclus, Sub-Zero, Dragonite, Whimsicott, JDxImpetus, Magmaster12, and Twiggy. If you aren't on this list, consider yourself lucky. However, once Kakashi and I conquer all of these victims, you will all find yourselves on the list, eventually. These members have shown exceptional skill in my recent VR Championship Tournament. They will certainly be tough to take down, but Kakashi and I cannot let them ride their high horses for too long. They will be defeated. Each bounty will start with 0 points individually. If they are able to manage to pull of a win, they will earn 10 points. After each win, the earnings will increase by 2x. For example, if Reuniclus were to win a battle, he'd have 10 points. If he won another one, he'd have 30, and after a 3rd win he'd have 70. Kakashi and I will decide on prizes. Prizes will probably go along the lines of HA IV bred pokemon, IV bred battle ready pokemon, and maybe even some shinies. If you lose to a bounty hunter, your points drop all the way to 0 and you will be placed on the assassinated list for a certain period of time (I haven't decided yet) before we let you escape and allow you to accumulate points again. Last edited by MattyBrollic; February 13, 2015 at 01:46:59 PM. I'm not on the list? Fiddlesticks, got to try harder. You know what, I'm going to add you as well as a lot of others onto the list. The best way to get everyone involved is to actually get everyone involved. And sure I will battle you! Do you want it to be for your bounty or for fun? Im up to battle the bountys this weekend. I'm currently messing around with some Pokemon so I wouldn't mind being challenged. I'll keep my serious team in my battle box just in case. Last edited by Reuniclus; February 16, 2015 at 08:57:23 PM. got some crap to do during today, I should be able to battle you whenever later. Last edited by Sub-zero; February 20, 2015 at 03:37:28 PM. Either, doesn't really matter. I'll leave my 3DS open starting now, I'm pretty sure I have you added, challenge me if you see me. I have my triples team in the Battle Box and I'm too lazy to change it out atm, so you might be fighting some random stuff. I'll try my hand at triples, although my team is singles. Sounds good. Just need you to get unbusy. Oh yeah, in case anyone was wondering I got clobbered in 4 battles out of 6 against Zero and the RNG gods. Yesterday was not a good day for me and Pokémon. It would've been 4/7 had we not disconnected from that one battle. Unless you're already counting it. o.o Lucky flinches and crits, my boi! >.< & -.- ← Didnt realize that the HA Johto starters was on the 27th not the 22nd this month. So scratch that out that idea. Someone should post something here. Something to start a fight. Then we battle. Sure, why not. Anyone else want to give me a good slapping? When do you mean by "tonight?" I'm at work between 6 and 12:30 Eastern. New threat! The Murkrow Mafia! If anyone loses to this special team you will lose all our hard earned points. So if u think u have what it takes to battle this underated team, watch our backs as the Mafia might attack at any time. Also I'm placing bounties on everyone that's been the most active as of late just to get things fired up for this summer.
<?php /** * Created by PhpStorm. * User: Neo_ * Date: 1/16/16 * Time: 5:54 PM */ namespace Controllers; $path = $_SERVER['DOCUMENT_ROOT']; $path .= "/databaseproject/php/model/Student.php"; include_once($path); $path = $_SERVER['DOCUMENT_ROOT']; $path .= "/databaseproject/php/Connection.php"; include_once($path); session_start(); use Model\Connection; use Model\Student; class StudentController { function addStudent(Student $student) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $number = $student->getNumber(); $name_in_full = $student->getNameInFull(); $address = $student->getAddress(); $registered_date = $student->getRegisterdDate(); $grade = $student->getGrade(); $school_id = $_SESSION['school_id']; $is_old_boy = 0; $stmt = $connection->prepare("INSERT INTO student(name_in_full, address) VALUES (?,?)"); $stmt->bind_param("ss", $name_in_full, $address); $result = $stmt->execute(); $stmt->close(); $student_id = mysqli_insert_id($connection); $stmt = $connection->prepare("INSERT INTO student_school(student_id, school_id, registered_date,is_old_boy, starting_grade, registration_number) VALUES (?,?,?,?,?,?)"); $stmt->bind_param("sssiss", $student_id, $school_id, $registered_date, $is_old_boy, $grade, $number); $result = $stmt->execute(); $stmt->close(); return $result; } function addTransferredStudent(Student $student) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $number = $student->getNumber(); $registered_date = $student->getRegisterdDate(); $grade = $student->getGrade(); $student_id = $student->getStudentId(); $school_id = $_SESSION['school_id']; $is_old_boy = 0; $stmt = $connection->prepare("INSERT INTO student_school(student_id, school_id, registered_date,is_old_boy, starting_grade, registration_number) VALUES (?,?,?,?,?,?)"); $stmt->bind_param("sssiss", $student_id, $school_id, $registered_date, $is_old_boy, $grade, $number); $result = $stmt->execute(); $stmt->close(); return $result; } function getStudentList($school_id) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $sql = "SELECT student_id,registration_number,name_in_full FROM student NATURAL JOIN student_school WHERE leaving_date IS NULL AND school_id = " . $school_id; $result = $connection->query($sql); return $result; } function addLeavingRecord($school_id, $student_id, $date) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $stmt = $connection->prepare("UPDATE student_school SET leaving_date=? WHERE student_id=? AND school_id=?"); $stmt->bind_param("sii", $date, $student_id, $school_id); $result = $stmt->execute(); $stmt->close(); return $result; } function getStudentsBySchool($school_id) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $sql = "SELECT * FROM student_school NATURAL JOIN student on student.student_id = student_school.student_id WHERE student_school.school_id = " . $school_id; $resultset = mysqli_query($connection, $sql); return $resultset; } function getLeavedStudentsBySchool($school_id) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $sql = "SELECT s.student_id, s.name_in_full,ss.registration_number FROM student s NATURAL JOIN student_school ss WHERE ss.leaving_date IS NOT NULL AND school_id =" . $school_id; $resultset = mysqli_query($connection, $sql); return $resultset; } function getPastPupilsBySchool($school_id) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $sql = "SELECT * FROM student_school LEFT JOIN student ON student.student_id = student_school.student_id WHERE student_school.school_id = " . $school_id . " AND student_school.leaving_date IS NOT NULL"; $resultset = mysqli_query($connection, $sql); return $resultset; } function getPresentPupilsBySchool($school_id) { $connectionObject = Connection::getInstance(); $connection = $connectionObject->get_connection(); $sql = "SELECT * FROM student_school LEFT JOIN student ON student.student_id = student_school.student_id WHERE student_school.school_id = " . $school_id . " AND student_school.leaving_date IS NULL"; $resultset = mysqli_query($connection, $sql); return $resultset; } } ?>
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.olingo.fit.proxy.staticservice.odatawcfservice.types; // CHECKSTYLE:OFF (Maven checkstyle) import org.apache.olingo.ext.proxy.api.annotations.Key; // CHECKSTYLE:ON (Maven checkstyle) @org.apache.olingo.ext.proxy.api.annotations.Namespace("Microsoft.Test.OData.Services.ODataWCFService") @org.apache.olingo.ext.proxy.api.annotations.EntityType(name = "Department", openType = false, hasStream = false, isAbstract = false) public interface Department extends org.apache.olingo.ext.proxy.api.Annotatable, org.apache.olingo.ext.proxy.api.EntityType<Department>, org.apache.olingo.ext.proxy.api.StructuredQuery<Department> { @Key @org.apache.olingo.ext.proxy.api.annotations.Property(name = "DepartmentID", type = "Edm.Int32", nullable = false, defaultValue = "", maxLenght = Integer.MAX_VALUE, fixedLenght = false, precision = 0, scale = 0, unicode = true, collation = "", srid = "") java.lang.Integer getDepartmentID(); void setDepartmentID(java.lang.Integer _departmentID); @org.apache.olingo.ext.proxy.api.annotations.Property(name = "Name", type = "Edm.String", nullable = false, defaultValue = "", maxLenght = Integer.MAX_VALUE, fixedLenght = false, precision = 0, scale = 0, unicode = true, collation = "", srid = "") java.lang.String getName(); void setName(java.lang.String _name); @org.apache.olingo.ext.proxy.api.annotations.Property(name = "DepartmentNO", type = "Edm.String", nullable = true, defaultValue = "", maxLenght = Integer.MAX_VALUE, fixedLenght = false, precision = 0, scale = 0, unicode = true, collation = "", srid = "") java.lang.String getDepartmentNO(); void setDepartmentNO(java.lang.String _departmentNO); @org.apache.olingo.ext.proxy.api.annotations.NavigationProperty(name = "Company", type = "Microsoft.Test.OData.Services.ODataWCFService.Company", targetSchema = "Microsoft.Test.OData.Services.ODataWCFService", targetContainer = "InMemoryEntities", targetEntitySet = "Company", containsTarget = false) Company getCompany(); void setCompany( Company _company); Operations operations(); interface Operations extends org.apache.olingo.ext.proxy.api.Operations { // No additional methods needed for now. } Annotations annotations(); interface Annotations { @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "DepartmentID", type = "Edm.Int32") org.apache.olingo.ext.proxy.api.Annotatable getDepartmentIDAnnotations(); @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "Name", type = "Edm.String") org.apache.olingo.ext.proxy.api.Annotatable getNameAnnotations(); @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForProperty(name = "DepartmentNO", type = "Edm.String") org.apache.olingo.ext.proxy.api.Annotatable getDepartmentNOAnnotations(); @org.apache.olingo.ext.proxy.api.annotations.AnnotationsForNavigationProperty(name = "Company", type = "Microsoft.Test.OData.Services.ODataWCFService.Company") org.apache.olingo.ext.proxy.api.Annotatable getCompanyAnnotations(); } }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 07 13:22:07 CEST 2014 --> <title>Uses of Class com.fluidops.fedx.sail.FedXSailRepository (Fluid Operations FedX documentation)</title> <meta name="date" content="2014-10-07"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet_fedx.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.fluidops.fedx.sail.FedXSailRepository (Fluid Operations FedX documentation)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../com/fluidops/fedx/sail/FedXSailRepository.html" title="class in com.fluidops.fedx.sail">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em> <img src=images/fluidops.png> </em></div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?com/fluidops/fedx/sail/class-use/FedXSailRepository.html" target="_top">Frames</a></li> <li><a href="FedXSailRepository.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class com.fluidops.fedx.sail.FedXSailRepository" class="title">Uses of Class<br>com.fluidops.fedx.sail.FedXSailRepository</h2> </div> <div class="classUseContainer">No usage of com.fluidops.fedx.sail.FedXSailRepository</div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../com/fluidops/fedx/sail/FedXSailRepository.html" title="class in com.fluidops.fedx.sail">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage"><em> <img src=images/fluidops.png> </em></div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?com/fluidops/fedx/sail/class-use/FedXSailRepository.html" target="_top">Frames</a></li> <li><a href="FedXSailRepository.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small> <i>Copyright &#169; 2008-2011 fluid Operations AG. All Rights Reserved.</i> </small></p> </body> </html>
__author__ = "Fabio Giuseppe Di Benedetto" import socket from SocketServer import ThreadingTCPServer, BaseRequestHandler import json import os import errno import time from rcmp_node import logging, RCMP_LOGGER_NAME, threading, netifaces DEFAULT_SERVER_ADDRESS = netifaces.ifaddresses("tun0")[netifaces.AF_INET][0]["addr"] DEFAULT_SERVER_PORT = 9999 def check_port(address, port): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s.bind((address, port)) address, port = s.getsockname() except socket.error as se: if se.errno == errno.EADDRINUSE: return None return address, port class RCMPInterCommunicationClient: """The client for the internal communications between rcm platform node instances. In the master platform node instance is even used for the communication between the external connector and the internal command handler.""" def __init__(self, address=DEFAULT_SERVER_ADDRESS, port=DEFAULT_SERVER_PORT, t_out=60.0): self._address = (address, port) self._conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self._buf_size = 4096 self._timeout = t_out # we add 2 seconds to the socket timer so that we can use it without impacting the use # of the select: in case of network unavailability when the connection is already taken # the timer of the select counts otherwise this network timer counts (this happens to be # useful when we try to connect but we don't have network) self._conn.settimeout(self._timeout + 2) self._logger = logging.getLogger(RCMP_LOGGER_NAME) def connect(self): """Connect to the server.""" self._conn.connect(self._address) def send(self, msg): """Send a message.""" self._conn.sendall(msg) def receive_all_so_far(self): # WARNING this only works on linux: is the same as read_all_so_far but using # the socket instead the streams (std out and std err) import select received = "" retry = 0 all_data_taken = False inputs = [self._conn] outputs = [] readable_list, _, exceptional_list = select.select(inputs, outputs, inputs, self._timeout) # in case of blocking servers when the client find some input available the channel # keep to be readable and the select at the end always return the same readable objects: # in these cases we check the data too, because in these cases data will be empty and # this means that we finished the reception: in case of much data they need some time # to be recovered, so we have to delay the exit to be sure we took all the data while readable_list and not exceptional_list and not all_data_taken: # some readable objects are available for the receive for readable in readable_list: if readable.fileno() == self._conn.fileno(): data = self._conn.recv(self._buf_size) if received: # some data already available and new received: append new data received += data else: # no data previously available: add the new data received = data if received: # we check if we received all the msg try: json.loads(received) except Exception as e: # exception means that the msg is not completed if data: # every time we receive data we reset the retry retry = 0 else: # every time we receive nothing means that the missing parts of # the msg aren't arrived yet: we delay the reception but give 3 # retry before failing definitely retry += 1 if retry < 3: time.sleep(1) else: # if the check went well we can exit all_data_taken = True if not self._conn: # if the socket was delete we clean the readable_list so that we exit readable_list = None else: # in case of big packets they are split in n packet: not all packets come # in the same readable block, so in case we haven't finished we have to wait # until the next readable block if not all_data_taken: readable_list, _, exceptional_list = select.select(inputs, outputs, inputs, self._timeout) if exceptional_list: raise IOError("Socket caused exception") return received def close(self): """Close the connection with the server.""" self._conn.close() class RCMPPacketHandler(BaseRequestHandler): """The server handler of the received requests.""" def handle(self): """Take the content of the RCMP packet and use the dispatcher to handle the command.""" logger = logging.getLogger(RCMP_LOGGER_NAME) # logger.debug("Handling the request from %s:%d" % self.client_address) response = RCMPMessage() try: # TODO see if we need a receive with more data (these are the requests) content = self.request.recv(1024) if content: msg = RCMPMessage() msg.set_content(content) response = self.server.dispatcher.dispatch(msg.get_dict()) except Exception as e: reason = "Error executing the request: %s" % e logger.error(reason) response.create_error_response(reason) finally: try: self.request.sendall(response.get_txt()) except Exception as e: logger.error("Error sending the response: %s" % e) class RCMPInterCommunicationServer(ThreadingTCPServer): """The server for the internal communications between rcm platform node instances. In the master platform node instance is even used for the communication between the external connector and the internal command handler.""" ROS_IP_ENV = "ROS_IP" # we allow the reuse of address so we don't have to wait when we restart # the server: this has to be set before the __init__ because TCPServer has # the bind() embedded in it allow_reuse_address = True def __init__(self, server_address=(DEFAULT_SERVER_ADDRESS, DEFAULT_SERVER_PORT), RequestHandlerClass=RCMPPacketHandler, dispatcher=None): ThreadingTCPServer.__init__(self, server_address, RequestHandlerClass) # keep track of the handlers used to process the requests self.handlers = {} self.dispatcher = dispatcher # we set the ros_ip at this level because in case of more than one ip # address this is the one we use for the platform and we want to use # for ros too os.environ[self.ROS_IP_ENV] = server_address[0] def process_request(self, request, client_address): """Start a new thread to process the request.""" # this is specific when an handler has to process a request t = threading.Thread(target=self.process_request_thread, args=(request, client_address)) t.daemon = self.daemon_threads self.handlers[request] = t t.start() def close_request(self, request): """Clean up an individual request.""" # this is specific when an handler has finished his work request.close() del self.handlers[request] def shutdown(self): """Stop the server.""" # this is the call for shutting down the server ThreadingTCPServer.shutdown(self) # wait until all the requests have finished for h in self.handlers.values(): h.join() class RCMPMessage: """The message of rcm platform.""" RESPONSE_RESULT = "result" RESPONSE_REASON = "reason" RESULT_OK = "OK" RESULT_ERROR = "ERROR" def __init__(self, content=None): """Initialize the RCMPMessage using the specified dict argument.""" self.content = content def set_content(self, content): """Set the content of the message starting from the specified string argument.""" if content: self.content = json.loads(content) def create_ok_response(self, reason): """Create an ok response message.""" self.content = {self.RESPONSE_RESULT: self.RESULT_OK, self.RESPONSE_REASON: reason} def create_error_response(self, reason): """Create an error response message.""" self.content = {self.RESPONSE_RESULT: self.RESULT_ERROR, self.RESPONSE_REASON: reason} def add_response_warning(self, warning): """Add a warning into the response.""" if self.content and self.RESPONSE_REASON in self.content: self.content[self.RESPONSE_REASON] += "(warning: %s)" % warning def is_empty(self): """Check if the message is empty.""" return self.content is None def is_ok(self): """Check if the message is a response and the result of the response is ok.""" if self.content and self.RESPONSE_RESULT in self.content: return self.content[self.RESPONSE_RESULT] == self.RESULT_OK return False def get_response_reason(self): """Get the reason into a response message.""" return self.content[self.RESPONSE_REASON] if self.content and self.RESPONSE_REASON in self.content else None def get_txt(self): """Get the text version of the message.""" return json.dumps(self.content) if self.content else None def get_dict(self): """Get the dictionary version of the message.""" return self.content class RCMPDispatcher: """The dispatcher of rcm platform messages.""" def __init__(self, pni=None, msm=None, wdm=None): self.pni = pni self.msm = msm self.wdm = wdm def dispatch(self, params): """Dispatch the command to the components that have to handle it. Receive params in form of dict type and return the response as RCMPMessage.""" from rcmp_command import RCMPCommandHandler from rcmp_event import RCMPEventHandler if RCMPCommandHandler.COMMAND_KEY in params: rh = RCMPCommandHandler(self.pni, self.msm, self.wdm) elif RCMPEventHandler.EVENT_KEY in params: rh = RCMPEventHandler(self.pni, self.wdm, self.msm) else: reason = "The RCM platform node instance manages only commands or events" response = RCMPMessage() response.create_error_response(reason) return response return rh.handle(params)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Introduction to Whoosh &mdash; Whoosh 2.5.7 documentation</title> <link rel="stylesheet" href="_static/default.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: './', VERSION: '2.5.7', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="Whoosh 2.5.7 documentation" href="index.html" /> <link rel="next" title="Glossary" href="glossary.html" /> <link rel="prev" title="Quick start" href="quickstart.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="glossary.html" title="Glossary" accesskey="N">next</a> |</li> <li class="right" > <a href="quickstart.html" title="Quick start" accesskey="P">previous</a> |</li> <li><a href="index.html">Whoosh 2.5.7 documentation</a> &raquo;</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="introduction-to-whoosh"> <h1>Introduction to Whoosh<a class="headerlink" href="#introduction-to-whoosh" title="Permalink to this headline">¶</a></h1> <div class="section" id="about-whoosh"> <h2>About Whoosh<a class="headerlink" href="#about-whoosh" title="Permalink to this headline">¶</a></h2> <p>Whoosh was created by <a class="reference external" href="mailto:matt&#37;&#52;&#48;whoosh&#46;ca">Matt Chaput</a>. It started as a quick and dirty search server for the online documentation of the <a class="reference external" href="http://www.sidefx.com/">Houdini</a> 3D animation software package. Side Effects Software generously allowed Matt to open source the code in case it might be useful to anyone else who needs a very flexible or pure-Python search engine (or both!).</p> <ul class="simple"> <li>Whoosh is fast, but uses only pure Python, so it will run anywhere Python runs, without requiring a compiler.</li> <li>By default, Whoosh uses the <a class="reference external" href="http://en.wikipedia.com/wiki/BM25">Okapi BM25F</a> ranking function, but like most things the ranking function can be easily customized.</li> <li>Whoosh creates fairly small indexes compared to many other search libraries.</li> <li>All indexed text in Whoosh must be <em>unicode</em>.</li> <li>Whoosh lets you store arbitrary Python objects with indexed documents.</li> </ul> </div> <div class="section" id="what-is-whoosh"> <h2>What is Whoosh?<a class="headerlink" href="#what-is-whoosh" title="Permalink to this headline">¶</a></h2> <p>Whoosh is a fast, pure Python search engine library.</p> <p>The primary design impetus of Whoosh is that it is pure Python. You should be able to use Whoosh anywhere you can use Python, no compiler or Java required.</p> <p>Like one of its ancestors, Lucene, Whoosh is not really a search engine, it&#8217;s a programmer library for creating a search engine <a class="footnote-reference" href="#id2" id="id1">[1]</a>.</p> <p>Practically no important behavior of Whoosh is hard-coded. Indexing of text, the level of information stored for each term in each field, parsing of search queries, the types of queries allowed, scoring algorithms, etc. are all customizable, replaceable, and extensible.</p> <table class="docutils footnote" frame="void" id="id2" rules="none"> <colgroup><col class="label" /><col /></colgroup> <tbody valign="top"> <tr><td class="label"><a class="fn-backref" href="#id1">[1]</a></td><td>It would of course be possible to build a turnkey search engine on top of Whoosh, like Nutch and Solr use Lucene.</td></tr> </tbody> </table> </div> <div class="section" id="what-can-whoosh-do-for-you"> <h2>What can Whoosh do for you?<a class="headerlink" href="#what-can-whoosh-do-for-you" title="Permalink to this headline">¶</a></h2> <p>Whoosh lets you index free-form or structured text and then quickly find matching documents based on simple or complex search criteria.</p> </div> <div class="section" id="getting-help-with-whoosh"> <h2>Getting help with Whoosh<a class="headerlink" href="#getting-help-with-whoosh" title="Permalink to this headline">¶</a></h2> <p>You can view outstanding issues on the <a class="reference external" href="http://bitbucket.org/mchaput/whoosh">Whoosh Bitbucket page</a> and get help on the <a class="reference external" href="http://groups.google.com/group/whoosh">Whoosh mailing list</a>.</p> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Introduction to Whoosh</a><ul> <li><a class="reference internal" href="#about-whoosh">About Whoosh</a></li> <li><a class="reference internal" href="#what-is-whoosh">What is Whoosh?</a></li> <li><a class="reference internal" href="#what-can-whoosh-do-for-you">What can Whoosh do for you?</a></li> <li><a class="reference internal" href="#getting-help-with-whoosh">Getting help with Whoosh</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="quickstart.html" title="previous chapter">Quick start</a></p> <h4>Next topic</h4> <p class="topless"><a href="glossary.html" title="next chapter">Glossary</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/intro.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="glossary.html" title="Glossary" >next</a> |</li> <li class="right" > <a href="quickstart.html" title="Quick start" >previous</a> |</li> <li><a href="index.html">Whoosh 2.5.7 documentation</a> &raquo;</li> </ul> </div> <div class="footer"> &copy; Copyright 2007-2012 Matt Chaput. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.1. </div> </body> </html>
Energetic uplifting with positive mood. Perfect for corporate videos, presentations, and other media projects. Everything done in Logic Pro 9.0 with standard plugins, but you can open it project in Logic Pro X.
Oak three door bookcase dating from the 1920s with short raised back , three glazed doors on turned legs and cross stretchers. The interior has three adjustable shelves to each compartment, carved detail across the front. Size 60 ins wide, 59 ins high, 14 ins deep. The Oak three door bookcase has been added to your saved items.
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.commons.vfs2.provider.webdav4; import java.lang.reflect.Constructor; import org.apache.commons.vfs2.FileSystemException; import org.apache.jackrabbit.webdav.DavConstants; import org.apache.jackrabbit.webdav.DavException; import org.apache.jackrabbit.webdav.xml.DomUtil; import org.w3c.dom.Element; /** * Converts WebDAV exceptions into FileSystemExceptions. * * @since 2.5.0 */ public final class ExceptionConverter { // avoid instanciation private ExceptionConverter() { } public static FileSystemException generate(final DavException davExc) throws FileSystemException { String msg = davExc.getMessage(); if (davExc.hasErrorCondition()) { try { final Element error = davExc.toXml(DomUtil.createDocument()); if (DomUtil.matches(error, DavException.XML_ERROR, DavConstants.NAMESPACE)) { if (DomUtil.hasChildElement(error, "exception", null)) { final Element exc = DomUtil.getChildElement(error, "exception", null); if (DomUtil.hasChildElement(exc, "message", null)) { msg = DomUtil.getChildText(exc, "message", null); } if (DomUtil.hasChildElement(exc, "class", null)) { final Class<?> cl = Class.forName(DomUtil.getChildText(exc, "class", null)); final Constructor<?> excConstr = cl.getConstructor(new Class[] { String.class }); if (excConstr != null) { final Object o = excConstr.newInstance(new Object[] { msg }); if (o instanceof FileSystemException) { return (FileSystemException) o; } else if (o instanceof Exception) { return new FileSystemException(msg, (Exception) o); } } } } } } catch (final Exception e) { throw new FileSystemException(e); } } return new FileSystemException(msg); } }
Despite pressure to meet international obligations and competing interests locally, the government maintains it will consult genuinely with Māori over plant rights. Māori delegates at the Ngā Taonga Tuku Iho conference reacted with caution to the government’s announcement today that it plans to start public consultation on New Zealand’s plant variety rights law. Whakatū marae welcomed close to 200 Ngā Taonga Tuku Iho delegates at a pōwhiri in Nelson yesterday afternoon, opening a conference that's an important 'wellness' check on Māori intellectual, cultural and property rights. Māori Television is taking viewers back to an era of light entertainment with WHĀNAU FACTOR, a new family game show premiering on Friday, October 18 at 8.00pm. Acclaimed historian, Dame Anne Salmond was announced New Zealander of the Year at an awards ceremony last night in Auckland. The first ever Pacific musical is being staged at the Auckland Arts Festival, which kicks off next week. It showcases some of NZ's rising stars with Taupunakohe Tocker performing under the musical direction of Tama Waipara.
# doc/Makefile # # Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. # -------------------------------------------------------------------- # # linux-wlan # # The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # Alternatively, the contents of this file may be used under the # terms of the GNU Public License version 2 (the "GPL"), in which # case the provisions of the GPL are applicable instead of the # above. If you wish to allow the use of your version of this file # only under the terms of the GPL and not to allow others to use # your version of this file under the MPL, indicate your decision # by deleting the provisions above and replace them with the notice # and other provisions required by the GPL. If you do not delete # the provisions above, a recipient may use your version of this # file under either the MPL or the GPL. # # -------------------------------------------------------------------- # # Inquiries regarding the linux-wlan Open Source project can be # made directly to: # # AbsoluteValue Systems Inc. # [email protected] # http://www.linux-wlan.com # # -------------------------------------------------------------------- # # Portions of the development of this software were funded by # Intersil Corporation as part of PRISM(R) chipset product development. # # -------------------------------------------------------------------- -include ../config.mk all: @echo "Nothing to do..." install: @echo "Nothing to do..." clean: rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
module ActiveRecord # = Active Record Belongs To Association module Associations class BelongsToAssociation < SingularAssociation #:nodoc: def handle_dependency target.send(options[:dependent]) if load_target end def replace(record) if record raise_on_type_mismatch!(record) update_counters(record) replace_keys(record) set_inverse_instance(record) @updated = true else decrement_counters remove_keys end self.target = record end def reset super @updated = false end def updated? @updated end def decrement_counters # :nodoc: with_cache_name { |name| decrement_counter name } end def increment_counters # :nodoc: with_cache_name { |name| increment_counter name } end private def find_target? !loaded? && foreign_key_present? && klass end def with_cache_name counter_cache_name = reflection.counter_cache_column return unless counter_cache_name && owner.persisted? yield counter_cache_name end def update_counters(record) with_cache_name do |name| return unless different_target? record record.class.increment_counter(name, record.id) decrement_counter name end end def decrement_counter(counter_cache_name) if foreign_key_present? klass.decrement_counter(counter_cache_name, target_id) end end def increment_counter(counter_cache_name) if foreign_key_present? klass.increment_counter(counter_cache_name, target_id) if target && !stale_target? && counter_cache_available_in_memory?(counter_cache_name) target.increment(counter_cache_name) end end end # Checks whether record is different to the current target, without loading it def different_target?(record) record.id != owner._read_attribute(reflection.foreign_key) end def replace_keys(record) owner[reflection.foreign_key] = record._read_attribute(reflection.association_primary_key(record.class)) end def remove_keys owner[reflection.foreign_key] = nil end def foreign_key_present? owner._read_attribute(reflection.foreign_key) end # NOTE - for now, we're only supporting inverse setting from belongs_to back onto # has_one associations. def invertible_for?(record) inverse = inverse_reflection_for(record) inverse && inverse.has_one? end def target_id if options[:primary_key] owner.send(reflection.name).try(:id) else owner._read_attribute(reflection.foreign_key) end end def stale_state result = owner._read_attribute(reflection.foreign_key) result && result.to_s end def counter_cache_available_in_memory?(counter_cache_name) target.respond_to?(counter_cache_name) end end end end
jsonp({"cep":"79816035","logradouro":"Rua Projetada 14 CV","bairro":"Sitiocas Campina Verde","cidade":"Dourados","uf":"MS","estado":"Mato Grosso do Sul"});
// Copyright (C) 2009 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.gerrit.sshd.commands; import static com.google.gerrit.sshd.CommandMetaData.Mode.MASTER_OR_SLAVE; import com.google.common.base.MoreObjects; import com.google.gerrit.common.TimeUtil; import com.google.gerrit.extensions.restapi.AuthException; import com.google.gerrit.server.IdentifiedUser; import com.google.gerrit.server.config.ConfigResource; import com.google.gerrit.server.config.ListTasks; import com.google.gerrit.server.config.ListTasks.TaskInfo; import com.google.gerrit.server.git.WorkQueue.Task; import com.google.gerrit.sshd.AdminHighPriorityCommand; import com.google.gerrit.sshd.CommandMetaData; import com.google.gerrit.sshd.SshCommand; import com.google.inject.Inject; import org.apache.sshd.server.Environment; import org.kohsuke.args4j.Option; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; /** Display the current work queue. */ @AdminHighPriorityCommand @CommandMetaData(name = "show-queue", description = "Display the background work queues", runsAt = MASTER_OR_SLAVE) final class ShowQueue extends SshCommand { @Option(name = "--wide", aliases = {"-w"}, usage = "display without line width truncation") private boolean wide; @Inject private ListTasks listTasks; @Inject private IdentifiedUser currentUser; private int columns = 80; private int taskNameWidth; @Override public void start(Environment env) throws IOException { String s = env.getEnv().get(Environment.ENV_COLUMNS); if (s != null && !s.isEmpty()) { try { columns = Integer.parseInt(s); } catch (NumberFormatException err) { columns = 80; } } super.start(env); } @Override protected void run() throws UnloggedFailure { taskNameWidth = wide ? Integer.MAX_VALUE : columns - 8 - 12 - 12 - 4 - 4; stdout.print(String.format("%-8s %-12s %-12s %-4s %s\n", // "Task", "State", "StartTime", "", "Command")); stdout.print("----------------------------------------------" + "--------------------------------\n"); try { List<TaskInfo> tasks = listTasks.apply(new ConfigResource()); long now = TimeUtil.nowMs(); boolean viewAll = currentUser.getCapabilities().canViewQueue(); for (TaskInfo task : tasks) { String start; switch (task.state) { case DONE: case CANCELLED: case RUNNING: case READY: start = format(task.state); break; case OTHER: case SLEEPING: default: start = time(now, task.delay); break; } // Shows information about tasks depending on the user rights if (viewAll || task.projectName == null) { String command = task.command.length() < taskNameWidth ? task.command : task.command.substring(0, taskNameWidth); stdout.print(String.format("%8s %-12s %-12s %-4s %s\n", task.id, start, startTime(task.startTime), "", command)); } else { String remoteName = task.remoteName != null ? task.remoteName + "/" + task.projectName : task.projectName; stdout.print(String.format("%8s %-12s %-4s %s\n", task.id, start, startTime(task.startTime), MoreObjects.firstNonNull(remoteName, "n/a"))); } } stdout.print("----------------------------------------------" + "--------------------------------\n"); stdout.print(" " + tasks.size() + " tasks\n"); } catch (AuthException e) { throw die(e); } } private static String time(long now, long delay) { Date when = new Date(now + delay); return format(when, delay); } private static String startTime(final Date when) { return format(when, TimeUtil.nowMs() - when.getTime()); } private static String format(Date when, long timeFromNow) { if (timeFromNow < 24 * 60 * 60 * 1000L) { return new SimpleDateFormat("HH:mm:ss.SSS").format(when); } return new SimpleDateFormat("MMM-dd HH:mm").format(when); } private static String format(Task.State state) { switch (state) { case DONE: return "....... done"; case CANCELLED: return "..... killed"; case RUNNING: return ""; case READY: return "waiting ...."; case SLEEPING: return "sleeping"; case OTHER: default: return state.toString(); } } }
<?php // Render XML Maps $html->xml_map($core->ixEngine(), $core->ixCmd(), $core->ixCluster()); ?>
Poll Hours: 8:00 a.m. - 8:00 p.m. Saturday(s) 9:00 A.M. - 12:00 P.M. January 1st, 2019 - First day to request an absentee ballot by Military or Overseas Voter. January 20th, 2019 - First day to issue petitions for the City of Sweetwater Election. March 15th, 2019 - First day to request an absentee ballot (Non-Military or Overseas Voter) for the City of Sweetwater Election. March 21st, 2019 - Qualifying deadline for candidates to file petitions by 12:00 p.m. NOON for the City of Sweetwater Election. March 28th, 2019 - Withdrawal deadline for candidates by 12:00 p.m. NOON for the City of Sweetwater Election. May 14th, 2019 - Last day to register to vote for the City of Sweetwater Election. June 6th, 2019 - Last day to request an absentee ballot for the City of Sweetwater Election. June 13th, 2019 - Election Day for the City of Sweetwater.
Pulp ART (aka Emir Orucevic) has made a name for himself with his “cut paper” style book covers, emanating Saul Bass’ iconic look and the retro styles of the ’60s and ’70s. His signature style has captivated hundreds of authors and publishers. Today he’s the founder of Pulp Studio, where he works as a full time freelancer focused on book covers, posters and logo design. As a member of 99designs, Pulp ART has won an impressive 100 contests and brought in plenty more 1-to-1 Projects to date. We chatted with him about his creative career, how to choose the right client and his clear passion for crime thrillers. Tell us little about yourself. My name is Emir Orucevic. I am 31 years old and I come from Sarajevo (Seher), Bosnia and Herzegovina. How did you get started in book cover design? I do lots of other stuff related to design, but when I started with books it was a game changer for me. I just felt like this is the stuff I really enjoy most, and that I really wanna stick with it. Do you work full time as a graphic designer? Where? Yes, design only. The best part of this job is working from home, the office, the beach… you name it. How has 99designs affected your creative career? 99designs definitely opened many doors for me. It helped me a lot to improve my skills, pushing me to do better and better every single day. Having clients from all around the world is something I am really proud of, and this platform helped me achieve that. What’s your favorite book genre to design for? Crime thrillers… That’s the best way to express myself and create something unique. What’s a favorite project that you’ve worked on? I can’t just pick one. There is plenty stuff I have done in the past few years, and I love all of them in some sort of way. Same goes for clients. You have a distinct design style. Where do you draw your inspiration from? Thank you! I am huge fan of Saul Bass and his creative work. My main inspiration comes from old movie posters, or anything related to 1960s, ’70s and 80s. All that stuff I try to incorporate in my covers and create something different; something that pops and wins. What do you think is the most challenging part of designing a book cover? Clients. If the client knows what he or she wants, then you are on the right path to deliver that. My advice: just do it with love or not at all. That is the only way to achieve something in life. “To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.” — Ralph Waldo Emerson. Want to work with Pulp ART?
Perlu Editors are leaders in their categories. For brands, they’re experts that can advise on winning campaigns. For influencers, they’re where to start for networking and partnerships.
using System; namespace Ojibwe.DataAccess.Redis.Models { [Serializable] public class ModelBase { public Guid Id { get; set; } } }
Molly Crabapple (Drawing Blood) returns to The Last Bookstore on Thursday, May 17th at 7:30 PM to present and discuss Brothers of the Gun: A Memoir of the Syrian War, which she illustrated and co-authored with Marwan Hisham. A bracingly immediate memoir by a young man coming of age during the Syrian war, Brothers of the Gun is an intimate lens on the century’s bloodiest conflict and a profound meditation on kinship, home, and freedom. She’ll be in conversation with Matt Pearce. Molly Crabapple, an artist and writer based in New York, has drawn in Guantanamo Bay, in Abu Dhabi’s migrant labor camps, and with rebels in Syria, and received widespread praise for her illustrated memoir Drawing Blood. Crabapple is a contributing editor for Vice and has written for The New York Times, The Paris Review, and Vanity Fair. Her work is in the permanent collection of the Museum of Modern Art.
package de.rainu.restcommander.config; import de.rainu.restcommander.process.LinuxProcessManager; import de.rainu.restcommander.process.ProcessManager; import org.junit.Test; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import static org.junit.Assert.assertTrue; public class ProcessConfigTest { @Test public void processManager_linux(){ final ProcessManager result = new ProcessConfig().processManager("linux"); assertTrue(result instanceof LinuxProcessManager); } @Test(expected = NoSuchBeanDefinitionException.class) public void processManager_other(){ new ProcessConfig().processManager("windows"); } }
/* * org.openmicroscopy.shoola.env.ui.TaskBarImpl * *------------------------------------------------------------------------------ * Copyright (C) 2006-2013 University of Dundee. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * *------------------------------------------------------------------------------ */ package org.openmicroscopy.shoola.env.ui; //Java imports import java.awt.Component; import java.awt.Dimension; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import javax.swing.AbstractButton; import javax.swing.BorderFactory; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JPanel; import javax.swing.JSeparator; import javax.swing.JToolBar; import javax.swing.event.MenuKeyListener; import javax.swing.event.MenuListener; //Third-party libraries import org.apache.commons.lang.StringUtils; //Application-internal dependencies import org.openmicroscopy.shoola.util.ui.UIUtilities; /** * The view component of the {@link TaskBar}. * This is just a dummy UI which is controlled by the {@link TaskBarManager}. * * @author Jean-Marie Burel &nbsp;&nbsp;&nbsp;&nbsp; * <a href="mailto:[email protected]">[email protected]</a> * @author <br>Andrea Falconi &nbsp;&nbsp;&nbsp;&nbsp; * <a href="mailto:[email protected]"> * [email protected]</a> * @version 2.2 * @since OME2.2 */ class TaskBarView extends JFrame implements TaskBar { //NOTE: We make no assumption on the order in which entries are added/removed //and when this happens. We don't even impose a sort of internal order. As a //result, the variuos menus and toolbars might look different across time. //Moreover, even if all agents always add their entries during the linking //phase, reordering the agent tags in the configuration file would lead to //a different order in which agents are linked by the container, which, in //turn, would result in a different order in which entries are added to the //menus/toolbars. /** Identifies the exit menu item within the file menu. */ static final int EXIT_MI = 0; /** * Identifies the connect to <i>OMEDS</i> menu item within the connect menu. */ static final int CONNECT_MI = 1; /** * Identifies the disconnect from <i>OMEDS</i> menu item within the * connect menu. */ static final int DISCONNECT_MI = 2; /** Identifies the welcome menu item within the help menu. */ static final int WELCOME_MI = 3; /** Identifies the help contents menu item within the help menu. */ static final int HELP_MI = 4; /** Identifies the how-to menu item within the help menu. */ static final int HOWTO_MI = 5; /** Identifies the software updates menu item within the help menu. */ static final int UPDATES_MI = 6; /** Identifies the about menu item within the help menu. */ static final int ABOUT_MI = 7; /** Identifies the exit button within the tool bar. */ static final int EXIT_BTN = 8; /** Identifies the connect to <i>OMEDS</i> button within the tool bar. */ static final int CONNECT_BTN = 9; /** * Identifies the disconnect from <i>OMEDS</i> button within the tool bar. */ static final int DISCONNECT_BTN = 10; /** Identifies the help button within the tool bar. */ static final int HELP_BTN = 11; /** Identifies the comment menu item within the help menu. */ static final int COMMENT_MI = 12; /** Identifies the help contents menu item within the help menu. */ static final int FORUM_MI = 13; /** Identifies the activity menu item within the windows menu. */ static final int ACTIVITY_MI = 14; /** Identifies the log file location menu item within the windows menu. */ static final int LOG_FILE_MI = 15; /** * The maximum id of the buttons and menu items identifiers. * Allows to size the {@link #buttons} array correctly. */ private static final int MAX_ID = 15; /** The title of the frame. */ private static final String TITLE = "Open Microscopy Environment"; /** * All the button-like objects used by this view. * These are all the menu items within the various menus in the menu bar * and all icon buttons within the tool bar. * We do direct indexing on this array by using the constants specified by * this class. */ private AbstractButton[] buttons; /** * The menus specified by {@link TaskBar}. * We do direct indexing on this array by using the constants specified by * {@link TaskBar}. */ private JMenu[] menus; /** Cached reference to the {@link IconManager} singleton.*/ private IconManager iconManager; /** Collection of the copy of the window menu. */ private Set<JMenu> windowMenus; /** Collection of the copy of the window menu. */ private Set<JMenu> helpMenus; /** Collection of available menu bars. */ private Set<JMenuBar> menubars; /** The original menu bar. */ private JMenuBar originalBar; /** Reference to the manager. */ private TaskBarManager manager; /** The bars hosting the components to register.*/ private Map<Integer, List<JComponent>> bars; /** * Returns a copy of the <code>Help</code> menu. * * @return See above. */ private JMenu getHelpMenu() { JMenu menu = createHelpMenu(); Component[] comps = menus[HELP_MENU].getPopupMenu().getComponents(); for (int i = 0; i < comps.length; i++) { if (comps[i] instanceof JMenu) menu.add(copyItemsFromMenu((JMenu) comps[i])); else if (comps[i] instanceof JMenuItem) menu.add(copyItem((JMenuItem) comps[i])); else if (comps[i] instanceof JSeparator) menu.add(new JSeparator(JSeparator.HORIZONTAL)); } helpMenus.add(menu); return menu; } /** * Returns a copy of the <code>Windows</code> menu. * * @return See above. */ private JMenu getWindowsMenu() { JMenu menu = createWindowMenu(); Component[] comps = menus[WINDOW_MENU].getPopupMenu().getComponents(); for (int i = 0; i < comps.length; i++) { if (comps[i] instanceof JMenu) menu.add(copyItemsFromMenu((JMenu) comps[i])); else if (comps[i] instanceof JMenuItem) menu.add(copyItem((JMenuItem) comps[i])); } windowMenus.add(menu); return menu; } /** * Helper method to create all menu items for the various menus within * the menu bar. */ private void createMenuItems() { buttons[EXIT_MI] = new JMenuItem("Exit", iconManager.getIcon(IconManager.EXIT)); buttons[CONNECT_MI] = new JMenuItem("Connect to OMEDS", iconManager.getIcon(IconManager.CONNECT_DS)); buttons[DISCONNECT_MI] = new JMenuItem("Disconnect from OMEDS", iconManager.getIcon(IconManager.DISCONNECT_DS)); buttons[WELCOME_MI] = new JMenuItem("Welcome...", iconManager.getIcon(IconManager.WELCOME)); buttons[HELP_MI] = new JMenuItem("Help Contents", iconManager.getIcon(IconManager.HELP)); buttons[HOWTO_MI] = new JMenuItem("How To...", iconManager.getIcon(IconManager.HOW_TO)); String aboutName = "About "+manager.getSoftwareName()+"..."; buttons[UPDATES_MI] = new JMenuItem(aboutName, iconManager.getIcon(IconManager.SW_UPDATES)); buttons[ABOUT_MI] = new JMenuItem("About OMERO", IconManager.getOMEIcon()); buttons[COMMENT_MI] = new JMenuItem("Send Feedback...", iconManager.getIcon(IconManager.COMMENT)); buttons[FORUM_MI] = new JMenuItem("Forum", iconManager.getIcon(IconManager.FORUM)); buttons[LOG_FILE_MI] = new JMenuItem("Show Log File", iconManager.getIcon(IconManager.LOG_FILE)); buttons[ACTIVITY_MI] = new JMenuItem("Activities...", iconManager.getIcon(IconManager.ACTIVITY)); } /** * Copies the items from the specified menu and creates a new menu. * * @param original The menu to handle. * @return See above. */ private JMenu copyItemsFromMenu(JMenu original) { Component[] comps = original.getPopupMenu().getComponents(); JMenu menu = new JMenu(); menu.setText(original.getText()); menu.setToolTipText(original.getToolTipText()); ActionListener[] al = original.getActionListeners(); for (int j = 0; j < al.length; j++) menu.addActionListener(al[j]); MenuKeyListener[] mkl = original.getMenuKeyListeners(); for (int j = 0; j < mkl.length; j++) menu.addMenuKeyListener(mkl[j]); MenuListener[] ml = original.getMenuListeners(); for (int j = 0; j < ml.length; j++) menu.addMenuListener(ml[j]); for (int i = 0; i < comps.length; i++) { if (comps[i] instanceof JMenu) { menu.add(copyItemsFromMenu((JMenu) comps[i])); } else if (comps[i] instanceof JMenuItem) { menu.add(copyItem((JMenuItem) comps[i])); } else if (comps[i] instanceof JSeparator) { menu.add(new JSeparator(JSeparator.HORIZONTAL)); } } return menu; } /** * Makes and returns a copy of the specified item. * * @param original The item to handle. * @return See above. */ private JMenuItem copyItem(JMenuItem original) { JMenuItem item = new JMenuItem(original.getAction()); item.setIcon(original.getIcon()); item.setText(original.getText()); item.setToolTipText(original.getToolTipText()); ActionListener[] al = original.getActionListeners(); for (int j = 0; j < al.length; j++) item.addActionListener(al[j]); return item; } /** * Helper method to create the file menu. * * @return The file menu. */ private JMenu createFileMenu() { JMenu file = new JMenu("File"); file.setMnemonic(KeyEvent.VK_F); return file; } /** * Helper method to create the window menu. * * @return The window menu. */ private JMenu createWindowMenu() { JMenu window = new JMenu("Window"); window.setMnemonic(KeyEvent.VK_W); window.add(buttons[ACTIVITY_MI]); return window; } /** * Helper method to create the help menu. * * @return The help menu. */ private JMenu createHelpMenu() { JMenu help = new JMenu("Help"); help.setMnemonic(KeyEvent.VK_H); help.add(buttons[HELP_MI]); help.add(buttons[FORUM_MI]); help.add(buttons[COMMENT_MI]); help.add(new JSeparator(JSeparator.HORIZONTAL)); help.add(buttons[LOG_FILE_MI]); help.add(buttons[UPDATES_MI]); return help; } /** * Helper method to create the menu bar. * * @return The menu bar. */ private JMenuBar createMenuBar() { createMenuItems(); menus[FILE_MENU] = createFileMenu(); menus[WINDOW_MENU] = createWindowMenu(); menus[HELP_MENU] = createHelpMenu(); JMenuBar bar = new JMenuBar(); for (int i = 0; i < menus.length; ++i) bar.add(menus[i]); return bar; } /** Helper method to create all buttons for the main toolbar. */ private void createButtons() { buttons[CONNECT_BTN] = new JButton( iconManager.getIcon(IconManager.CONNECT_DS)); buttons[CONNECT_BTN].setToolTipText( UIUtilities.formatToolTipText("Connect to OMERO.")); buttons[DISCONNECT_BTN] = new JButton( iconManager.getIcon(IconManager.DISCONNECT_DS)); buttons[DISCONNECT_BTN].setToolTipText( UIUtilities.formatToolTipText("Disconnect from OMERO.")); buttons[HELP_BTN] = new JButton(iconManager.getIcon(IconManager.HELP)); buttons[HELP_BTN].setToolTipText( UIUtilities.formatToolTipText("Bring up help contents.")); buttons[EXIT_BTN] = new JButton(iconManager.getIcon(IconManager.EXIT)); buttons[EXIT_BTN].setToolTipText( UIUtilities.formatToolTipText("Exit the application.")); } /** * Helper method to create an empty, floatable toolbar with rollover * effect for the icon buttons and an etched border. * * @return See above. */ private JToolBar createToolBar() { JToolBar bar = new JToolBar(); bar.setBorder(BorderFactory.createEtchedBorder()); bar.setFloatable(false); bar.putClientProperty("JToolBar.isRollover", Boolean.valueOf(true)); return bar; } /** * Helper method to create the window's toolbars panel. * This panel contains all the predefined toolbars (file, connect, and * help) as well as those specified by {@link TaskBar}. * * @return The window's toolbars panel. */ private JPanel createToolBarsPanel() { createButtons(); JToolBar file = createToolBar(), connect = createToolBar(), help = createToolBar(); file.add(buttons[EXIT_BTN]); connect.add(buttons[CONNECT_BTN]); connect.add(buttons[DISCONNECT_BTN]); help.add(buttons[HELP_BTN]); JPanel bars = new JPanel(), outerPanel = new JPanel(); bars.setBorder(null); bars.setLayout(new BoxLayout(bars, BoxLayout.X_AXIS)); bars.add(file); bars.add(connect); bars.add(help); outerPanel.setBorder(null); outerPanel.setLayout(new BoxLayout(outerPanel, BoxLayout.X_AXIS)); outerPanel.add(bars); outerPanel.add(Box.createRigidArea(new Dimension(100, 16))); outerPanel.add(Box.createHorizontalGlue()); return outerPanel; } /** Builds and lays out the UI. */ private void buildGUI() { setIconImage(IconManager.getOMEImageIcon()); originalBar = createMenuBar(); menubars.add(originalBar); createToolBarsPanel(); } /** * Creates and returns a copy of the original menu bar. * * @return See above. */ private JMenuBar copyMenuBar() { JMenuBar bar = new JMenuBar(); JMenu menu, copy; for (int i = 0; i < originalBar.getMenuCount(); i++) { menu = originalBar.getMenu(i); copy = copyItemsFromMenu(menu); bar.add(copy); if (menu == menus[WINDOW_MENU]) windowMenus.add(copy); else if (menu == menus[HELP_MENU]) helpMenus.add(copy); } return bar; } /** * Creates a new instance. * * @param manager Reference to the manager. * @param im The {@link IconManager} singleton that we use to retrieve * the various icons. */ TaskBarView(TaskBarManager manager, IconManager im) { super(TITLE); this.manager = manager; buttons = new AbstractButton[MAX_ID+1]; menus = new JMenu[3]; iconManager = im; windowMenus = new HashSet<JMenu>(); helpMenus = new HashSet<JMenu>(); menubars = new HashSet<JMenuBar>(); bars = new HashMap<Integer, List<JComponent>>(); buildGUI(); } /** * Returns the specified icon button or menu item. * * @param id Identifies the button or menu item. Must be one of the * constants defined by this class. * @return See above. */ AbstractButton getButton(int id) { //Don't check this is only meant to be used by the TaskBarManager. return buttons[id]; } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#addToMenu(int, JMenuItem) */ public void addToToolBar(int toolBarID, JComponent entry) { if (entry == null) return; //Check if tool bar id is supported switch (toolBarID) { case AGENTS: case ANALYSIS: break; default: return; } List<JComponent> list = bars.get(toolBarID); if (list == null) { list = new ArrayList<JComponent>(); bars.put(toolBarID, list); } list.add(entry); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#getToolBarEntries(int) */ public List<JComponent> getToolBarEntries(int toolBarID) { return bars.get(toolBarID); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#addToMenu(int, JMenuItem) */ public void addToMenu(int menuID, JMenuItem entry) { if (menuID < 0 || menus.length <= menuID) throw new IllegalArgumentException("Invalid menu id: "+menuID+"."); if (entry == null) throw new NullPointerException("No entry"); menus[menuID].add(entry); Iterator<JMenu> i; JMenu menu; if (menuID == WINDOW_MENU) { i = windowMenus.iterator(); while (i.hasNext()) { menu = i.next(); if (entry instanceof JMenu) menu.add(copyItemsFromMenu((JMenu) entry)); else menu.add(copyItem(entry)); } } else if (menuID == HELP_MENU) { i = helpMenus.iterator(); while (i.hasNext()) { menu = i.next(); if (entry instanceof JMenu) menu.add(copyItemsFromMenu((JMenu) entry)); else menu.add(copyItem(entry)); } } } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#removeFromMenu(int, JMenuItem) */ public void removeFromMenu(int menuID, JMenuItem entry) { if (menuID < 0 || menus.length <= menuID) throw new IllegalArgumentException("Invalid menu id: "+menuID+"."); Iterator<JMenu> i; JMenu menu; Component[] comps; Component c; if (menuID == WINDOW_MENU && entry instanceof JMenu) { i = windowMenus.iterator(); //tmp solution to remove item from the copy of the windows menu. while (i.hasNext()) { menu = i.next(); comps = menu.getPopupMenu().getComponents(); for (int j = 0; j < comps.length; j++) { c = comps[j]; if (c instanceof JMenu) { if (((JMenu) c).getText().equals(entry.getText())) menu.remove(c); } } } } else if (menuID == HELP_MENU && entry instanceof JMenu) { i = helpMenus.iterator(); //tmp solution to remove item from the copy of the windows menu. while (i.hasNext()) { menu = i.next(); comps = menu.getPopupMenu().getComponents(); for (int j = 0; j < comps.length; j++) { c = comps[j]; if (c instanceof JMenu) { if (((JMenu) c).getText() == entry.getText()) { menu.remove(c); } } } } } menus[menuID].remove(entry); } /** * Overridden so that the task bar is never brought up on screen. * @see JFrame#setVisible(boolean) */ public void setVisible(boolean b) { super.setVisible(false); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#getFrame() */ public JFrame getFrame() { return this; } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#getTaskBarMenuBar() */ public JMenuBar getTaskBarMenuBar() { return copyMenuBar(); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#getMenu(int) */ public JMenu getMenu(int menuID) { switch (menuID) { case HELP_MENU: return getHelpMenu(); case WINDOW_MENU: return getWindowsMenu(); case FILE_MENU: return menus[FILE_MENU]; } return null; } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#getCopyMenuItem(int) */ public JMenuItem getCopyMenuItem(int index) { switch (index) { case TaskBar.COMMENT: return copyItem((JMenuItem) buttons[COMMENT_MI]); case TaskBar.HELP_CONTENTS: return copyItem((JMenuItem) buttons[HELP_MI]); default: return null; } } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#login() */ public boolean login() { return manager.login(); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#openURL(String) */ public void openURL(String path) { if (StringUtils.isEmpty(path)) return; manager.openURL(path); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#sessionExpired(int) */ public void sessionExpired(int index) { manager.sessionExpired(index); } /** * Implemented as specified by {@link TaskBar}. * @see TaskBar#getLibFileRelative(String) */ public String getLibFileRelative(String file) { return manager.getLibFileRelative(file); } }
Electrocardiography is the recording of the electrical activity of the cardiac impulse-conducting system as detected by electrodes properly arranged on the body. ECG is used to examine the heart’s function and diagnose disorders such as myocardial infarction. Electrocardiogram is a graphic tracing of the variations in electrical potential caused by the excitation of the heart muscle. Electroencephalography (EEG) is examining brain electrical activity with multiple electrodes properly arranged along the scalp. EEG measures voltage fluctuations which result from ionic current flows within the neurons of the brain and may be used to diagnose epilepsy and sleep disorders among other diseases. EEG is also used to examine feedback. Stimulation of nerves or muscles using electric impulses of required frequency, amplitude and time. TENS, EMS, and interferential stimulation are 3 main forms of electrostimulation. It is used to reduce both acute and chronic pain of different origins, in physical therapy in the prevention of disuse muscle atrophy, as adjunctive therapy in urinary incontinence, in treatment of circulatory disturbances. Medical procedures using direct current (galvanism) or alternating current to produce therapeutic effect. Iontophoresis (transcutaneous administration of a medication or bioactive agent as ions which under the influence of direct current migrate inside the body), galvanism and electrostimulation (elicitation of muscle contraction using electric impulses or nerves stimulation) are 3 main branches of electrotherapy. Electromyography (EMG) is a technique for evaluating the electrical activity produced by skeleton muscles and nerves. The information about muscles and nerves activity is collected with surface electrodes (surface EMG) or needle electrodes/needles containing two fine-wires electrodes (intramuscular EMG). Electromyography signals may be used to determine whether muscle disturbances are of muscular or nervous origin. An instrument for measuring the amount of work done by human muscles. Bike and rowing ergometers are most frequently used.
/******************************************************************************* moTypes.h **************************************************************************** * * * This source is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This code is distributed in the hope that it will be useful, but * * WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * General Public License for more details. * * * * A copy of the GNU General Public License is available on the World * * Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also * * obtain it by writing to the Free Software Foundation, * * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * * **************************************************************************** Copyright(C) 2006 Fabricio Costa Authors: Fabricio Costa *******************************************************************************/ //types definidos #ifndef __MOTYPES_H #define __MOTYPES_H //para evitar warnings sobre funciones obsoletas #pragma once #define _CRT_SECURE_NO_DEPRECATE 1 #define _CRT_NONSTDC_NO_DEPRECATE 1 /*OS SELECT*/ #if defined(__APPLE__) #undef MO_MACOSX #define MO_MACOSX 1 #elif defined(macintosh) #undef MO_MACOS #define MO_MACOS 1 #endif #if defined(linux) || defined(__linux) || defined(__linux__) #undef MO_LINUX #define MO_LINUX 1 #endif #if defined(WIN32) || defined(_WIN32) #undef MO_WIN32 #define MO_WIN32 1 #endif /*STANDARD LIBRARIES: define here or die*/ #ifdef MO_WIN32 #ifndef _MSC_VER //atencion, esto se agreg� para evitar el conflicto con freeimage en mingw #define NOGDI //comentar esta l�nea con MinGW64?? //#undef _WINDOWS_ #define MO_GSTREAMER #define MO_HANDLE HWND #define MO_DISPLAY void* #endif #endif #undef SHADER_CG #include <math.h> #include <limits.h> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <float.h> #include <time.h> #include <string> #include <vector> #include <fstream> using namespace std; /*MOLDEO SETUP DEFINITIONS*/ #define USE_GL_EXTENSIONS //#define USE_QUICKTIME //#define USE_SDLIMAGE #define USE_FREEIMAGE #define USE_MOTEXT0 /*OS DEFINITIONS*/ #ifdef MO_WIN32 #ifdef LIBMOLDEO_EXPORTS #define LIBMOLDEO_API __declspec(dllexport) #else #define LIBMOLDEO_API __declspec(dllimport) #endif #else #define LIBMOLDEO_API #endif /*OSX*/ #ifdef MO_MACOSX //#include <X11/X.h> #define MO_HANDLE void* //revisar esto!!! para Mac OSX #define MO_DISPLAY void* /* #include "SDL.h" #include "SDL_thread.h" #include "SDL_mutex.h" #include "SDL_net.h" #include "SDL_image.h" //#include "QuickTime.h" */ #ifdef USE_GL_EXTENSIONS // GLEW provides gl.h, glu.h and glext.h #include <GL/glew.h> #else #include "OpenGL/gl.h" #include "OpenGL/glu.h" #include "OpenGL/glext.h" #endif #include "GLUT/glut.h" #define MO_GSTREAMER 1 # ifndef __int64 # define __int64 long long # endif # ifndef _int64 # define _int64 __int64 # endif #define moint64 __int64 typedef __int16_t moWord; typedef __int32_t moDWord; //#include <assert.h> #endif /*LINUX*/ #ifdef MO_LINUX #include "X11/X.h" #include "X11/Xlib.h" #include "X11/Xutil.h" #define MO_HANDLE Window #define MO_DISPLAY void* /* #include <SDL/SDL.h> #include <SDL/SDL_thread.h> #include <SDL/SDL_mutex.h> #include <SDL/SDL_net.h> #include <SDL/SDL_image.h> #include <SDL/SDL_syswm.h> */ #ifdef USE_GL_EXTENSIONS // GLEW provides gl.h, glu.h and glext.h #include <GL/glew.h> #include <GL/glx.h> #else #include <GL/gl.h> #include <GL/glu.h> #include <GL/glext.h> #include <GL/glx.h> #endif #include <GL/glut.h> #define MO_GSTREAMER 1 # ifndef __int64 # define __int64 long long # endif # ifndef _int64 # define _int64 __int64 # endif #define moint64 __int64 typedef __int16_t moWord; typedef __int32_t moDWord; #endif /*WINDOWS*/ #ifdef MO_WIN32 /*VISUAL C++ COMPILER*/ #ifdef _MSC_VER #define MO_HANDLE HWND #define MO_DISPLAY void* #define MO_USING_VC // Microsoft Visual C++ specific pragmas. MSVC6 is version 12.00, MSVC7.0 is // version 13.00, and MSVC7.1 is version 13.10. MSVC8.0 is version 14.00. #if _MSC_VER < 1300 #define MO_USING_VC6 #elif _MSC_VER < 1310 #define MO_USING_VC70 #elif _MSC_VER < 1400 #define MO_USING_VC71 #else #define MO_USING_VC80 #endif // Disable the warning "non dll-interface class FOO used as base for // dll-interface class BAR.". //#pragma warning( disable : 4275 ) // Disable the warning about truncating the debug names to 255 characters. // This warning shows up often with STL code in MSVC6, but not MSVC7. #pragma warning( disable : 4786 ) // This warning is disabled because MSVC6 warns about not finding // implementations for the pure virtual functions that occur in the template // classes 'template <class Real>' when explicitly instantiating the classes. // NOTE: If you create your own template classes that will be explicitly // instantiated, you should re-enable the warning to make sure that in fact // all your member data and functions have been defined and implemented. #pragma warning( disable : 4661 ) #define MO_DIRECTSHOW #endif #define WIN32_LEAN_AND_MEAN #include <windows.h> /* #include <SDL.h> #include <SDL_thread.h> #include <SDL_mutex.h> #include <SDL_syswm.h> */ #ifdef USE_QUICKTIME //#define TARGET_API_MAC_CARBON 0 //#define TARGET_OS_WIN32 1 //#define TARGET_CPU_X86 1 //#define FUNCTION_DECLSPEC 1 //#define FUNCTION_WIN32CC 1 //#define PHYSICAL_ADDRESS LARGE_INTEGER #endif #ifdef USE_GL_EXTENSIONS // GLEW provides gl.h, glu.h and glext.h #include <GL/glew.h> #else #include "GL/gl.h" #include "GL/glu.h" #include "GL/glext.h" #endif #include "GL/glut.h" //basetyps.h # ifndef _int64 # define _int64 __int64 # endif #define moint64 __int64 typedef __int16 moWord; typedef __int32 moDWord; //#define assert(X) {} #endif /*CONSTANTS DEFINITIONS*/ #define MO_PI 3.1415926535897932384626433832795f #define MO_ON 1 #define MO_OFF -1 #define MO_ACTIVATED 1 #define MO_DEACTIVATED -1 #define MO_FALSE 0 #define MO_TRUE 1 #define MO_PRESSED 1 #define MO_PULSED 1 #define MO_RELEASED 0 #define MO_SUCCESS 0 #define MO_NOERROR 0 #define MO_ERROR 65535 #define MO_FAIL 65535 #define MO_UNDEFINED -1 #define MO_MAX_DEBUG 4096 #define MO_MAX_TEXTURAS 512 #define MO_MAX_MODELOS 256 #define MOboolean GLuint #define MOswitch signed char #define MOuint GLuint #define MOint GLint #define MOint64 moint64 #define MOuint64 unsigned moint64 #define MOlong long #define MOulong unsigned long #define MOlonglong moint64 #define MOulonglong unsigned moint64 #define MOword moWord #define MOdword moDWord #define MOchar char #define MOuchar unsigned char #define MOubyte unsigned char #define MObyte char #define MOshort short #define MOushort unsigned short #define MOfloat GLfloat #define MOdouble GLdouble #define MOtexture GLuint #define MOefectoid GLuint #define MOpointer void* #define MOaccion int #define MOdevcode int #define MO_DEF_SCREEN_WIDTH 800 #define MO_DEF_SCREEN_HEIGHT 600 #define MO_DEF_RENDER_WIDTH 800 #define MO_DEF_RENDER_HEIGHT 600 #define MO_DEF_SCREEN_DEPTH 32 #define MO_RENDER_TEX 0 #define MO_SCREEN_TEX 1 #define MO_EFFECTS_TEX 2 #define MO_FINAL_TEX 3 //3D STEREOSCOPIC RENDER #define MO_LEFT_TEX 4 #define MO_RIGHT_TEX 5 #define MO_MAX_PRESETS 9 #define MO_DEBUG #define OLD_CONFIG 0 ////////////////////////////////////////////////////// // Parametros mas comunes usados en varios Effects /// ////////////////////////////////////////////////////// #ifndef MO_RED #define MO_RED 0 #define MO_GREEN 1 #define MO_BLUE 2 #define MO_ALPHA 3 #endif /// Modos de combinaci�n /** * Modos de combinaci�n predeterminados * Estos valores son referencias para los modos de combinaci�n de colores que suelen usarse y est�n ya implementados * bajo OpenGL a trav�s de la funci�n glBlend() */ enum moBlendingModes { MO_BLENDING_TRANSPARENCY = 0, /// transparencia MO_BLENDING_ADDITIVEALPHA = 1, /// aditivo seg�n transparencia MO_BLENDING_MIXING = 2, /// mezcla MO_BLENDING_MULTIPLY = 3, /// multipliaci�n MO_BLENDING_EXCLUSION = 4, /// exclusi�n MO_BLENDING_ADDITIVE = 5, /// aditivo por color MO_BLENDING_OVERLAY = 6, /// sobrecarga MO_BLENDING_SUBSTRACTIVE = 7, /// sustracci�n MO_BLENDING_SATURATE = 8, /// saturaci�n MO_BLENDINGS = 9 /// cantidad de modos }; /// Modos de dibujado de pol�gonos /** * Modos de dibujado de pol�gonos * Estos modos son aquellos predeterminados bajo OpenGL * */ enum moPolygonModes { MO_POLYGONMODE_FILL = 0, /// relleno MO_POLYGONMODE_LINE = 1, /// s�lo l�neas MO_POLYGONMODE_POINT = 2, /// s�lo puntos MO_POLYGONMODES = 3 /// cantidad de modos }; /// Modo estereosc�pico /** * Modo estereosc�pico * Para la estereoscop�a se fijan estos modos */ enum moStereoSides { MO_STEREO_NONE = 0, MO_STEREO_LEFT = 1, MO_STEREO_RIGHT = 2 }; ////////////////////////////////////////////////////// ////////////////////////////////////////////////////// // Linux compatibility /// ////////////////////////////////////////////////////// #ifdef MO_LINUX # include "moPort.h" #endif #ifdef MO_MACOSX # include "moPort.h" #endif ////////////////////////////////////////////////////// LIBMOLDEO_API MOfloat morand(); LIBMOLDEO_API MOint moRand(MOint); LIBMOLDEO_API void HSVtoRGB(short,short,short,float*,float*,float*); /// Tipos de objetos en Moldeo /** * Definici�n y enumeraci�n de tipos de objetos en Moldeo * */ enum moMoldeoObjectType { MO_OBJECT_UNDEFINED = -1, /// Objeto indefinido MO_OBJECT_EFFECT = 0, /// Objeto dibujable, efecto ( efectos en el orden de dibujado ) MO_OBJECT_PREEFFECT = 1,/// Objeto dibujable, pre-efecto ( primeros efectos en el orden de dibujado ) MO_OBJECT_POSTEFFECT = 2,/// Objeto dibujable, post-efecto ( �lt�mos efectos en el orden de dibujado ) MO_OBJECT_MASTEREFFECT = 3,/// Objeto dibujable, efecto-maestro ( puede controlar otros efectos ) MO_OBJECT_IODEVICE = 4,/// Dispositivo de entrada/salida, t�picamente, interfaces humanas de IO y datos ( teclado, mouse, tableta, tcp, udp, serial ) MO_OBJECT_RESOURCE = 5,/// Recursos de datos, objetos, im�genes, videos y funcionalidades m�ltiples MO_OBJECT_CONSOLE = 6,/// Objeto principal de administraci�n y dibujado de objetos de Moldeo MO_OBJECT_TYPES = 7 /// referencia para la cantidad de tipos de objetos }; /// Par�metros internos de una textura /** * moTexParam * estructura que representa la parametrizaci�n de una textura en OPENGL */ struct LIBMOLDEO_API moTexParam { public: GLenum target; GLint internal_format; GLint min_filter; GLint mag_filter; GLint wrap_s; GLint wrap_t; }; /// Par�metros internos predeterminados de una textura /** * MODefTex2DParams * Par�metros internos predeterminados de una textura * * */ const moTexParam MODefTex2DParams = { GL_TEXTURE_2D, /// textura 2d GL_RGBA, /// 32 bits, rojo, verde, azul, opacidad GL_LINEAR, /// interpolaci�n de filtro lineal para el achicamiento GL_LINEAR, /// interpolaci�n de filtro lineal para el agrandamiento GL_REPEAT, /// modo de repetici�n en el orden horizontal GL_REPEAT /// modo de repetici�n en el orden vertical }; /// Par�metros internos predeterminados de una textura no identificados /** * MOUndefinedTex * Par�metros internos predeterminados de una textura no identificados * * */ const moTexParam MOUndefinedTex = { 0, MO_UNDEFINED, MO_UNDEFINED, MO_UNDEFINED, MO_UNDEFINED, MO_UNDEFINED }; ///Devuelve la versi�n de libmoldeo /** * Funci�n global que devuelve en formato texto la versi�n utilizada de libmoldeo, el �n�cleo de Moldeo. */ #include "moText.h" LIBMOLDEO_API moText moGetVersionStr(); ///macros para m�ximos y m�nimos /** * macros para m�ximos y m�nimos */ #ifndef momax #define momax(a,b) (((a) > (b)) ? (a) : (b)) #define momin(a,b) (((a) < (b)) ? (a) : (b)) #endif #endif
// All symbols in the `Runic` script as per Unicode v10.0.0: [ '\u16A0', '\u16A1', '\u16A2', '\u16A3', '\u16A4', '\u16A5', '\u16A6', '\u16A7', '\u16A8', '\u16A9', '\u16AA', '\u16AB', '\u16AC', '\u16AD', '\u16AE', '\u16AF', '\u16B0', '\u16B1', '\u16B2', '\u16B3', '\u16B4', '\u16B5', '\u16B6', '\u16B7', '\u16B8', '\u16B9', '\u16BA', '\u16BB', '\u16BC', '\u16BD', '\u16BE', '\u16BF', '\u16C0', '\u16C1', '\u16C2', '\u16C3', '\u16C4', '\u16C5', '\u16C6', '\u16C7', '\u16C8', '\u16C9', '\u16CA', '\u16CB', '\u16CC', '\u16CD', '\u16CE', '\u16CF', '\u16D0', '\u16D1', '\u16D2', '\u16D3', '\u16D4', '\u16D5', '\u16D6', '\u16D7', '\u16D8', '\u16D9', '\u16DA', '\u16DB', '\u16DC', '\u16DD', '\u16DE', '\u16DF', '\u16E0', '\u16E1', '\u16E2', '\u16E3', '\u16E4', '\u16E5', '\u16E6', '\u16E7', '\u16E8', '\u16E9', '\u16EA', '\u16EE', '\u16EF', '\u16F0', '\u16F1', '\u16F2', '\u16F3', '\u16F4', '\u16F5', '\u16F6', '\u16F7', '\u16F8' ];
and Customers to more and more Orders. Finally an easy to understand CRM that can also connect to the rest of your business. Billing doesn't have to be painful! Tailor a Sales acquistion process to match your business. Foster great customer relations and develope new sales opportunities.
18 count white Aida, 240 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only. 18 count white Aida, 230 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only. 18 count white Aida, 302 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only. 18 count white Aida, 192 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only. 18 count white Aida, 197 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only. 18 count white Aida, 222 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only. 18 count white Aida, 281 full skeins of DMC stranded cotton threads, needle, chart & instruction sheet. Whole stitches only.
// Peripheral: SYSCFG_Periph System configuration controller. // Instances: // SYSCFG mmap.SYSCFG_BASE // Registers: // 0x00 32 MEMRMP Memory remap register. // 0x04 32 PMC Peripheral mode configuration register. // 0x08 32 EXTICR[4] External interrupt configuration registers. // 0x20 32 CMPCR Compensation cell control register. // Import: // stm32/o/f411xe/mmap package syscfg // DO NOT EDIT THIS FILE. GENERATED BY stm32xgen. const ( MEM_MODE MEMRMP = 0x03 << 0 //+ SYSCFG_Memory Remap Config. ) const ( MEM_MODEn = 0 ) const ( ADC1DC2 PMC = 0x01 << 16 //+ Refer to AN4073 on how to use this bit. ) const ( ADC1DC2n = 16 ) const ( EXTI0 EXTICR = 0x0F << 0 //+ EXTI 0 configuration. EXTI1 EXTICR = 0x0F << 4 //+ EXTI 1 configuration. EXTI2 EXTICR = 0x0F << 8 //+ EXTI 2 configuration. EXTI3 EXTICR = 0x0F << 12 //+ EXTI 3 configuration. EXTI0_PA EXTICR = 0x00 << 12 // PA[0] pin. EXTI0_PB EXTICR = 0x01 << 0 // PB[0] pin. EXTI0_PC EXTICR = 0x02 << 0 // PC[0] pin. EXTI0_PD EXTICR = 0x03 << 0 // PD[0] pin. EXTI0_PE EXTICR = 0x04 << 0 // PE[0] pin. EXTI0_PH EXTICR = 0x07 << 0 // PH[0] pin. EXTI1_PA EXTICR = 0x00 << 12 // PA[1] pin. EXTI1_PB EXTICR = 0x01 << 4 // PB[1] pin. EXTI1_PC EXTICR = 0x02 << 4 // PC[1] pin. EXTI1_PD EXTICR = 0x03 << 4 // PD[1] pin. EXTI1_PE EXTICR = 0x04 << 4 // PE[1] pin. EXTI1_PH EXTICR = 0x07 << 4 // PH[1] pin. EXTI2_PA EXTICR = 0x00 << 12 // PA[2] pin. EXTI2_PB EXTICR = 0x01 << 8 // PB[2] pin. EXTI2_PC EXTICR = 0x02 << 8 // PC[2] pin. EXTI2_PD EXTICR = 0x03 << 8 // PD[2] pin. EXTI2_PE EXTICR = 0x04 << 8 // PE[2] pin. EXTI2_PH EXTICR = 0x07 << 8 // PH[2] pin. EXTI3_PA EXTICR = 0x00 << 12 // PA[3] pin. EXTI3_PB EXTICR = 0x01 << 12 // PB[3] pin. EXTI3_PC EXTICR = 0x02 << 12 // PC[3] pin. EXTI3_PD EXTICR = 0x03 << 12 // PD[3] pin. EXTI3_PE EXTICR = 0x04 << 12 // PE[3] pin. EXTI3_PH EXTICR = 0x07 << 12 // PH[3] pin. ) const ( EXTI0n = 0 EXTI1n = 4 EXTI2n = 8 EXTI3n = 12 ) const ( CMP_PD CMPCR = 0x01 << 0 //+ Compensation cell ready flag. READY CMPCR = 0x01 << 8 //+ Compensation cell power-down. ) const ( CMP_PDn = 0 READYn = 8 )
This Distance Learning course will begin on June 8, 2019. The exam will take place in Chicago on Aug 17, 2019 at 5pm. Once you register for class, please send an email to [email protected] with your date of birth. The course includes a tasting & exam prep course day. This class will take place the day before the exam on Aug 16th from 1pm-5pm. The exam prep course day and the exam location is the Sofitel, 20 E. Chestnut Street, Chicago. American Wine School offers WSET classes in Cleveland, Chicago, Cincinnati, Columbus and Pittsburgh. Marianne Frantz explores Spanish wines at Cellar Door. Get American Wine School news, special events, class updates and more delivered right to your inbox.
All orders are dispatched within 2 business days. We ship using Australia Post with tracking and/or other reputable courier companies where delivery is quoted as being between 3 to 10 business days. All parcels sent within Australia will be charged a flat rate of $9.95 or FREE SHIPPING for orders over $75. We take the greatest of care when sending out orders however should you receive an order that is incorrect please email us with your order and what you incorrectly received within 24 hours of receiving your order to organise an exchange. For hygiene reasons we are unable to offer returns and refunds for change of mind on our skin care products.
Look out! It’s October again and animals are un-caged and dangerous! All throughout October, I’ll be reviewing horror movies that revolve entirely around animals gone bad. That’s right, Sharks, Bats, Spiders, Gorilla’s, Snakes and other animals are all on the loose and they’re going to be my main focus this Halloween, and what better film to kick off this month then one of Hollywood’s most iconic and treasured Horror movies, its Alfred Hitchcock’s 1963 classic “The Birds”. While there had been several animal attack movies before in the 50’s revolving around giant insects or giant spiders, this was the first that took audiences by total surprise and scared the hell out of them with a concept that no one could have imagined or ignored after they saw the film. The movie begins with a set up that really has nothing to do with the plot, it’s just a way to introduce us to the characters. Basically a woman named Melanie works at a local bird store and one day a customer named Mitch gets her attention. This guys a lawyer and decides to toy with her a little after watching her pull a prank in court. She immediately develops a crush on him and wants to get his attention by playing another joke on the guy involving a pair of caged love birds. She heads to Bodega Bay in California to leave him his surprise gift when she’s suddenly attacked buy a seagull. The incident doesn’t seem like that big a deal at first and it gives her an excuse to spend some quality time with Mitch and his family. Slowly but effectively, several other small incidents involving birds take place, and soon they begin attacking in full force. The feathered fiends end up running the whole town into hiding, leaving them wondering what the heck is going on, how do we fight back, and most important of all ... how do we survive this invasion. The brilliance of this movie is that it takes something so mundane, even beautiful and turns it into something frightening. Fear is a natural reaction that comes when you encounter sharks or spiders, but birds are just a wonder of nature, they fill the air with beautiful music, they come in a colorful variety and rarely do anything aggressive. After seeing this film, no one looked at birds the same way again, and I distinctly remember seeing this movie for the first time at a young age and being terrified to go outside thinking that I might just get attacked by a rouge bird. It’s also very alarming because you can’t fight against these birds the same way you can kill a deadly shark like in “Jaws”, and that really raises the stakes. Some of the effects are really cheesy looking by today’s standards and there are some obvious blue screen moments, but I personally found the visuals to be very impressive for the time. In fact, the movie won an Oscar for best special effects. There are a lot of memorable scenes and visuals that just stick in your head long after the movie ends. There’s all those ominous shots of the birds perching themselves on objects and electrical cords, there’s the scenes in which children get attacked, and some scary shots of dead bodies that had their eyes pecked out. One of the best visuals is when Melanie sits on a park bench and behind her we see one bird after another landing on various play ground equipment, then after a long camera hold on Melanie’s face, she slowly turns around and see’s the entire park covered in black crows. Whenever I think of this movie, that’s always the first image that comes to mind. Now obviously this concept of killer birds is admittedly very silly, but Alfred Hitchcock wasn’t your average campy filmmaker, in fact you can always feel his stamp of quality in anything he dose and “The Birds” is no exception. His method of setting up shots and editing is brilliant but the key ingredient he brings to this film is the buildup. To be honest, the most frightening scenes are all the quiet moments that slowly build up to when the birds actually attack. His style may come off a slow and boring to some people, so you really have to be in the right mind set to appreciate it. Now I’m not going to lie, there are some really boring scenes in the first half hour of the movie which involves the characters in long conversations that all become irrelevant when the birds finally attack. However, there is some ominous foreshadowing of things to come which is just enough to keep you invested, and when all hell breaks loose, it becomes an exciting rollercoaster thrill ride. The characters themselves all feel like they belong in a different kind of film, like a generic 1960’s romance, but they hold your attention fine, and you do want to see them survive till the end. The female lead Melanie is played by Tippi Hedren and she does a mostly serviceable job, looks fantastic on screen, however she does have some really hockey moments. Another great aspect of this film is all the mystery surrounding the bird attacks. Most monster movies give lots of exposition as to what’s going on and why, but things are never clear in this film, and the characters themselves are almost driven made trying to figure out what’s causing these birds to act so aggressively. The only red hearing thrown in the equation are the two caged love birds, the movie never tells us that their a prime reason for all the attacks but it does leave you wondering. Now obviously Hitchcock is one of Hollywood’s most famous directors, filmmakers and one of the first to receive wide spread attention. I myself can praise his style and direction all day long, but the man himself was admittedly kind of rough around the edges and did some questionable things. He even had a reputation for not taking good care of his actors while on set, and nowhere was that more obvious then in “The Birds”. There’s an infamous controversial scene in which Tippi Hedren’s character gets trapped in a bedroom, where she’s attacked by various birds. The scene itself is very disturbing as she gets relentlessly picked apart by the little devils and it almost echo’s back the famous shower scene from “Psycho”, however, something even more disturbing happened off screen. Before shooting, Hitchcock presumably told Tippi Hedren that all the birds in the scene were fake, so it was a real shock for her on the day of the shoot when real life birds started flying all around her in this tight and claustrophobic setting. While the actress wasn’t physically endured, it drained a lot of energy from her and she ended up spending the following week sleeping on her couch in a comatose like state. This further proved that while Hitchcock was a master filmmaker, he was also very careless toured the safety of his cast and crew, which is really hard to glance over. So on that cheery note, let’s talk about some of the actual bird attack scenes, which are admittedly very thrilling and heart pounding moments. There’s the scene in which a flock of crows attack some children at their school and another memorable moment when they crash a birthday party. The best scene of all is when the birds attack a gas station. The buildup in this scene is fantastic as all the characters are gathered in a dinner discussing this bird situation and a woman who claims to be an expert on the subject gives us some info on birds in general which only builds on our anticipation. Then without warning, the birds attack the nearby gas station, causing a gas tank to tip over and a chain of exploding cars follow. It’s a big spectacle with birds flying all over the place, things are catching fire and our female lead finds herself trapped in a phone booth. It’s the most famous scene of the movie and very effective as your stuck in this tight, claustrophobic phone booth with our star and watching all the chaos unfolding around her. With all the mangled bodies, birds crashing into windows and lots of destruction, this could have almost been the climax of the movie. The actual finally takes place in a barricaded house, with our hero’s trapped and fighting off various bird attacks. Both the cinematography and visuals are top notch here and the sounds of screeching birds over head create an eerie mood. Now I feel the need to comment on the ending, so spoiler alert if you care. After one of the characters gets endured, our survivors quietly make their way to the car while surrounded by several birds, all the while a radio announcer claims that the mysterious bird attacks are increasing and the national guard is debating on whether they should take action. As the car drives off, we get one heck of an eerie shot as birds seem to cover the entire landscape, and just when you think you’re about to follow these characters on their adventure across the country side, the movie abruptly ends. It’s so sudden it doesn’t even feel like a proper conclusion, the movie just stops. This can easily turn some viewers off as it seems to come out of nowhere, and it’s personally my least favorite part of the whole movie. There was a sequel that came out several years latter titled “The Birds 2: Lands End”, but it had little connection with the first and while I personally haven’t seen the film, it doesn’t seem like it captured the same magical haunting touch of its predecessor. While several movies have tried to recreate the formula of man battling animals and nature, there haven’t been too many films focusing on birds as the villains. The only other film that comes to mind is a 2010 picture titled “Birdemic: Shock of Terror”, and its sequel “Birdemic 2: The Resurrection”, both terrible movies that used the same premise except with terrible acting, terrible writing and some of the worst special effects ever seen on film. As for Alfred Hitchcock’s 1963 classic “The Birds”, it still holds up great after all these years, it’s one of my favorite movies he ever did and I honestly think it’s the greatest animal attack movie of all time, even better then “Jaws”. While it still has some problems that might keep modern audiences from liking it, there’s still plenty of thrills and excitement that come off so much stronger in this movie then most other monster flicks. You really just need to keep a humble perspective while viewing the film. If you let the atmosphere and build up sink in, you’ll find yourself feeling like your right there in the action, wondering what our hero’s are thinking, dreading another attack and it’s just a really fun ride. While Hitchcock did some questionable things, he was undoubtedly a talented filmmaker with vision, and this is one of his greatest accomplishments in his long legacy of quality films. I give “The Birds” 4 ½ stars out of 5. Did you know that you can create short urls with AdFly and get $$$$$ from every click on your shortened urls.
Best known for playing the role of unconventional hero and fan favorite Edgar Stiles on Fox’s Emmy Award-winning show “24” and FBI Agent Skip Lipari in HBO’s “The Sopranos,” Louis Lombardi is going back to his Italian roots by launching his own gourmet Italian food line, Lombardi’s. The line, which will make its debut the first week of September, includes pastas, sauces, olive oils and olives imported directly from Italy. With quick, easy and creative tips, tricks and recipes for using all the Lombardi’s products, Louis says he wants to show families that it is easier and healthier to make a home-cooked meal than it is to go through a drive-thru. In addition to the launch of Lombardi’s, Louis returns to the screen this fall as Archie, the owner of Sports Book, in “Runner Runner” alongside Ben Affleck and Justin Timberlake. Louis also joins the cast of TNT’s Frank Darabont drama, “Lost Angels,” as Stucky, one of Mickey’s (Jeremy Luke) men, this fall with Milo Ventimiglia and Ed Burns. Born and raised in the Bronx, Louis’ acting career took off after he starred in the Sundance Film Festival’s Grand Jury Prize nominee “Amongst Friends,” directed by Rob Weiss. The film caught the attention of Academy Award-winning director Oliver Stone, who cast Louis in “Natural Born Killers,” alongside Woody Harrelson, Robert Downey Jr, Tommy Lee Jones and Juliette Lewis. He also appeared in Academy Award winner “The Usual Suspects” alongside Benicio Del Toro, Kevin Spacey and Gabriel Byrne; cult classic “Suicide Kings” with Denis Leary, Christopher Walken and Brad Garrett; and “The Animal” as Rob Schneider’s best friend. Louis’ love of food also inspired “Doughboys,” a film festival favorite starring Lombardi, Vincent Pastore, Andrew Keegan and Mike Starr about two Bronx brothers running the family bakery. Louis also wrote and directed the film.
Android is a rich and open operating system that allows us to take maximum advantage of customization that we can do for creating fantastic Android applications. Not only do we create apps for the Android phones, but also for a host of Android tablets. We do not see the fragmentation of handsets as a challenge and create apps that run seamlessly across brands. And of course, we don’t just develop applications; we empower entrepreneurs in launching their mobile application business. Why? Because, Androizen is run by first generation entrepreneurs who understand the challenges faced by entrepreneurs best. We have ample experience in working with Internet entrepreneurs. Those who started with us by building just a prototype to take to investors or to their customers for validation, through to the final product launched successfully. In essence, we empower entrepreneurs in launching their website businesses. Why? Because, Androizen is run by first generation entrepreneurs who understand the challenges faced by entrepreneurs best. We know what it takes for entrepreneurs to launch their Internet startup and we work closely on all counts offering pro-bono business consulting. We create e-commerce websites, portals, intranets, CMSs, you name it. We are interested in making your website successful.
Ever since the advent of the Internet, couple codes have become popular as these are widely used as a marketing tool to attract new prospects. Most product supplier use the lidl coupons supplied by the famous LIDL network chain which is operating in Europe and it is prominently used in Germany and UK. Attending interviews seem to be a daunting task for today’s youth as well as for the experienced adults. Many tend to focus on preparing to answer the right answers, while few bother about the dress codes that are to be followed while attending the interviews especially for some of the white collared jobs. If one is well prepared for the interview and do not have anything to wear decently, he or she need not get panic for the situation. The popular LIDL coupons come very handy for such individuals. These persons can simple grab some of these coupons to enter into any store and can buy a rocking power suit and other dresses and present themselves great with tons of confidence. Why wait? Look for the lidl opening times today in your nearest location. The well known lidl Coupons are generally valid for a year and one need not worry about the validity of these coded coupons. These coupons can be made available easily by online and with the advent of technology colorful coupons can be taken as printout right from home by using the internet through home computers or even by using the state of the art modern smart phones. With these kinds of features available easily one need not bother about the expiry of these coupons. However one has to pay more attention while making the right coupon codes while finishing the shopping in order to get the entitled discounts from the sales counters. Incidentally most of the cloth stores in Europe accept this coupon in all parts of the year. This makes the individuals to select the right kind of attires to wear while attending the interviews and business conferences across the country. The case is very true for the students while attending the graduation day in the Universities.
/* ---------------------------------------------------------------- Copyright 2016 Cisco Systems Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ------------------------------------------------------------------*/ #include <iostream> #include "ydk/netconf_provider.hpp" #include "ydk/crud_service.hpp" #include "ydk_openconfig/openconfig_bgp.hpp" #include <spdlog/spdlog.h> #include "args_parser.h" using namespace ydk; using namespace std; int main(int argc, char* argv[]) { vector<string> args = parse_args(argc, argv); if(args.empty()) return 1; string host, username, password; int port; username = args[0]; password = args[1]; host = args[2]; port = stoi(args[3]); bool verbose=(args[4]=="--verbose"); if(verbose) { auto logger = spdlog::stdout_color_mt("ydk"); logger->set_level(spdlog::level::info); } NetconfServiceProvider provider{host, username, password, port}; CrudService crud{}; auto bgp = make_unique<openconfig_bgp::Bgp>(); try { bool reply = crud.delete_(provider, *bgp); if(reply) cout << "Delete yfilter success" << endl; else cout << "Operation failed" << endl; } catch(YCPPError & e) { cerr << e<<endl; } }
I respect your right to privacy online and this website only collects personal information with your express permission where it is really necessary. This website isn’t part of any advertising networks and the information submitted through the contact form isn’t sold or accessible to any third-party data collectors. Although every best effort has been made to ensure the accuracy of this website’s content I cannot guarantee that it is free from errors or omissions. The content is provided for general information only and is not intended to amount to advice on which you should rely. To the extent permitted by law all conditions, warranties, representations or other terms which may apply to this site or any content on it, whether express or implied are excluded. All copyright, design rights, trademarks and other intellectual property rights (registered and unregistered) featured in this website belong to Charles Middleton-Smith and/or third parties. Unless otherwise stated all rights are reserved and nothing in these terms grants you a right or licence to use the intellectual property owned or controlled by Charles Middleton-Smith or any other third party.
export const bindToMinMax = (value, min, max) => Math.min(Math.max(value, min), max); export const parseValue = (value, min, max) => bindToMinMax(toNumber(value), min, max); export const toNumber = (rawNumber) => { let number = parseFloat(rawNumber); if (isNaN(number) || !isFinite(number)) { number = 0; } return number; };
/* Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in the grid. For example, There is one obstacle in the middle of a 3x3 grid as illustrated below. [ [0,0,0], [0,1,0], [0,0,0] ] The total number of unique paths is 2. Note: m and n will be at most 100. */ /** * @param {number[][]} obstacleGrid * @return {number} */ var uniquePathsWithObstacles = function(obstacleGrid) { var m = obstacleGrid.length; var n = obstacleGrid[0].length; // Dynamic Programming var result = []; for( var i=0;i<m;i++ ){ result.push([]); } for( var i=0;i<m;i++ ){ for( var j=0;j<n;j++ ){ if( obstacleGrid[i][j] === 1 ){ result[i][j] = 0; } else{ if( i===0 ){ if( j===0 ){ result[i][j] = 1; } else if(j>0){ result[i][j] = result[i][j-1]===0?0:1; } } else if( j===0 ){ if( i===0 ){ result[i][j] = 1; } else if(i>0){ result[i][j] = result[i-1][j]===0?0:1; } } else{ result[i][j] = result[i-1][j] + result[i][j-1]; } } } } return obstacleGrid[m-1][n-1] !== 1 ? result[m-1][n-1] : 0; }; // one dimensional DP var uniquePathsWithObstacles = function(obstacleGrid) { var m = obstacleGrid.length; var n = obstacleGrid[0].length; // Dynamic Programming var result = []; for( var i=0;i<n;i++ ){ result.push(0); } result[0] = 1; for( var i=0;i<m;i++ ){ for( var j=0;j<n;j++ ){ if( obstacleGrid[i][j] === 1 ){ result[j] = 0; } else if(j>0){ result[j] += result[j-1]; } } } return result[n-1]; }; //tags: Bloomberg
The author of Save My Marriage Today, Amy Waterman has based this book on her own vast knowledge of troubled relationships. She has had extensive experience in saving thousands of couples marriages. Her area of expertise include dating, attraction, and troubled relationships. Marriage problems are a source of immense stress for many people, and the Save My Marriage Today System. Promises to teach people what to do and say to save their marriage before it is too late. Whatever specific issues you are dealing with, if you need marriage help, the Save My Marriage Today strategies will breathe life into your relationship and give it a fighting chance to survive. Amy Waterman has been instrumental in getting thousands of couples back together and into happy, healthy relationships, and she can help you too. There’s no reason for you to say that saving a marriage is impossible what you really need to do is commit yourself to follow the steps provided in the Save My Marriage Today course.
We are proud to be taking part in the Magical day by FIMI, Spain, from the 12th – 14th of May 2017, hosted at the Pabellón de Cristal de la Casa de Campo de Madrid SPAIN. The show is an amazing opportunity to see and meet many of the finest luxury brands and artisans in Holy Communions and ceremony dresses. We would like to offer you the opportunity to join us at this event and having the opportunity to introduce our amazing collection of dresses to you. Don't miss the chance to be enchanted by FIMI!
Need a Taxi in Sandy? A2B is the largest Sandy minicab company that not only it provides regular transportation service, but also care for its customers. We are cheaper from other minicab companies and Black Cabs in Sandy. Why not try our comfortable Sandy mini cabs to experience the comfort journey home. We are able to provide all types of services and different sizes of vehicles in Sandy to fulfill the task. Whether you need an 8 seater Taxi in Sandy or VIP Executive minicab in Sandy we are the only solution. Drivers are well trained and have great personality who are available to provide you with minicab after Sandy 24 hours a day. A2B Sandy minicabs has a specially trained separate fleet for school runs if you need a school run Taxi in Sandy, then call us right away for a very competitive quote. We aim to provide services for all needs and occasions, but are unable to mention them all please feel free to contact us for any query you may have our call center manned staff are there to assist you. Apart from experienced staff and drivers, we also use the UK’s most advanced software system that has data protection, tracking facility, text confirmation system, vehicle arrival confirmation, paperless receipt in PDF format and debit/credit card payment facility provided when booking mini cab in Sandy. If you are in need of Taxi in Sandy then A2B is the only Sandy minicab company that you can rely on. A2b Sandy minicabs provide the most reliable and quality minicab services in Sandy areas with 24 hour service available. We can get you a minicab anywhere in Sandy for less than 10 minutes. Just call us on 0208 952 6000 to book a quality minicab from Sandy. We are also specialized in providing airport transfers that are 100% reliable and guaranteed on time arrival. WHY SHOULD YOU USE A2B Sandy MINICABS? Book a minicab in Sandy using our most advance App available on Apple and Android smart phones. We provide the cheapest Taxi in Sandy. We will beat any written quotation. All our prices are set for Sandy minicabs and other postcodes. There will be no hidden charges. A2B Sandy minicabs provide a wide range of cars from saloon to 8 seaters. Choose your vehicle according to your needs. We also provide 7 and 8 seaters buses in Sandy area. A2b minicabs Sandy also provide executive cars like Mercedes E class, Jaguar x type and Mercedes S class. A2b provides delivery service in Sandy and the rest of the country with cheaper fares than any the Sandy mini cab. Book your journey to or from any airports in London with A2B minicab service in Sandy for a reasonable and competitive rate.
No one knows when or if they may be involved in an accident. You spouse who stays at home may get injuries due to an accident. Can he or she sue for Lost Income Damages? The answer to the above query is yes; you can sue for Lost Income Damages. Such a case may prove difficult particularly since the claimant, has to show proof that the injuries affected their potential of earning an income. You can seek the services of a professional Personal Injury Lawyer to help you in this. Other areas to consider include, showing how the injuries sustained has caused you to hire help from an outside source, who needs to be paid to, carry out the duties that were once yours. Also, a comparison between what other people who have the same qualifications as you, in the job market may come in handy. If you do not know how to proceed with the claims process after sustaining injuries due to an accident, Contact us at Kalsi& Associates on (844) 905-2993.
#include <math.h> #include "vectors.h" vector new_vector(size_t n) { vector result = malloc(sizeof(struct vector_m)); result->storage = malloc(n * sizeof(real)); result->dimension = n; return result; } void delete_vector(vector vec) { free(vec->storage); free(vec); } real vector_distance(vector v1, vector v2) { size_t n = v1->dimension; real max = 0; for (size_t i = 0; i < n; ++i) { real next = fabsl(vidx(v1, i) - vidx(v2, i)); if (max < next) { max = next; } } return max; }
package org.apereo.cas.config; import org.apereo.cas.CasEmbeddedValueResolver; import org.apereo.cas.util.SchedulingUtils; import org.apereo.cas.util.io.CommunicationsManager; import org.apereo.cas.util.io.SmsSender; import org.apereo.cas.util.spring.ApplicationContextProvider; import org.apereo.cas.util.spring.Converters; import org.apereo.cas.util.spring.SpringAwareMessageMessageInterpolator; import lombok.val; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.ObjectProvider; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.boot.autoconfigure.AutoConfigureOrder; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Role; import org.springframework.context.annotation.Scope; import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; import org.springframework.core.convert.converter.Converter; import org.springframework.core.convert.converter.ConverterRegistry; import org.springframework.core.convert.support.DefaultConversionService; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.format.support.DefaultFormattingConversionService; import org.springframework.mail.javamail.JavaMailSender; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.util.StringValueResolver; import org.springframework.validation.beanvalidation.BeanValidationPostProcessor; import javax.validation.MessageInterpolator; import java.time.ZonedDateTime; /** * This is {@link CasCoreUtilConfiguration}. * * @author Misagh Moayyed * @since 5.0.0 */ @Configuration("casCoreUtilConfiguration") @AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE) @EnableScheduling public class CasCoreUtilConfiguration implements InitializingBean { @Autowired @Qualifier("smsSender") private ObjectProvider<SmsSender> smsSender; @Autowired @Qualifier("mailSender") private ObjectProvider<JavaMailSender> mailSender; @Autowired private ApplicationContext applicationContext; @Bean @Scope(value = "prototype") public ApplicationContextProvider applicationContextProvider() { return new ApplicationContextProvider(); } @Bean public MessageInterpolator messageInterpolator() { return new SpringAwareMessageMessageInterpolator(); } @Bean @ConditionalOnMissingBean(name = "communicationsManager") public CommunicationsManager communicationsManager() { return new CommunicationsManager(smsSender.getIfAvailable(), mailSender.getIfAvailable()); } @Bean @Role(BeanDefinition.ROLE_INFRASTRUCTURE) @Order(Ordered.HIGHEST_PRECEDENCE) public StringValueResolver durationCapableStringValueResolver() { return SchedulingUtils.prepScheduledAnnotationBeanPostProcessor(applicationContext); } @Bean public Converter<ZonedDateTime, String> zonedDateTimeToStringConverter() { return new Converters.ZonedDateTimeToStringConverter(); } @Bean @ConditionalOnMissingBean(name = "casBeanValidationPostProcessor") public BeanValidationPostProcessor casBeanValidationPostProcessor() { return new BeanValidationPostProcessor(); } @Override public void afterPropertiesSet() { val ctx = applicationContextProvider().getConfigurableApplicationContext(); val conversionService = new DefaultFormattingConversionService(true); conversionService.setEmbeddedValueResolver(new CasEmbeddedValueResolver(ctx)); ctx.getEnvironment().setConversionService(conversionService); val env = (ConfigurableEnvironment) ctx.getParent().getEnvironment(); env.setConversionService(conversionService); val registry = (ConverterRegistry) DefaultConversionService.getSharedInstance(); registry.addConverter(zonedDateTimeToStringConverter()); } }
/********************************************************************** * * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful but, except * as otherwise stated in writing, without any warranty; without even the * implied warranty of merchantability or fitness for a particular purpose. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. * * The full GNU General Public License is included in this distribution in * the file called "COPYING". * * Contact Information: * Imagination Technologies Ltd. <[email protected]> * Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK * ******************************************************************************/ #if defined(DEBUG) || defined (INTERNAL_TEST) #define DEBUG_SET_OFFSET OPTIONS_BIT0 #define OPTIONS_BIT0 0x1 #else #define OPTIONS_BIT0 0x0 #endif #if defined(PDUMP) || defined (INTERNAL_TEST) #define PDUMP_SET_OFFSET OPTIONS_BIT1 #define OPTIONS_BIT1 (0x1 << 1) #else #define OPTIONS_BIT1 0x0 #endif #if defined(PVRSRV_USSE_EDM_STATUS_DEBUG) || defined (INTERNAL_TEST) #define PVRSRV_USSE_EDM_STATUS_DEBUG_SET_OFFSET OPTIONS_BIT2 #define OPTIONS_BIT2 (0x1 << 2) #else #define OPTIONS_BIT2 0x0 #endif #if defined(SUPPORT_HW_RECOVERY) || defined (INTERNAL_TEST) #define SUPPORT_HW_RECOVERY_SET_OFFSET OPTIONS_BIT3 #define OPTIONS_BIT3 (0x1 << 3) #else #define OPTIONS_BIT3 0x0 #endif #if defined(PVR_SECURE_HANDLES) || defined (INTERNAL_TEST) #define PVR_SECURE_HANDLES_SET_OFFSET OPTIONS_BIT4 #define OPTIONS_BIT4 (0x1 << 4) #else #define OPTIONS_BIT4 0x0 #endif #if defined(SGX_BYPASS_SYSTEM_CACHE) || defined (INTERNAL_TEST) #define SGX_BYPASS_SYSTEM_CACHE_SET_OFFSET OPTIONS_BIT5 #define OPTIONS_BIT5 (0x1 << 5) #else #define OPTIONS_BIT5 0x0 #endif #if defined(SGX_DMS_AGE_ENABLE) || defined (INTERNAL_TEST) #define SGX_DMS_AGE_ENABLE_SET_OFFSET OPTIONS_BIT6 #define OPTIONS_BIT6 (0x1 << 6) #else #define OPTIONS_BIT6 0x0 #endif #if defined(SGX_FAST_DPM_INIT) || defined (INTERNAL_TEST) #define SGX_FAST_DPM_INIT_SET_OFFSET OPTIONS_BIT8 #define OPTIONS_BIT8 (0x1 << 8) #else #define OPTIONS_BIT8 0x0 #endif #if defined(SGX_FEATURE_DCU) || defined (INTERNAL_TEST) #define SGX_FEATURE_DCU_SET_OFFSET OPTIONS_BIT9 #define OPTIONS_BIT9 (0x1 << 9) #else #define OPTIONS_BIT9 0x0 #endif #if defined(SGX_FEATURE_MP) || defined (INTERNAL_TEST) #define SGX_FEATURE_MP_SET_OFFSET OPTIONS_BIT10 #define OPTIONS_BIT10 (0x1 << 10) #else #define OPTIONS_BIT10 0x0 #endif #if defined(SGX_FEATURE_MULTITHREADED_UKERNEL) || defined (INTERNAL_TEST) #define SGX_FEATURE_MULTITHREADED_UKERNEL_SET_OFFSET OPTIONS_BIT11 #define OPTIONS_BIT11 (0x1 << 11) #else #define OPTIONS_BIT11 0x0 #endif #if defined(SGX_FEATURE_OVERLAPPED_SPM) || defined (INTERNAL_TEST) #define SGX_FEATURE_OVERLAPPED_SPM_SET_OFFSET OPTIONS_BIT12 #define OPTIONS_BIT12 (0x1 << 12) #else #define OPTIONS_BIT12 0x0 #endif #if defined(SGX_FEATURE_SYSTEM_CACHE) || defined (INTERNAL_TEST) #define SGX_FEATURE_SYSTEM_CACHE_SET_OFFSET OPTIONS_BIT13 #define OPTIONS_BIT13 (0x1 << 13) #else #define OPTIONS_BIT13 0x0 #endif #if defined(SGX_SUPPORT_HWPROFILING) || defined (INTERNAL_TEST) #define SGX_SUPPORT_HWPROFILING_SET_OFFSET OPTIONS_BIT14 #define OPTIONS_BIT14 (0x1 << 14) #else #define OPTIONS_BIT14 0x0 #endif #if defined(SUPPORT_ACTIVE_POWER_MANAGEMENT) || defined (INTERNAL_TEST) #define SUPPORT_ACTIVE_POWER_MANAGEMENT_SET_OFFSET OPTIONS_BIT15 #define OPTIONS_BIT15 (0x1 << 15) #else #define OPTIONS_BIT15 0x0 #endif #if defined(SUPPORT_DISPLAYCONTROLLER_TILING) || defined (INTERNAL_TEST) #define SUPPORT_DISPLAYCONTROLLER_TILING_SET_OFFSET OPTIONS_BIT16 #define OPTIONS_BIT16 (0x1 << 16) #else #define OPTIONS_BIT16 0x0 #endif #if defined(SUPPORT_PERCONTEXT_PB) || defined (INTERNAL_TEST) #define SUPPORT_PERCONTEXT_PB_SET_OFFSET OPTIONS_BIT17 #define OPTIONS_BIT17 (0x1 << 17) #else #define OPTIONS_BIT17 0x0 #endif #if defined(SUPPORT_SGX_HWPERF) || defined (INTERNAL_TEST) #define SUPPORT_SGX_HWPERF_SET_OFFSET OPTIONS_BIT18 #define OPTIONS_BIT18 (0x1 << 18) #else #define OPTIONS_BIT18 0x0 #endif #if defined(SUPPORT_SGX_MMU_DUMMY_PAGE) || defined (INTERNAL_TEST) #define SUPPORT_SGX_MMU_DUMMY_PAGE_SET_OFFSET OPTIONS_BIT19 #define OPTIONS_BIT19 (0x1 << 19) #else #define OPTIONS_BIT19 0x0 #endif #if defined(SUPPORT_SGX_PRIORITY_SCHEDULING) || defined (INTERNAL_TEST) #define SUPPORT_SGX_PRIORITY_SCHEDULING_SET_OFFSET OPTIONS_BIT20 #define OPTIONS_BIT20 (0x1 << 20) #else #define OPTIONS_BIT20 0x0 #endif #if defined(SGX_LOW_LATENCY_SCHEDULING) || defined (INTERNAL_TEST) #define SUPPORT_SGX_LOW_LATENCY_SCHEDULING_SET_OFFSET OPTIONS_BIT21 #define OPTIONS_BIT21 (0x1 << 21) #else #define OPTIONS_BIT21 0x0 #endif #if defined(USE_SUPPORT_NO_TA3D_OVERLAP) || defined (INTERNAL_TEST) #define USE_SUPPORT_NO_TA3D_OVERLAP_SET_OFFSET OPTIONS_BIT22 #define OPTIONS_BIT22 (0x1 << 22) #else #define OPTIONS_BIT22 0x0 #endif #if defined(SGX_FEATURE_MP) || defined (INTERNAL_TEST) #define OPTIONS_HIGHBYTE ((SGX_FEATURE_MP_CORE_COUNT-1) << SGX_FEATURE_MP_CORE_COUNT_SET_OFFSET) #define SGX_FEATURE_MP_CORE_COUNT_SET_OFFSET 28UL #define SGX_FEATURE_MP_CORE_COUNT_SET_MASK 0xFF #else #define OPTIONS_HIGHBYTE 0x0 #endif #define SGX_BUILD_OPTIONS \ OPTIONS_BIT0 |\ OPTIONS_BIT1 |\ OPTIONS_BIT2 |\ OPTIONS_BIT3 |\ OPTIONS_BIT4 |\ OPTIONS_BIT5 |\ OPTIONS_BIT6 |\ OPTIONS_BIT8 |\ OPTIONS_BIT9 |\ OPTIONS_BIT10 |\ OPTIONS_BIT11 |\ OPTIONS_BIT12 |\ OPTIONS_BIT13 |\ OPTIONS_BIT14 |\ OPTIONS_BIT15 |\ OPTIONS_BIT16 |\ OPTIONS_BIT17 |\ OPTIONS_BIT18 |\ OPTIONS_BIT19 |\ OPTIONS_BIT20 |\ OPTIONS_BIT21 |\ OPTIONS_HIGHBYTE
/* Copyright 2020 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package memorymanager import ( v1 "k8s.io/api/core/v1" "k8s.io/kubernetes/pkg/kubelet/cm/memorymanager/state" "k8s.io/kubernetes/pkg/kubelet/cm/topologymanager" ) // Type defines the policy type type policyType string // Policy implements logic for pod container to a memory assignment. type Policy interface { Name() string Start(s state.State) error // Allocate call is idempotent Allocate(s state.State, pod *v1.Pod, container *v1.Container) error // RemoveContainer call is idempotent RemoveContainer(s state.State, podUID string, containerName string) error // GetTopologyHints implements the topologymanager.HintProvider Interface // and is consulted to achieve NUMA aware resource alignment among this // and other resource controllers. GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint // GetPodTopologyHints implements the topologymanager.HintProvider Interface // and is consulted to achieve NUMA aware resource alignment among this // and other resource controllers. GetPodTopologyHints(s state.State, pod *v1.Pod) map[string][]topologymanager.TopologyHint // GetAllocatableMemory returns the amount of allocatable memory for each NUMA node GetAllocatableMemory(s state.State) []state.Block }
<div id="wrapper"> <!-- Navigation --> <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="<?php echo $root; ?>../../dashboard.php">SB Admin v2.0</a> </div> <!-- /.navbar-header --> <ul class="nav navbar-top-links navbar-right"> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-envelope fa-fw"></i> <i class="fa fa-caret-down"></i> </a> <ul class="dropdown-menu dropdown-messages"> <li> <a href="#"> <div> <strong>John Smith</strong> <span class="pull-right text-muted"> <em>Yesterday</em> </span> </div> <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <strong>John Smith</strong> <span class="pull-right text-muted"> <em>Yesterday</em> </span> </div> <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <strong>John Smith</strong> <span class="pull-right text-muted"> <em>Yesterday</em> </span> </div> <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div> </a> </li> <li class="divider"></li> <li> <a class="text-center" href="#"> <strong>Read All Messages</strong> <i class="fa fa-angle-right"></i> </a> </li> </ul> <!-- /.dropdown-messages --> </li> <!-- /.dropdown --> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-tasks fa-fw"></i> <i class="fa fa-caret-down"></i> </a> <ul class="dropdown-menu dropdown-tasks"> <li> <a href="#"> <div> <p> <strong>Task 1</strong> <span class="pull-right text-muted">40% Complete</span> </p> <div class="progress progress-striped active"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> <span class="sr-only">40% Complete (success)</span> </div> </div> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <p> <strong>Task 2</strong> <span class="pull-right text-muted">20% Complete</span> </p> <div class="progress progress-striped active"> <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> <span class="sr-only">20% Complete</span> </div> </div> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <p> <strong>Task 3</strong> <span class="pull-right text-muted">60% Complete</span> </p> <div class="progress progress-striped active"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> <span class="sr-only">60% Complete (warning)</span> </div> </div> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <p> <strong>Task 4</strong> <span class="pull-right text-muted">80% Complete</span> </p> <div class="progress progress-striped active"> <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> <span class="sr-only">80% Complete (danger)</span> </div> </div> </div> </a> </li> <li class="divider"></li> <li> <a class="text-center" href="#"> <strong>See All Tasks</strong> <i class="fa fa-angle-right"></i> </a> </li> </ul> <!-- /.dropdown-tasks --> </li> <!-- /.dropdown --> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i> </a> <ul class="dropdown-menu dropdown-alerts"> <li> <a href="#"> <div> <i class="fa fa-comment fa-fw"></i> New Comment <span class="pull-right text-muted small">4 minutes ago</span> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <i class="fa fa-twitter fa-fw"></i> 3 New Followers <span class="pull-right text-muted small">12 minutes ago</span> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <i class="fa fa-envelope fa-fw"></i> Message Sent <span class="pull-right text-muted small">4 minutes ago</span> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <i class="fa fa-tasks fa-fw"></i> New Task <span class="pull-right text-muted small">4 minutes ago</span> </div> </a> </li> <li class="divider"></li> <li> <a href="#"> <div> <i class="fa fa-upload fa-fw"></i> Server Rebooted <span class="pull-right text-muted small">4 minutes ago</span> </div> </a> </li> <li class="divider"></li> <li> <a class="text-center" href="#"> <strong>See All Alerts</strong> <i class="fa fa-angle-right"></i> </a> </li> </ul> <!-- /.dropdown-alerts --> </li> <!-- /.dropdown --> <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i> </a> <ul class="dropdown-menu dropdown-user"> <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a> </li> <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a> </li> <li class="divider"></li> <li><a href="<?php echo $root; ?>dashboard.php"><i class="fa fa-sign-out fa-fw"></i> Logout</a> </li> </ul> <!-- /.dropdown-user --> </li> <!-- /.dropdown --> </ul> <!-- /.navbar-top-links --> <div class="navbar-default sidebar" role="navigation"> <div class="sidebar-nav navbar-collapse"> <ul class="nav" id="side-menu"> <li class="sidebar-search"> <div class="input-group custom-search-form"> <input type="text" class="form-control" placeholder="Search..."> <span class="input-group-btn"> <button class="btn btn-default" type="button"> <i class="fa fa-search"></i> </button> </span> </div> <!-- /input-group --> </li> <li> <a href="<?php echo $root; ?>dashboard.php"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a> </li> <li> <a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Charts<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <li> <a href="<?php echo $root; ?>flot.php">Flot Charts</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/morris.php">Morris.js Charts</a> </li> </ul> <!-- /.nav-second-level --> </li> <li> <a href="<?php echo $root; ?>tables.php"><i class="fa fa-table fa-fw"></i> Tables</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/forms.php"><i class="fa fa-edit fa-fw"></i> Forms</a> </li> <li> <a href="#"><i class="fa fa-wrench fa-fw"></i> UI Elements<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <li> <a href="<?php echo $root; ?>../../dashboard_view/panels-wells.php">Panels and Wells</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/buttons.php">Buttons</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/notifications.php">Notifications</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/typography.php">Typography</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/icons.php"> Icons</a> </li> <li> <a href="<?php echo $root; ?>../../dashboard_view/grid.php">Grid</a> </li> </ul> <!-- /.nav-second-level --> </li> <li> <a href="#"><i class="fa fa-sitemap fa-fw"></i> Multi-Level Dropdown<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <li> <a href="#">Second Level Item</a> </li> <li> <a href="#">Second Level Item</a> </li> <li> <a href="#">Third Level <span class="fa arrow"></span></a> <ul class="nav nav-third-level"> <li> <a href="#">Third Level Item</a> </li> <li> <a href="#">Third Level Item</a> </li> <li> <a href="#">Third Level Item</a> </li> <li> <a href="#">Third Level Item</a> </li> </ul> <!-- /.nav-third-level --> </li> </ul> <!-- /.nav-second-level --> </li> <li class="active"> <a href="#"><i class="fa fa-files-o fa-fw"></i> Sample Pages<span class="fa arrow"></span></a> <ul class="nav nav-second-level"> <li> <a class="active" href="<?php echo $root; ?>blank.php">Blank Page</a> </li> <li> <a href="<?php echo $root; ?>dashboardlogin.php">Login Page</a> </li> </ul> <!-- /.nav-second-level --> </li> </ul> </div> <!-- /.sidebar-collapse --> </div> <!-- /.navbar-static-side --> </nav> </div>
namespace AH.ModuleController.UI.PatientRegistration.Forms { partial class frmPatientRegistrationMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPatientRegistrationMain)); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); this.mnuNewPatientRegistration = new System.Windows.Forms.ToolStripMenuItem(); this.mnuPatientSearch = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCloseModule = new System.Windows.Forms.ToolStripMenuItem(); this.mnuSetup = new System.Windows.Forms.ToolStripMenuItem(); this.mnuStaffTypeSetup = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCorporateTypeSetup = new System.Windows.Forms.ToolStripMenuItem(); this.mnuReport = new System.Windows.Forms.ToolStripMenuItem(); this.mnuReportManager = new System.Windows.Forms.ToolStripMenuItem(); this.mnuUtility = new System.Windows.Forms.ToolStripMenuItem(); this.mnuChangePassword = new System.Windows.Forms.ToolStripMenuItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.pnlPatientRegistration = new System.Windows.Forms.Panel(); this.btnCloseModule = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.btnPatientRegRptManager = new System.Windows.Forms.Button(); this.btnPatientSearch = new System.Windows.Forms.Button(); this.btnPatientRegistration = new System.Windows.Forms.Button(); this.userWidgetMetro1 = new AtiqsControlLibrary.UserWidgetMetro(); this.dateWidget1 = new AtiqsControlLibrary.DateWidget(); this.pnlModuleName = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.menuStrip1.SuspendLayout(); this.pnlPatientRegistration.SuspendLayout(); this.pnlModuleName.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuFile, this.mnuSetup, this.mnuReport, this.mnuUtility}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1146, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // mnuFile // this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuNewPatientRegistration, this.mnuPatientSearch, this.mnuCloseModule}); this.mnuFile.Name = "mnuFile"; this.mnuFile.Size = new System.Drawing.Size(35, 20); this.mnuFile.Text = "File"; // // mnuNewPatientRegistration // this.mnuNewPatientRegistration.Name = "mnuNewPatientRegistration"; this.mnuNewPatientRegistration.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); this.mnuNewPatientRegistration.Size = new System.Drawing.Size(232, 22); this.mnuNewPatientRegistration.Text = "New Patient Registration"; this.mnuNewPatientRegistration.Click += new System.EventHandler(this.mnuNewPatientRegistration_Click); // // mnuPatientSearch // this.mnuPatientSearch.Name = "mnuPatientSearch"; this.mnuPatientSearch.Size = new System.Drawing.Size(232, 22); this.mnuPatientSearch.Text = "Patient Search"; this.mnuPatientSearch.Click += new System.EventHandler(this.mnuPatientSearch_Click); // // mnuCloseModule // this.mnuCloseModule.Name = "mnuCloseModule"; this.mnuCloseModule.Size = new System.Drawing.Size(232, 22); this.mnuCloseModule.Text = "Close Module"; this.mnuCloseModule.Click += new System.EventHandler(this.mnuCloseModule_Click); // // mnuSetup // this.mnuSetup.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuStaffTypeSetup, this.mnuCorporateTypeSetup}); this.mnuSetup.Name = "mnuSetup"; this.mnuSetup.Size = new System.Drawing.Size(47, 20); this.mnuSetup.Text = "Setup"; // // mnuStaffTypeSetup // this.mnuStaffTypeSetup.Name = "mnuStaffTypeSetup"; this.mnuStaffTypeSetup.Size = new System.Drawing.Size(181, 22); this.mnuStaffTypeSetup.Text = "Staff Type Setup"; this.mnuStaffTypeSetup.Click += new System.EventHandler(this.mnuStaffTypeSetup_Click); // // mnuCorporateTypeSetup // this.mnuCorporateTypeSetup.Name = "mnuCorporateTypeSetup"; this.mnuCorporateTypeSetup.Size = new System.Drawing.Size(181, 22); this.mnuCorporateTypeSetup.Text = "Corporate Type Setup"; this.mnuCorporateTypeSetup.Click += new System.EventHandler(this.mnuCorporateTypeSetup_Click); // // mnuReport // this.mnuReport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuReportManager}); this.mnuReport.Name = "mnuReport"; this.mnuReport.Size = new System.Drawing.Size(52, 20); this.mnuReport.Text = "Report"; // // mnuReportManager // this.mnuReportManager.Name = "mnuReportManager"; this.mnuReportManager.Size = new System.Drawing.Size(152, 22); this.mnuReportManager.Text = "Report Manager"; this.mnuReportManager.Click += new System.EventHandler(this.mnuReportManager_Click); // // mnuUtility // this.mnuUtility.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mnuChangePassword}); this.mnuUtility.Name = "mnuUtility"; this.mnuUtility.Size = new System.Drawing.Size(46, 20); this.mnuUtility.Text = "Utility"; // // mnuChangePassword // this.mnuChangePassword.Name = "mnuChangePassword"; this.mnuChangePassword.Size = new System.Drawing.Size(160, 22); this.mnuChangePassword.Text = "Change Password"; this.mnuChangePassword.Click += new System.EventHandler(this.mnuChangePassword_Click); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "gnome_logout.png"); this.imageList1.Images.SetKeyName(1, "opd.jpg"); this.imageList1.Images.SetKeyName(2, "the_documents_icon.png"); this.imageList1.Images.SetKeyName(3, "Patient Search.png"); // // pnlPatientRegistration // this.pnlPatientRegistration.BackColor = System.Drawing.Color.Transparent; this.pnlPatientRegistration.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.pnlPatientRegistration.Controls.Add(this.btnCloseModule); this.pnlPatientRegistration.Controls.Add(this.button8); this.pnlPatientRegistration.Controls.Add(this.button7); this.pnlPatientRegistration.Controls.Add(this.btnPatientRegRptManager); this.pnlPatientRegistration.Controls.Add(this.btnPatientSearch); this.pnlPatientRegistration.Controls.Add(this.btnPatientRegistration); this.pnlPatientRegistration.Location = new System.Drawing.Point(54, 181); this.pnlPatientRegistration.Name = "pnlPatientRegistration"; this.pnlPatientRegistration.Size = new System.Drawing.Size(769, 401); this.pnlPatientRegistration.TabIndex = 1; // // btnCloseModule // this.btnCloseModule.BackColor = System.Drawing.Color.Tomato; this.btnCloseModule.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnCloseModule.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCloseModule.FlatAppearance.BorderSize = 0; this.btnCloseModule.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCloseModule.Font = new System.Drawing.Font("Maiandra GD", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCloseModule.ForeColor = System.Drawing.Color.DarkOliveGreen; this.btnCloseModule.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnCloseModule.ImageKey = "gnome_logout.png"; this.btnCloseModule.ImageList = this.imageList1; this.btnCloseModule.Location = new System.Drawing.Point(14, 125); this.btnCloseModule.Name = "btnCloseModule"; this.btnCloseModule.Size = new System.Drawing.Size(247, 102); this.btnCloseModule.TabIndex = 37; this.btnCloseModule.Text = "Close Module"; this.btnCloseModule.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnCloseModule.UseVisualStyleBackColor = false; this.btnCloseModule.Click += new System.EventHandler(this.btnCloseModule_Click); // // button8 // this.button8.BackColor = System.Drawing.Color.Transparent; this.button8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.button8.Cursor = System.Windows.Forms.Cursors.Hand; this.button8.FlatAppearance.BorderSize = 0; this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button8.Font = new System.Drawing.Font("Maiandra GD", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button8.ForeColor = System.Drawing.Color.DarkGray; this.button8.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button8.ImageList = this.imageList1; this.button8.Location = new System.Drawing.Point(326, 238); this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(114, 102); this.button8.TabIndex = 36; this.button8.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.button8.UseVisualStyleBackColor = false; this.button8.Visible = false; // // button7 // this.button7.BackColor = System.Drawing.Color.Transparent; this.button7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.button7.Cursor = System.Windows.Forms.Cursors.Hand; this.button7.FlatAppearance.BorderSize = 0; this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button7.Font = new System.Drawing.Font("Maiandra GD", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button7.ForeColor = System.Drawing.Color.DarkGray; this.button7.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.button7.ImageList = this.imageList1; this.button7.Location = new System.Drawing.Point(394, 262); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(114, 102); this.button7.TabIndex = 35; this.button7.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.button7.UseVisualStyleBackColor = false; this.button7.Visible = false; // // btnPatientRegRptManager // this.btnPatientRegRptManager.BackColor = System.Drawing.Color.YellowGreen; this.btnPatientRegRptManager.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnPatientRegRptManager.Cursor = System.Windows.Forms.Cursors.Hand; this.btnPatientRegRptManager.FlatAppearance.BorderSize = 0; this.btnPatientRegRptManager.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPatientRegRptManager.Font = new System.Drawing.Font("Maiandra GD", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPatientRegRptManager.ForeColor = System.Drawing.Color.DarkGreen; this.btnPatientRegRptManager.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPatientRegRptManager.ImageKey = "the_documents_icon.png"; this.btnPatientRegRptManager.ImageList = this.imageList1; this.btnPatientRegRptManager.Location = new System.Drawing.Point(261, 23); this.btnPatientRegRptManager.Name = "btnPatientRegRptManager"; this.btnPatientRegRptManager.Size = new System.Drawing.Size(247, 102); this.btnPatientRegRptManager.TabIndex = 30; this.btnPatientRegRptManager.Text = "Report Manager"; this.btnPatientRegRptManager.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnPatientRegRptManager.UseVisualStyleBackColor = false; this.btnPatientRegRptManager.Click += new System.EventHandler(this.btnPatientRegRptManager_Click); // // btnPatientSearch // this.btnPatientSearch.BackColor = System.Drawing.Color.Thistle; this.btnPatientSearch.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnPatientSearch.Cursor = System.Windows.Forms.Cursors.Hand; this.btnPatientSearch.FlatAppearance.BorderSize = 0; this.btnPatientSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPatientSearch.Font = new System.Drawing.Font("Maiandra GD", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPatientSearch.ForeColor = System.Drawing.Color.White; this.btnPatientSearch.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPatientSearch.ImageKey = "Patient Search.png"; this.btnPatientSearch.ImageList = this.imageList1; this.btnPatientSearch.Location = new System.Drawing.Point(508, 23); this.btnPatientSearch.Name = "btnPatientSearch"; this.btnPatientSearch.Size = new System.Drawing.Size(247, 102); this.btnPatientSearch.TabIndex = 29; this.btnPatientSearch.Text = "Patient Search"; this.btnPatientSearch.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnPatientSearch.UseVisualStyleBackColor = false; this.btnPatientSearch.Click += new System.EventHandler(this.btnPatientSearch_Click); // // btnPatientRegistration // this.btnPatientRegistration.BackColor = System.Drawing.Color.MediumPurple; this.btnPatientRegistration.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.btnPatientRegistration.Cursor = System.Windows.Forms.Cursors.Hand; this.btnPatientRegistration.FlatAppearance.BorderSize = 0; this.btnPatientRegistration.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPatientRegistration.Font = new System.Drawing.Font("Maiandra GD", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPatientRegistration.ForeColor = System.Drawing.Color.White; this.btnPatientRegistration.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPatientRegistration.ImageKey = "opd.jpg"; this.btnPatientRegistration.ImageList = this.imageList1; this.btnPatientRegistration.Location = new System.Drawing.Point(14, 23); this.btnPatientRegistration.Name = "btnPatientRegistration"; this.btnPatientRegistration.Size = new System.Drawing.Size(247, 102); this.btnPatientRegistration.TabIndex = 28; this.btnPatientRegistration.Text = "New Registration"; this.btnPatientRegistration.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnPatientRegistration.UseVisualStyleBackColor = false; this.btnPatientRegistration.Click += new System.EventHandler(this.btnPatientRegistrationModule_Click); // // userWidgetMetro1 // this.userWidgetMetro1.BackColor = System.Drawing.Color.Transparent; this.userWidgetMetro1.Location = new System.Drawing.Point(782, 27); this.userWidgetMetro1.Name = "userWidgetMetro1"; this.userWidgetMetro1.Size = new System.Drawing.Size(364, 122); this.userWidgetMetro1.TabIndex = 2; this.userWidgetMetro1.btnLogout_Clicked += new AtiqsControlLibrary.UserWidgetMetro.LogoutButtonClickHandler(this.userWidgetMetro1_btnLogout_Clicked); // // dateWidget1 // this.dateWidget1.BackColor = System.Drawing.Color.Transparent; this.dateWidget1.Location = new System.Drawing.Point(772, 551); this.dateWidget1.Name = "dateWidget1"; this.dateWidget1.Size = new System.Drawing.Size(374, 109); this.dateWidget1.TabIndex = 3; // // pnlModuleName // this.pnlModuleName.BackColor = System.Drawing.Color.Transparent; this.pnlModuleName.Controls.Add(this.label1); this.pnlModuleName.Location = new System.Drawing.Point(54, 131); this.pnlModuleName.Name = "pnlModuleName"; this.pnlModuleName.Size = new System.Drawing.Size(769, 54); this.pnlModuleName.TabIndex = 45; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Italic); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(90, 10); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(552, 33); this.label1.TabIndex = 36; this.label1.Text = "Patient Registration Management System"; // // frmPatientRegistrationMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.RoyalBlue; this.ClientSize = new System.Drawing.Size(1146, 660); this.Controls.Add(this.dateWidget1); this.Controls.Add(this.pnlPatientRegistration); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.userWidgetMetro1); this.Controls.Add(this.pnlModuleName); this.ForeColor = System.Drawing.Color.Black; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MainMenuStrip = this.menuStrip1; this.Name = "frmPatientRegistrationMain"; this.Opacity = 0.96D; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmPatientRegistrationMain_Load); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.pnlPatientRegistration.ResumeLayout(false); this.pnlModuleName.ResumeLayout(false); this.pnlModuleName.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.MenuStrip menuStrip1; private System.Windows.Forms.ToolStripMenuItem mnuFile; private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.Panel pnlPatientRegistration; private System.Windows.Forms.Button btnPatientRegistration; private System.Windows.Forms.Button btnCloseModule; private System.Windows.Forms.Button button8; private System.Windows.Forms.Button button7; private System.Windows.Forms.Button btnPatientRegRptManager; private System.Windows.Forms.Button btnPatientSearch; private System.Windows.Forms.ToolStripMenuItem mnuNewPatientRegistration; private System.Windows.Forms.ToolStripMenuItem mnuReport; private System.Windows.Forms.ToolStripMenuItem mnuReportManager; private System.Windows.Forms.ToolStripMenuItem mnuCloseModule; private System.Windows.Forms.ToolStripMenuItem mnuSetup; private System.Windows.Forms.ToolStripMenuItem mnuPatientSearch; private System.Windows.Forms.ToolStripMenuItem mnuUtility; private System.Windows.Forms.ToolStripMenuItem mnuChangePassword; private System.Windows.Forms.ToolStripMenuItem mnuStaffTypeSetup; private AtiqsControlLibrary.UserWidgetMetro userWidgetMetro1; private AtiqsControlLibrary.DateWidget dateWidget1; private System.Windows.Forms.Panel pnlModuleName; private System.Windows.Forms.Label label1; private System.Windows.Forms.ToolStripMenuItem mnuCorporateTypeSetup; } }
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (gt IE 8)|(gt IEMobile 7)]><!--> <html class="no-js not-oldie" lang="en" dir="ltr"> <!--<![endif]--> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="HandheldFriendly" content="true" /> <link rel="shortcut icon" href="https://www.epa.gov/sites/all/themes/epa/favicon.ico" type="image/vnd.microsoft.icon" /> <meta name="MobileOptimized" content="width" /> <meta http-equiv="cleartype" content="on" /> <meta http-equiv="ImageToolbar" content="false" /> <meta name="viewport" content="width=device-width" /> <meta name="version" content="20161218" /> <!--googleon: all--> <meta name="DC.description" content="" /> <meta name="DC.title" content="" /> <title> Building Research Infrastructure in the Environmental Sciences in North Dakota| Research Project Database | Grantee Research Project | ORD | US EPA</title> <!--googleoff: snippet--> <meta name="keywords" content="" /> <link rel="shortlink" href="" /> <link rel="canonical" href="" /> <meta name="DC.creator" content="" /> <meta name="DC.language" content="en" /> <meta name="DC.Subject.epachannel" content="" /> <meta name="DC.type" content="" /> <meta name="DC.date.created" content="" /> <meta name="DC.date.modified" content="2003-05-14" /> <!--googleoff: all--> <link type="text/css" rel="stylesheet" href="https://www.epa.gov/misc/ui/jquery.ui.autocomplete.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.epa.gov/sites/all/themes/epa/css/lib/jquery.ui.theme.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.epa.gov/sites/all/libraries/template2/s.css" media="all" /> <!--[if lt IE 9]><link type="text/css" rel="stylesheet" href="https://www.epa.gov/sites/all/themes/epa/css/ie.css" media="all" /><![endif]--> <link rel="alternate" type="application/atom+xml" title="EPA.gov All Press Releases" href="https://www.epa.gov/newsreleases/search/rss" /> <link rel="alternate" type="application/atom+xml" title="EPA.gov Headquarters Press Releases" href="https://www.epa.gov/newsreleases/search/rss/field_press_office/headquarters" /> <link rel="alternate" type="application/atom+xml" title="Greenversations, EPA's Blog" href="https://blog.epa.gov/blog/feed/" /> <!--[if lt IE 9]><script src="https://www.epa.gov/sites/all/themes/epa/js/html5.js"></script><![endif]--> <style type="text/css"> /*This style needed for highlight link. Please do not remove*/ .hlText { font-family: "Arial"; color: red; font-weight: bold; font-style: italic; background-color: yellow; } .tblClass { font-size:smaller; min-width: 10%; line-height: normal; } </style> </head> <!-- NOTE, figure out body classes! --> <body class="node-type-(web-area|page|document|webform) (microsite|resource-directory)" > <!-- Google Tag Manager --> <noscript> <iframe src="//www.googletagmanager.com/ns.html?id=GTM-L8ZB" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-L8ZB');</script> <!-- End Google Tag Manager --> <div class="skip-links"><a href="#main-content" class="skip-link element-invisible element-focusable">Jump to main content</a></div> <header class="masthead clearfix" role="banner"> <img class="site-logo" src="https://www.epa.gov/sites/all/themes/epa/logo.png" alt="" /> <hgroup class="site-name-and-slogan"> <h1 class="site-name"><a href="https://www.epa.gov/" title="Go to the home page" rel="home"><span>US EPA</span></a></h1> <div class="site-slogan">United States Environmental Protection Agency</div> </hgroup> <form class="epa-search" method="get" action="https://search.epa.gov/epasearch/epasearch"> <label class="element-hidden" for="search-box">Search</label> <input class="form-text" placeholder="Search EPA.gov" name="querytext" id="search-box" value=""/> <button class="epa-search-button" id="search-button" type="submit" title="Search">Search</button> <input type="hidden" name="fld" value="" /> <input type="hidden" name="areaname" value="" /> <input type="hidden" name="areacontacts" value="" /> <input type="hidden" name="areasearchurl" value="" /> <input type="hidden" name="typeofsearch" value="epa" /> <input type="hidden" name="result_template" value="2col.ftl" /> <input type="hidden" name="filter" value="sample4filt.hts" /> </form> </header> <section id="main-content" class="main-content clearfix" role="main"> <div class="region-preface clearfix"> <div id="block-pane-epa-web-area-connect" class="block block-pane contextual-links-region"> <ul class="menu utility-menu"> <li class="menu-item"><a href="https://www.epa.gov/research-grants/forms/contact-us-about-research-grants" class="menu-link contact-us">Contact Us</a></li> </ul> </div> </div> <div class="main-column clearfix"> <!--googleon: all--> <div class="panel-pane pane-node-content" > <div class="pane-content"> <div class="node node-page clearfix view-mode-full"> <div class="box multi related-info right clear-right" style="max-width:300px; font-size:14px;"><!--googleoff: index--> <h5 class="pane-title">Project Research Results</h5> <div class="pane-content"> <ul> <li><a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6060/report/F">Final Report</a></li> </ul> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.publications/abstract/6060">26 publications for this project</a><br /> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.journals/abstract/6060">13 journal articles for this project</a> <br /> </div> <!-- RFA Search start --> <h5 class="pane-title">Related Information</h5> <div class="pane-content"> <ul><li><a href="https://www.epa.gov/research-grants/">Research Grants</a></li> <li><a href="https://www.epa.gov/P3">P3: Student Design Competition</a></li> <li><a href="https://www.epa.gov/research-fellowships/">Research Fellowships</a></li> <li><a href="https://www.epa.gov/sbir/">Small Business Innovation Research (SBIR)</a></li> <li><a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/search.welcome">Grantee Research Project Results Search</a></li> </ul> </div> <!-- RFA Search End --><!--googleon: index--> </div> <a name="content"></a> <h2> Building Research Infrastructure in the Environmental Sciences in North Dakota</h2> <b>EPA Grant Number:</b> R828081E01<br /> <b>Title:</b> Building Research Infrastructure in the Environmental Sciences in North Dakota<br /> <b>Investigators:</b> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/6518"> Boudjouk, Philip </a> <br /> <strong>Institution:</strong> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.institutionInfo/institution/1515"> <b>North Dakota State University Main Campus</b> </a> <br /> <strong>EPA Project Officer:</strong> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/5759"> Winner, Darrell </a> <br /> <b>Project Period:</b> May 1, 2000 through August 31, 2003 <br /> <b>Project Amount:</b> $258,596 <br /> <b>RFA:</b> EPSCoR (Experimental Program to Stimulate Competitive Research) (1999) <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.rfatext/rfa_id/332">RFA Text</a>&nbsp;|&nbsp; <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/recipients.display/rfa_id/332">Recipients Lists</a> <br /> <b>Research Category:</b> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.researchCategory/rc_id/819">EPSCoR (The Experimental Program to Stimulate Competitive Research)</a> <br /> <br> <h3>Description:</h3> <p>The state of North Dakota is firmly committed to building a high quality, environmentally-related research infrastructure that is relevant to our state and the region. The SIP project includes four major goals: (1) develop a comprehensive strategy for developing a nationally competitive environmental science and engineering research program; (2) increase the number of investigators that effectively compete for EPA grants; (3) increase the number of new research programs in environmentally related areas; and (4) increase the number of students who pursue careers in environmental science and engineering. <p></p> <h3>Approach:</h3> <p>The four goals identified above will be accomplished as follows: (1) We will create an environmental Advisory Board composed of distinguished scientists and engineers to assist the North Dakota EPSCoR Steering Committee. (2) We will initiate an innovative grants program that will provide chairs and deans with the opportunity to secure startup funds for faculty they intend to hire. (3) We will initiate a competitive seed grant program that targets research programs in the early development stage that have high potential for attracting EPA grants. (4) We will develop human resource programs that reach out and form partnerships with businesses and industry in North Dakota. <p></p> <h3>Expected Results:</h3> <p>The major result of our SIP program is to improve the State of North Dakota's capacity for performing environmental research. Specific results, following the goals outlined in the Project Description, include the following: (1) the Environmental Advisory Board Committee will develop a comprehensive plan that will improve environmental research capabilities at the two research universities that is relevant to North Dakota and neighboring states; (2) the start-up grants program will improve the ability of North Dakota's research universities to compete for first-rank faculty in environmental science and engineering; (3) the seed grant program will result in a number of new research programs in environmentally-related areas; and (4) the human resource program will increase the number of students who pursue careers in environmental-related areas in science and engineering while simultaneously strengthening the ties of environmental research to North Dakota businesses. <p></p> <h3>Publications and Presentations:</h3> Publications have been submitted on this project: <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.publications/abstract/6060">View all 26 publications for this project</a> </p> <h3>Journal Articles:</h3> Journal Articles have been submitted on this project: <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.journals/abstract/6060">View all 13 journal articles for this project</a> </p> <h3>Supplemental Keywords:</h3> <i>risk assessment, soil, water, indoor air, exposure, health effects, human health, sensitive populations, chemicals, NAPL, remediation, bioremediation.</i>, RFA, Scientific Discipline, Geographic Area, ECOSYSTEMS, Ecosystem Protection/Environmental Exposure & Risk, Ecology, Ecosystem/Assessment/Indicators, Ecosystem Protection, State, Ecological Monitoring, Ecological Risk Assessment, Ecology and Ecosystems, Environmental Engineering, ecological effects, environmental health, ecological health, environmental awareness, environmental risks, environmental information, ecological assessment, ecological impacts, ecological research <p /> <P><h3>Progress and Final Reports:</h3> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6060/report/F">Final Report</a><br> </P> </div> </div> </div> <div id="block-epa-og-footer" class="block block-epa-og"> <p class="pagetop"><a href="#content">Top of Page</a></p> <!--googleoff: all--> <p id="epa-og-footer"> The perspectives, information and conclusions conveyed in research project abstracts, progress reports, final reports, journal abstracts and journal publications convey the viewpoints of the principal investigator and may not represent the views and policies of ORD and EPA. Conclusions drawn by the principal investigators have not been reviewed by the Agency. </p> </div> <!--googleoff: all--> </div> </section> <nav class="nav simple-nav simple-main-nav" role="navigation"> <div class="nav__inner"> <h2 class="element-invisible">Main menu</h2> <ul class="menu" role="menu"> <li class="menu-item" id="menu-learn" role="presentation"><a href="https://www.epa.gov/environmental-topics" title="Learn about EPA's environmental topics to help protect the environment in your home, workplace, and community and EPA&#039;s research mission is to conduct leading-edge research and foster the sound use of science and technology." class="menu-link" role="menuitem">Environmental Topics</a></li> <li class="menu-item" id="menu-lawsregs" role="presentation"><a href="https://www.epa.gov/laws-regulations" title="Laws written by Congress provide the authority for EPA to write regulations. Regulations explain the technical, operational, and legal details necessary to implement laws." class="menu-link" role="menuitem">Laws &amp; Regulations</a></li> <li class="menu-item" id="menu-about" role="presentation"><a href="https://www.epa.gov/aboutepa" title="Learn more about: our mission and what we do, how we are organized, and our history." class="menu-link" role="menuitem">About EPA</a></li> </ul> </div> </nav> <footer class="main-footer clearfix" role="contentinfo"> <div class="main-footer__inner"> <div class="region-footer"> <div class="block block-pane block-pane-epa-global-footer"> <div class="row cols-3"> <div class="col size-1of3"> <div class="col__title">Discover.</div> <ul class="menu"> <li><a href="https://www.epa.gov/accessibility">Accessibility</a></li> <li><a href="https://www.epa.gov/aboutepa/administrator-gina-mccarthy">EPA Administrator</a></li> <li><a href="https://www.epa.gov/planandbudget">Budget &amp; Performance</a></li> <li><a href="https://www.epa.gov/contracts">Contracting</a></li> <li><a href="https://www.epa.gov/home/grants-and-other-funding-opportunities">Grants</a></li> <li><a href="https://www.epa.gov/ocr/whistleblower-protections-epa-and-how-they-relate-non-disclosure-agreements-signed-epa-employees">No FEAR Act Data</a></li> <li><a href="https://www.epa.gov/home/privacy-and-security-notice">Privacy and Security</a></li> </ul> </div> <div class="col size-1of3"> <div class="col__title">Connect.</div> <ul class="menu"> <li><a href="https://www.data.gov/">Data.gov</a></li> <li><a href="https://www.epa.gov/office-inspector-general/about-epas-office-inspector-general">Inspector General</a></li> <li><a href="https://www.epa.gov/careers">Jobs</a></li> <li><a href="https://www.epa.gov/newsroom">Newsroom</a></li> <li><a href="https://www.whitehouse.gov/open">Open Government</a></li> <li><a href="http://www.regulations.gov/">Regulations.gov</a></li> <li><a href="https://www.epa.gov/newsroom/email-subscriptions">Subscribe</a></li> <li><a href="https://www.usa.gov/">USA.gov</a></li> <li><a href="https://www.whitehouse.gov/">White House</a></li> </ul> </div> <div class="col size-1of3"> <div class="col__title">Ask.</div> <ul class="menu"> <li><a href="https://www.epa.gov/home/forms/contact-us">Contact Us</a></li> <li><a href="https://www.epa.gov/home/epa-hotlines">Hotlines</a></li> <li><a href="https://www.epa.gov/foia">FOIA Requests</a></li> <li><a href="https://www.epa.gov/home/frequent-questions-specific-epa-programstopics">Frequent Questions</a></li> </ul> <div class="col__title">Follow.</div> <ul class="social-menu"> <li><a class="menu-link social-facebook" href="https://www.facebook.com/EPA">Facebook</a></li> <li><a class="menu-link social-twitter" href="https://twitter.com/epa">Twitter</a></li> <li><a class="menu-link social-youtube" href="https://www.youtube.com/user/USEPAgov">YouTube</a></li> <li><a class="menu-link social-flickr" href="https://www.flickr.com/photos/usepagov">Flickr</a></li> <li><a class="menu-link social-instagram" href="https://instagram.com/epagov">Instagram</a></li> </ul> <p class="last-updated">Last updated on Wednesday, May 14, 2003</p> </div> </div> </div> </div> </div> </footer> <script src="https://www.epa.gov/sites/all/libraries/template2/jquery.js"></script> <script src="https://www.epa.gov/sites/all/libraries/template/js.js"></script> <script src="https://www.epa.gov/sites/all/modules/custom/epa_core/js/alert.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.core.min.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.widget.min.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.position.min.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.autocomplete.min.js"></script> <!--[if lt IE 9]><script src="https://www.epa.gov/sites/all/themes/epa/js/ie.js"></script><![endif]--> <!-- REMOVE if not using --> <script language=javascript> <!-- // Activate cloak // pressing enter will not default submit the first defined button but the programmed defined button function chkCDVal(cdVal) { var isErr = true; try{ var CDParts = cdVal.split(','); var st = CDParts[0]; var cd = CDParts[1]; var objRegExp = new RegExp('[0-9][0-9]'); if (!isNaN(st)) { isErr = false; } if (!objRegExp.test(cd) || (cd.length>3)){ isErr = false; } } catch(err){ isErr = false; } return isErr; } function checkCongDist(cdtxt) { //alert(cdtxt.value); if (!chkCDVal(cdtxt.value)) { alert('Congressional District MUST be in the following format: state, district; example: Virginia, 08'); return false; } else { return true; } } function fnTrapKD(btn, event) { var btn = getObject(btn); if (document.all) { if (event.keyCode == 13) { event.returnValue=false;event.cancel = true;btn.click(); } } else { if (event.which == 13) { event.returnValue=false;event.cancelBubble = true;btn.click(); } } } function CheckFilter() { if (document.searchform.presetTopic.options[document.searchform.presetTopic.selectedIndex].value == 'NA'){ alert('You must select a subtopic. \n This item is not selectable'); document.searchform.presetTopic.options[0].selected = true; } } function openHelpWindow(url,title,scrollable) { var win = window.open(url,"title",'width=300,height=220,left=320,top=150,resizable=1,scrollbars='+scrollable+',menubar=no,status=no'); win.focus(); } function openNewWindow(url,title,scrollable) { var win = window.open(url,"title",'width=300,height=220,left=320,top=150,resizable=1,scrollbars='+scrollable+',menubar=no,status=no'); } function openNewWindow(url,title) { var win = window.open(url,"title",'width=300,height=220,left=320,top=150,resizable=1,scrollbars=no,menubar=no,status=no'); } function openNewMapWindow(url,title) { var win = window.open(url,"title",'width=800,height=450,left=320,top=150,resizable=1,scrollbars=no,menubar=no,status=no'); } function openNoticeWindow(url,title) { var win = window.open(url,"title",'width=300,height=150,left=500,top=150,resizable=1,scrollbars=no,menubar=no,status=no'); } function openNewSearchWindow(site,subj) { title = 'window'; var win = window.open('https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.pubsearch/site/' + site + '/redirect/' + subj,"title",'width=640,height=480,resizable=1,scrollbars=yes,menubar=yes,status=no'); } function autoCheck(name) { document.forms['thisForm'].elements[name].checked = true; } function alertUser() { var ok = alert("This search might take longer than expected. Please refrain from hitting the refresh or reload button on your browser. The search results will appear after the search is complete. Thank you."); } function closePopupWindow(redirectUrl) { opener.location = redirectUrl; opener.focus(); this.close(); } //--> </script> </body> </html>
After James Wan Conjuring-esque idea for an Aquaman spin-off about The Trench film in development – spawning many a criticism and head-scratching alike – news of Aquaman 2 has been made known. Production on the Aquaman sequel has official begun development. Rumour has it the (working) title for the sequel is Aquaman: The King Dead and is slated for a 2022 release. With that also comes news that a writer is attached. David Leslie Johnson-McGoldrick, who co-wrote the first flick, is on board again for the sequel. But it looks like James Wan may not be directing the sequel, but however will remain on as a producer alongside Peter Safran. As for actors, Jason Momoa is certainly returning as the aquatic King alongside Amber Heard’s Mera. And if we are to go by the post-credit ‘cliffhanger’, Yahya Abdul-Mateen II’s Black Manta will be the nemesis (or one of, at least) for the second go around.
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.04.02 at 04:08:12 PM EDT // package org.opengeoportal.ogc.wmc.jaxb; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * * A "SymbolizerType" is an abstract type for encoding the graphical * properties used to portray geographic information. Concrete symbol * types are derived from this base type. * * * <p>Java class for SymbolizerType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="SymbolizerType"> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;/restriction> * &lt;/complexContent> * &lt;/complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SymbolizerType") @XmlSeeAlso({ LineSymbolizer.class, PointSymbolizer.class, PolygonSymbolizer.class, TextSymbolizer.class, RasterSymbolizer.class }) public abstract class SymbolizerType { }
Get your belt-line buzzin' with smokin' new tee! See how if you replace the 'g' on certain words it makes it sound like copy for a sales pitch? Wow. Words are a wonder. I've been listening to Boys by Charlie XCX way too much so this is the result. Again, everything is hand screen printed so some bumps and blemishes may exist. But i made it with love and smooches. Tell all your friends.
#!/bin/sh setkeycodes 0xA0 113 # Fn+D setkeycodes 0xAE 114 # Fn+F setkeycodes 0xB0 115 # Fn+G setkeycodes 0xDF 142 # Fn+W setkeycodes 0xE0 237 # Fn+H setkeycodes 0xE2 154 # Fn+Esc setkeycodes 0xEE 236 # Fn+Q setkeycodes 0xF0 226 # Fn+R setkeycodes 0xF5 227 # Fn+E setkeycodes 0xF6 212 # Fn+T setkeycodes 0xF7 191 # Fn+Y (touchpad toggle) setkeycodes 0xF8 225 # Fn+S setkeycodes 0xF9 224 # Fn+A setkeycodes 0xFB 238 # Fn+J
/** @file * * @ingroup modularWebSocket * * @brief A WebSocket send object manager * * @details * * @authors Théo de la Hogue, Laurent Garnier * * @copyright Copyright © 2013, Théo de la Hogue @n * This code is licensed under the terms of the "New BSD License" @n * http://creativecommons.org/licenses/BSD/ */ #ifndef WEBSOCKET_SENDER_MANAGER #define WEBSOCKET_SENDER_MANAGER #include "WebSocket.h" class WebSocket; typedef WebSocket* WebSocketPtr; class WebSocketSenderManager { private: TTHash mSenders; public: WebSocketSenderManager(); virtual ~WebSocketSenderManager(); // check if the parameter are still the same and change the parameter if not // if the sender doesn't exist it adds a sender TTObject lookup(TTSymbol applicationName); private: // add a new sender for an application TTObject add(TTSymbol applicationName); }; typedef WebSocketSenderManager* WebSocketSenderManagerPtr; #endif // WEBSOCKET_SENDER_MANAGER
Hispanic Market Advisors℠ is looking to fill 1 part-time (20 hours per week) position for an Online Marketing Specialist who is knowledgeable in SEO for the Latino market, link building, local search and social media, Google Analytics, and other digital marketing strategies. Hispanic Market Advisors ℠ is a boutique digital marketing agency connecting brands and professionals with Hispanic consumers. Learn a bit about what we do here. Search engine optimization (SEO), as it relates to the Latino market, including Spanish SEO. Conversion rate optimization (CRO), for improving conversion rates on clients’ websites. This person must have a keen sense of project management, organization and attention to detail. Must also be willing to go above and beyond the call of duty for the client and deliver excellent service. Work-from-Home, with in person meetings at our office one day a week. This position has the inherent potential to grow into a full-time role with our company. Ability to optimize various site elements, site structure, architecture, linking and content. Have strong knowledge of Microsoft Office Word, Excel, PowerPoint and Outlook. Credible, confident and articulate, with excellent communication and negotiation skills. Proactive and highly organized, with strong time management, organization and planning skills. Results driven, able to meet tight deadlines and remain calm under pressure. Attentive to details and able to take direction well and with accuracy. You will be working remotely (home), with in person meetings at our office one day a week. Meeting location is Midtown Miami. If you are looking for a challenge with an upbeat boutique digital marketing company in a fast-paced industry, an exciting atmosphere, and an entrepreneurial environment then apply today.
FREE SHIPPING on all orders! Buy prescription VAGIFEM without prescription! The above VAGIFEM information is intended to supplement, not substitute for, the expertise and judgment of your physician, or other healthcare professional. It should not be construed to indicate that to buy and use VAGIFEM is safe, appropriate, or effective for you. VAGIFEM uses: Common uses -This medicine is a female hormone and is usually given to women who do not produce the proper amount. It is used to reduce menopause symptoms (such as vaginal dryness). It may also be used to treat other conditions as determined by your doctor. Buying discount VAGIFEM online can be simple and convenient. You can obtain quality prescription VAGIFEM at a substantial savings through some of the listed pharmacies. Simply click Order VAGIFEM Online to see the latest pricing and availability. Get deep discounts without leaving your house when you buy discount VAGIFEM directly from an international pharmacy! This drugstores has free online medical consultation and World wide discreet shipping for order VAGIFEM. No driving or waiting in line. The foreign name is listed when you order discount VAGIFEM if it differs from your country's local name. No prescription is needed when you buy VAGIFEM online from an international pharmacy. If needed, some pharmacies will provide you a prescription based on an online medical evaluation. YourRxMeds customers can therefore buy VAGIFEM online with total confidence. They know they will receive the same product that they have been using in their own country, so they know it will work as well as it has always worked. Note that when you purchase VAGIFEM online, different manufacturers use different marketing, manufacturing or packaging methods. Welcome all from United States, United Kingdom, Italy, France, Canada, Germany, Austria, Spain, Russia, Netherlands, Japan, Hong Kong, Australia and the entire World. Thank you for visiting our VAGIFEM information page.
/* * Copyright 2015 Eduardo Duarte * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.edduarte.vokter; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.GnuParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Eduardo Duarte (<a href="mailto:[email protected]">[email protected]</a>) * @version 1.3.2 * @since 1.0.0 */ public class Main { private static final Logger logger = LoggerFactory.getLogger(Main.class); public static void main(String[] args) { installUncaughtExceptionHandler(); CommandLineParser parser = new GnuParser(); Options options = new Options(); options.addOption("t", "threads", true, "Number of threads to be used " + "for computation and indexing processes. Defaults to the number " + "of available cores."); options.addOption("p", "port", true, "Core server port. Defaults to 9000."); options.addOption("dbh", "db-host", true, "Database host. Defaults to localhost."); options.addOption("dbp", "db-port", true, "Database port. Defaults to 27017."); options.addOption("case", "preserve-case", false, "Keyword matching with case sensitivity."); options.addOption("stop", "stopwords", false, "Keyword matching with stopword filtering."); options.addOption("stem", "stemming", false, "Keyword matching with stemming (lexical variants)."); options.addOption("h", "help", false, "Shows this help prompt."); CommandLine commandLine; try { // Parse the program arguments commandLine = parser.parse(options, args); } catch (ParseException ex) { logger.error("There was a problem processing the input arguments. " + "Write -h or --help to show the list of available commands."); logger.error(ex.getMessage(), ex); return; } if (commandLine.hasOption('h')) { HelpFormatter formatter = new HelpFormatter(); formatter.printHelp("java -jar vokter-core.jar", options); return; } int maxThreads = Runtime.getRuntime().availableProcessors() - 1; maxThreads = maxThreads > 0 ? maxThreads : 1; if (commandLine.hasOption('t')) { String threadsText = commandLine.getOptionValue('t'); maxThreads = Integer.parseInt(threadsText); if (maxThreads <= 0 || maxThreads > 32) { logger.error("Invalid number of threads. Must be a number between 1 and 32."); return; } } int port = 9000; if (commandLine.hasOption('p')) { String portString = commandLine.getOptionValue('p'); port = Integer.parseInt(portString); } String dbHost = "localhost"; if (commandLine.hasOption("dbh")) { dbHost = commandLine.getOptionValue("dbh"); } int dbPort = 27017; if (commandLine.hasOption("dbp")) { String portString = commandLine.getOptionValue("dbp"); dbPort = Integer.parseInt(portString); } boolean isIgnoringCase = true; if (commandLine.hasOption("case")) { isIgnoringCase = false; } boolean isStoppingEnabled = false; if (commandLine.hasOption("stop")) { isStoppingEnabled = true; } boolean isStemmingEnabled = false; if (commandLine.hasOption("stem")) { isStemmingEnabled = true; } try { Context context = Context.getInstance(); context.setIgnoreCase(isIgnoringCase); context.setStopwordsEnabled(isStoppingEnabled); context.setStemmingEnabled(isStemmingEnabled); context.start(port, maxThreads, dbHost, dbPort); } catch (Exception ex) { ex.printStackTrace(); logger.info("Shutting down the server..."); System.exit(1); } } private static void installUncaughtExceptionHandler() { Thread.setDefaultUncaughtExceptionHandler((t, e) -> { if (e instanceof ThreadDeath) { logger.warn("Ignoring uncaught ThreadDead exception."); return; } logger.error("Uncaught exception on cli thread, aborting.", e); System.exit(0); }); } }
<?php function Users_importContacts_response_content() { return Q::tool('Users/importContacts', array('platform'=>$_GET['platform'])); }
Multiple calcific foci with radiolucent center noted around elbow region. Soft tissue swelling seen in subcutaneous plane. These slow flow vascular malformations were previously known as soft tissue hemangiomas. They can arise in muscle, skin, subcutaneous tissue, and synovial tissue. On ultrasound, cystic spaces are seen with no detectable signal or only weak colour doppler signal. Phleboliths can be seen easily with radiographs or CT. MRI is the investigation of choice to characterize the lesion.
/* * 11/19/04 1.0 moved to LGPL. * 01/12/99 Initial version. [email protected] *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *---------------------------------------------------------------------- */ package rehost.javazoom.jl.decoder; /** * The <code>DecoderException</code> represents the class of * errors that can occur when decoding MPEG audio. * * @author MDM */ public class DecoderException extends JavaLayerException implements DecoderErrors { private int errorcode = UNKNOWN_ERROR; public DecoderException(String msg, Throwable t) { super(msg, t); } public DecoderException(int errorcode, Throwable t) { this(getErrorString(errorcode), t); this.errorcode = errorcode; } public int getErrorCode() { return errorcode; } static public String getErrorString(int errorcode) { // REVIEW: use resource file to map error codes // to locale-sensitive strings. return "Decoder errorcode "+Integer.toHexString(errorcode); } }
The Abels yard closed when David Abels retired two years ago. This historic dry dock is the largest in Bristol and is owned by Bristol City Council. The 540ft-long Grade II listed Albion Dry Dock was originally constructed in 1820. It was created by Charles Hill and James Hilhouse which became the Charles Hill Shipyard which built many ships on the site until it closed down in 1977. Abels Shipbuilders continued to build small ships and workboats in the shipyard from 1980 onwards, while the Bristol Marina was created across the rest of the Charles Hill yard. Now the SS Great Britain Trust is working in association with the Albion Dock Company to provide repair, maintenance and shipbuilding services for larger vessels from within Bristol Harbour and beyond. The Albion Dock Company has been established by experienced maritime manufacturer Martin Childs along with Paul and Steve Beacham who run the Sharpness Shipyard and Dry Dock at the head of the Bristol Channel. As the city’s biggest dry dock, large Bristol-based ships are likely to have priority for repair and maintenance. Ships from outside Bristol are also expected to use Albion services, further boosting the harbour economy and supporting jobs for skilled maritime craftspeople. The Albion Dry Dock fills from the Floating Harbour and drains into the adjacent river thus obviating the need for pumps to help empty and fill the dry dock. There is a large moveable cover to part of the dry dock. Martin Childs, Director at the Albion Dock Company, says: “Together with the services already offered by the Underfall Yard and the Bristol Marina, a functioning Albion Dry Dock will mean that Bristol can support an even broader range of high-quality maritime services. We are looking forward to welcoming our first customers."
Color: Brown Size: Large Size: Alphanumeric String, 20 Character Max. Color: Brown. Gender: Unisex. Age Group: Child. Outward Hound Nina Ottosson Dog Smart Puzzle Game Large Orange 12.25" x 11.25" x 1.75"
/*********************************************************************** * * This file is part of Anthaxia. * * Anthaxia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Anthaxia is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Anthaxia. If not, see <http://www.gnu.org/licenses/>. * ***********************************************************************/ #include "ModelControl.h" #include "Logging/Logging.h" #include "plugins/processor/ProcessorControl.h" #include "plugins/processor/ProcessorControlUpdateInterface.h" #include "plugins/PluginManager.h" #include "Poco/Util/Application.h" #include "Poco/Path.h" #include <iostream> ModelControl* ModelControl::pInstance = 0; DEFINE_STATIC_LOGGER("core.ModelControl"); ModelControl* ModelControl::getInstance() { if (pInstance == 0) { pInstance = new ModelControl; } return pInstance; } ModelControl::ModelControl() : mModel(0) { } ModelControl::~ModelControl() { if (mModel) { delete mModel; mModel = 0; } } void ModelControl::loadModel(const std::string& modelname) { LOG_DEBUG("Trying to create model instance " << modelname); PluginManager& plugin_manager = Poco::Util::Application::instance().getSubsystem<PluginManager>(); ProcessorControl* temp = plugin_manager.createProcessorControl(modelname); if (temp) { LOG_DEBUG("Successfully created instance " << modelname); mModel = temp; this->notifyModelChanged(mModel); } else { LOG_DEBUG("Could not create model " << modelname); } } std::vector<std::string> ModelControl::getProcessorList() const { std::vector<std::string> processorModels; PluginManager& plugin_manager = Poco::Util::Application::instance().getSubsystem<PluginManager>(); std::list<std::string> l = plugin_manager.getProcessorList(); for (std::list<std::string>::const_iterator it=l.begin(); it != l.end(); ++it) { processorModels.push_back(std::string((*it).c_str())); } return processorModels; } void ModelControl::startSimulation() { if (mModel) { LOG_DEBUG("Starting the simulation"); mModel->run(); } } void ModelControl::stepSimulation() { if (mModel) { LOG_DEBUG("Executing one step of the simulation"); mModel->step(); } } void ModelControl::stopSimulation() { if (mModel) { LOG_DEBUG("Stopping the simulation"); mModel->stop(); } } void ModelControl::resetSimulation() { if (mModel) { LOG_DEBUG("Reseting the simulation"); mModel->reset(); } } int ModelControl::getPC() const { if (mModel) return mModel->getPC(); else return 0; } bool ModelControl::getRegister(int index, int& value) const { if (mModel) return mModel->getRegister(index, value); else return false; } bool ModelControl::setRegister(int index, int value) { if (mModel) return mModel->setRegister(index, value); else return false; } bool ModelControl::getRegisterName(int index, std::string& name) const { if (mModel) return mModel->getRegisterName(index, name); else return false; } int ModelControl::getRegisterCount() const { if (mModel) return mModel->getRegisterCount(); else return 0; } bool ModelControl::isRegisterDirty(int index) const { if (mModel) return mModel->isRegisterDirty(index); else return false; } bool ModelControl::setSmallMemoryByte(int address, unsigned char value) { if (mModel) return mModel->setSmallMemoryByte(address, value); else return false; } bool ModelControl::getSmallMemoryByte(int address, unsigned char& value) const { if (mModel) return mModel->getSmallMemoryByte(address, value); else return false; } bool ModelControl::setSmallMemoryHalfWord(int address, unsigned short value) { if (mModel) return mModel->setSmallMemoryHalfWord(address, value); else return false; } bool ModelControl::getSmallMemoryHalfWord(int address, unsigned short& value) const { if (mModel) return mModel->getSmallMemoryHalfWord(address, value); else return false; } bool ModelControl::setSmallMemoryWord(int address, unsigned int value) { if (mModel) return mModel->setSmallMemoryWord(address, value); else return false; } bool ModelControl::getSmallMemoryWord(int address, unsigned int& value) const { if (mModel) return mModel->getSmallMemoryWord(address, value); else return false; } std::string ModelControl::disassembleInstruction(int address) const { return mModel->disassembleInstruction(address).c_str(); } void ModelControl::loadImage(const std::string& fileName) { Poco::Path path(fileName); PluginManager& plugin_manager = Poco::Util::Application::instance().getSubsystem<PluginManager>(); ImageLoader* loader = plugin_manager.createImageLoader(path.getExtension()); if (loader) { LOG_DEBUG("Found an image loader plugin for suffix " << path.getExtension()); MemoryByteInterface* interface = this->getByteInterfaceByIndex(0); loader->loadImage(fileName, interface); } else { LOG_ERROR("Couldn't find an image loader for this extension"); } } void ModelControl::registerProcessorControlObserver(ProcessorControlUpdateInterface* observer) { LOG_DEBUG("Adding an observer to the model control observer list"); mProcessorControlObservers.push_back(observer); } void ModelControl::getMemoryList(std::vector<std::string>& list) { } void ModelControl::notifyModelChanged(ProcessorControl* newModel) { LOG_DEBUG("Informing all observers about the new model"); for (std::vector<ProcessorControlUpdateInterface*>::iterator iter = mProcessorControlObservers.begin(); iter != mProcessorControlObservers.end(); iter++) { (*iter)->handleModelChanged(newModel); } } MemoryByteInterface* ModelControl::getByteInterfaceByName(std::string& memory_name) { if (mModel) return mModel->getByteInterfaceByName(memory_name); else return 0; } MemoryWordInterface* ModelControl::getWordInterfaceByName(std::string& memory_name) { if (mModel) return mModel->getWordInterfaceByName(memory_name); else return 0; } MemoryByteInterface* ModelControl::getByteInterfaceByIndex(int index) { if (mModel) return mModel->getByteInterfaceByIndex(index); else return 0; } MemoryWordInterface* ModelControl::getWordInterfaceByIndex(int index) { if (mModel) return mModel->getWordInterfaceByIndex(index); else return 0; }
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package org.apache.jmeter.protocol.jdbc; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.lang.reflect.Field; import java.sql.CallableStatement; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.collections.map.LRUMap; import org.apache.jmeter.samplers.SampleResult; import org.apache.jmeter.save.CSVSaveService; import org.apache.jmeter.testelement.AbstractTestElement; import org.apache.jmeter.testelement.TestStateListener; import org.apache.jmeter.threads.JMeterVariables; import org.apache.jmeter.util.JMeterUtils; import org.apache.jorphan.logging.LoggingManager; import org.apache.log.Logger; /** * A base class for all JDBC test elements handling the basics of a SQL request. * */ public abstract class AbstractJDBCTestElement extends AbstractTestElement implements TestStateListener{ private static final long serialVersionUID = 235L; private static final Logger log = LoggingManager.getLoggerForClass(); private static final String COMMA = ","; // $NON-NLS-1$ private static final char COMMA_CHAR = ','; private static final String UNDERSCORE = "_"; // $NON-NLS-1$ // String used to indicate a null value private static final String NULL_MARKER = JMeterUtils.getPropDefault("jdbcsampler.nullmarker","]NULL["); // $NON-NLS-1$ private static final int MAX_OPEN_PREPARED_STATEMENTS = JMeterUtils.getPropDefault("jdbcsampler.maxopenpreparedstatements", 100); private static final String INOUT = "INOUT"; // $NON-NLS-1$ private static final String OUT = "OUT"; // $NON-NLS-1$ // TODO - should the encoding be configurable? protected static final String ENCODING = "UTF-8"; // $NON-NLS-1$ // key: name (lowercase) from java.sql.Types; entry: corresponding int value private static final Map<String, Integer> mapJdbcNameToInt; // read-only after class init static { // based on e291. Getting the Name of a JDBC Type from javaalmanac.com // http://javaalmanac.com/egs/java.sql/JdbcInt2Str.html mapJdbcNameToInt = new HashMap<>(); //Get all fields in java.sql.Types and store the corresponding int values Field[] fields = java.sql.Types.class.getFields(); for (int i=0; i<fields.length; i++) { try { String name = fields[i].getName(); Integer value = (Integer)fields[i].get(null); mapJdbcNameToInt.put(name.toLowerCase(java.util.Locale.ENGLISH),value); } catch (IllegalAccessException e) { throw new RuntimeException(e); // should not happen } } } // Query types (used to communicate with GUI) // N.B. These must not be changed, as they are used in the JMX files static final String SELECT = "Select Statement"; // $NON-NLS-1$ static final String UPDATE = "Update Statement"; // $NON-NLS-1$ static final String CALLABLE = "Callable Statement"; // $NON-NLS-1$ static final String PREPARED_SELECT = "Prepared Select Statement"; // $NON-NLS-1$ static final String PREPARED_UPDATE = "Prepared Update Statement"; // $NON-NLS-1$ static final String COMMIT = "Commit"; // $NON-NLS-1$ static final String ROLLBACK = "Rollback"; // $NON-NLS-1$ static final String AUTOCOMMIT_FALSE = "AutoCommit(false)"; // $NON-NLS-1$ static final String AUTOCOMMIT_TRUE = "AutoCommit(true)"; // $NON-NLS-1$ static final String RS_STORE_AS_STRING = "Store as String"; // $NON-NLS-1$ static final String RS_STORE_AS_OBJECT = "Store as Object"; // $NON-NLS-1$ static final String RS_COUNT_RECORDS = "Count Records"; // $NON-NLS-1$ private String query = ""; // $NON-NLS-1$ private String dataSource = ""; // $NON-NLS-1$ private String queryType = SELECT; private String queryArguments = ""; // $NON-NLS-1$ private String queryArgumentsTypes = ""; // $NON-NLS-1$ private String variableNames = ""; // $NON-NLS-1$ private String resultSetHandler = RS_STORE_AS_STRING; private String resultVariable = ""; // $NON-NLS-1$ private String queryTimeout = ""; // $NON-NLS-1$ /** * Cache of PreparedStatements stored in a per-connection basis. Each entry of this * cache is another Map mapping the statement string to the actual PreparedStatement. * At one time a Connection is only held by one thread */ private static final Map<Connection, Map<String, PreparedStatement>> perConnCache = new ConcurrentHashMap<>(); /** * Creates a JDBCSampler. */ protected AbstractJDBCTestElement() { } /** * Execute the test element. * * @param conn a {@link SampleResult} in case the test should sample; <code>null</code> if only execution is requested * @return the result of the execute command * @throws SQLException if a database error occurs * @throws UnsupportedEncodingException when the result can not be converted to the required charset * @throws IOException when I/O error occurs * @throws UnsupportedOperationException if the user provided incorrect query type */ protected byte[] execute(Connection conn) throws SQLException, UnsupportedEncodingException, IOException, UnsupportedOperationException { log.debug("executing jdbc"); Statement stmt = null; try { // Based on query return value, get results String _queryType = getQueryType(); if (SELECT.equals(_queryType)) { stmt = conn.createStatement(); stmt.setQueryTimeout(getIntegerQueryTimeout()); ResultSet rs = null; try { rs = stmt.executeQuery(getQuery()); return getStringFromResultSet(rs).getBytes(ENCODING); } finally { close(rs); } } else if (CALLABLE.equals(_queryType)) { CallableStatement cstmt = getCallableStatement(conn); int out[]=setArguments(cstmt); // A CallableStatement can return more than 1 ResultSets // plus a number of update counts. boolean hasResultSet = cstmt.execute(); String sb = resultSetsToString(cstmt,hasResultSet, out); return sb.getBytes(ENCODING); } else if (UPDATE.equals(_queryType)) { stmt = conn.createStatement(); stmt.setQueryTimeout(getIntegerQueryTimeout()); stmt.executeUpdate(getQuery()); int updateCount = stmt.getUpdateCount(); String results = updateCount + " updates"; return results.getBytes(ENCODING); } else if (PREPARED_SELECT.equals(_queryType)) { PreparedStatement pstmt = getPreparedStatement(conn); setArguments(pstmt); ResultSet rs = null; try { rs = pstmt.executeQuery(); return getStringFromResultSet(rs).getBytes(ENCODING); } finally { close(rs); } } else if (PREPARED_UPDATE.equals(_queryType)) { PreparedStatement pstmt = getPreparedStatement(conn); setArguments(pstmt); pstmt.executeUpdate(); String sb = resultSetsToString(pstmt,false,null); return sb.getBytes(ENCODING); } else if (ROLLBACK.equals(_queryType)){ conn.rollback(); return ROLLBACK.getBytes(ENCODING); } else if (COMMIT.equals(_queryType)){ conn.commit(); return COMMIT.getBytes(ENCODING); } else if (AUTOCOMMIT_FALSE.equals(_queryType)){ conn.setAutoCommit(false); return AUTOCOMMIT_FALSE.getBytes(ENCODING); } else if (AUTOCOMMIT_TRUE.equals(_queryType)){ conn.setAutoCommit(true); return AUTOCOMMIT_TRUE.getBytes(ENCODING); } else { // User provided incorrect query type throw new UnsupportedOperationException("Unexpected query type: "+_queryType); } } finally { close(stmt); } } private String resultSetsToString(PreparedStatement pstmt, boolean result, int[] out) throws SQLException, UnsupportedEncodingException { StringBuilder sb = new StringBuilder(); int updateCount = 0; if (!result) { updateCount = pstmt.getUpdateCount(); } do { if (result) { ResultSet rs = null; try { rs = pstmt.getResultSet(); sb.append(getStringFromResultSet(rs)).append("\n"); // $NON-NLS-1$ } finally { close(rs); } } else { sb.append(updateCount).append(" updates.\n"); } result = pstmt.getMoreResults(); if (!result) { updateCount = pstmt.getUpdateCount(); } } while (result || (updateCount != -1)); if (out!=null && pstmt instanceof CallableStatement){ List<Object> outputValues = new ArrayList<>(); CallableStatement cs = (CallableStatement) pstmt; sb.append("Output variables by position:\n"); for(int i=0; i < out.length; i++){ if (out[i]!=java.sql.Types.NULL){ Object o = cs.getObject(i+1); outputValues.add(o); sb.append("["); sb.append(i+1); sb.append("] "); sb.append(o); if( o instanceof java.sql.ResultSet && RS_COUNT_RECORDS.equals(resultSetHandler)) { sb.append(" ").append(countRows((ResultSet) o)).append(" rows"); } sb.append("\n"); } } String varnames[] = getVariableNames().split(COMMA); if(varnames.length > 0) { JMeterVariables jmvars = getThreadContext().getVariables(); for(int i = 0; i < varnames.length && i < outputValues.size(); i++) { String name = varnames[i].trim(); if (name.length()>0){ // Save the value in the variable if present Object o = outputValues.get(i); if( o instanceof java.sql.ResultSet ) { ResultSet resultSet = (ResultSet) o; if(RS_STORE_AS_OBJECT.equals(resultSetHandler)) { jmvars.putObject(name, o); } else if( RS_COUNT_RECORDS.equals(resultSetHandler)) { jmvars.put(name,o.toString()+" "+countRows(resultSet)+" rows"); } else { jmvars.put(name, o.toString()); } } else { jmvars.put(name, o == null ? null : o.toString()); } } } } } return sb.toString(); } /** * Count rows in result set * @param resultSet {@link ResultSet} * @return number of rows in resultSet * @throws SQLException */ private static final int countRows(ResultSet resultSet) throws SQLException { return resultSet.last() ? resultSet.getRow() : 0; } private int[] setArguments(PreparedStatement pstmt) throws SQLException, IOException { if (getQueryArguments().trim().length()==0) { return new int[]{}; } String[] arguments = CSVSaveService.csvSplitString(getQueryArguments(), COMMA_CHAR); String[] argumentsTypes = getQueryArgumentsTypes().split(COMMA); if (arguments.length != argumentsTypes.length) { throw new SQLException("number of arguments ("+arguments.length+") and number of types ("+argumentsTypes.length+") are not equal"); } int[] outputs= new int[arguments.length]; for (int i = 0; i < arguments.length; i++) { String argument = arguments[i]; String argumentType = argumentsTypes[i]; String[] arg = argumentType.split(" "); String inputOutput=""; if (arg.length > 1) { argumentType = arg[1]; inputOutput=arg[0]; } int targetSqlType = getJdbcType(argumentType); try { if (!OUT.equalsIgnoreCase(inputOutput)){ if (argument.equals(NULL_MARKER)){ pstmt.setNull(i+1, targetSqlType); } else { pstmt.setObject(i+1, argument, targetSqlType); } } if (OUT.equalsIgnoreCase(inputOutput)||INOUT.equalsIgnoreCase(inputOutput)) { CallableStatement cs = (CallableStatement) pstmt; cs.registerOutParameter(i+1, targetSqlType); outputs[i]=targetSqlType; } else { outputs[i]=java.sql.Types.NULL; // can't have an output parameter type null } } catch (NullPointerException e) { // thrown by Derby JDBC (at least) if there are no "?" markers in statement throw new SQLException("Could not set argument no: "+(i+1)+" - missing parameter marker?"); } } return outputs; } private static int getJdbcType(String jdbcType) throws SQLException { Integer entry = mapJdbcNameToInt.get(jdbcType.toLowerCase(java.util.Locale.ENGLISH)); if (entry == null) { try { entry = Integer.decode(jdbcType); } catch (NumberFormatException e) { throw new SQLException("Invalid data type: "+jdbcType); } } return (entry).intValue(); } private CallableStatement getCallableStatement(Connection conn) throws SQLException { return (CallableStatement) getPreparedStatement(conn,true); } private PreparedStatement getPreparedStatement(Connection conn) throws SQLException { return getPreparedStatement(conn,false); } private PreparedStatement getPreparedStatement(Connection conn, boolean callable) throws SQLException { Map<String, PreparedStatement> preparedStatementMap = perConnCache.get(conn); if (null == preparedStatementMap ) { @SuppressWarnings("unchecked") // LRUMap is not generic Map<String, PreparedStatement> lruMap = new LRUMap(MAX_OPEN_PREPARED_STATEMENTS) { private static final long serialVersionUID = 1L; @Override protected boolean removeLRU(LinkEntry entry) { PreparedStatement preparedStatement = (PreparedStatement)entry.getValue(); close(preparedStatement); return true; } }; preparedStatementMap = Collections.<String, PreparedStatement>synchronizedMap(lruMap); // As a connection is held by only one thread, we cannot already have a // preparedStatementMap put by another thread perConnCache.put(conn, preparedStatementMap); } PreparedStatement pstmt = preparedStatementMap.get(getQuery()); if (null == pstmt) { if (callable) { pstmt = conn.prepareCall(getQuery()); } else { pstmt = conn.prepareStatement(getQuery()); } pstmt.setQueryTimeout(getIntegerQueryTimeout()); // PreparedStatementMap is associated to one connection so // 2 threads cannot use the same PreparedStatement map at the same time preparedStatementMap.put(getQuery(), pstmt); } else { int timeoutInS = getIntegerQueryTimeout(); if(pstmt.getQueryTimeout() != timeoutInS) { pstmt.setQueryTimeout(getIntegerQueryTimeout()); } } pstmt.clearParameters(); return pstmt; } private static void closeAllStatements(Collection<PreparedStatement> collection) { for (PreparedStatement pstmt : collection) { close(pstmt); } } /** * Gets a Data object from a ResultSet. * * @param rs * ResultSet passed in from a database query * @return a Data object * @throws java.sql.SQLException * @throws UnsupportedEncodingException */ private String getStringFromResultSet(ResultSet rs) throws SQLException, UnsupportedEncodingException { ResultSetMetaData meta = rs.getMetaData(); StringBuilder sb = new StringBuilder(); int numColumns = meta.getColumnCount(); for (int i = 1; i <= numColumns; i++) { sb.append(meta.getColumnLabel(i)); if (i==numColumns){ sb.append('\n'); } else { sb.append('\t'); } } JMeterVariables jmvars = getThreadContext().getVariables(); String varnames[] = getVariableNames().split(COMMA); String resultVariable = getResultVariable().trim(); List<Map<String, Object> > results = null; if(resultVariable.length() > 0) { results = new ArrayList<>(); jmvars.putObject(resultVariable, results); } int j = 0; while (rs.next()) { Map<String, Object> row = null; j++; for (int i = 1; i <= numColumns; i++) { Object o = rs.getObject(i); if(results != null) { if(row == null) { row = new HashMap<>(numColumns); results.add(row); } row.put(meta.getColumnLabel(i), o); } if (o instanceof byte[]) { o = new String((byte[]) o, ENCODING); } sb.append(o); if (i==numColumns){ sb.append('\n'); } else { sb.append('\t'); } if (i <= varnames.length) { // i starts at 1 String name = varnames[i - 1].trim(); if (name.length()>0){ // Save the value in the variable if present jmvars.put(name+UNDERSCORE+j, o == null ? null : o.toString()); } } } } // Remove any additional values from previous sample for(int i=0; i < varnames.length; i++){ String name = varnames[i].trim(); if (name.length()>0 && jmvars != null){ final String varCount = name+"_#"; // $NON-NLS-1$ // Get the previous count String prevCount = jmvars.get(varCount); if (prevCount != null){ int prev = Integer.parseInt(prevCount); for (int n=j+1; n <= prev; n++ ){ jmvars.remove(name+UNDERSCORE+n); } } jmvars.put(varCount, Integer.toString(j)); // save the current count } } return sb.toString(); } public static void close(Connection c) { try { if (c != null) { c.close(); } } catch (SQLException e) { log.warn("Error closing Connection", e); } } public static void close(Statement s) { try { if (s != null) { s.close(); } } catch (SQLException e) { log.warn("Error closing Statement " + s.toString(), e); } } public static void close(ResultSet rs) { try { if (rs != null) { rs.close(); } } catch (SQLException e) { log.warn("Error closing ResultSet", e); } } /** * @return the integer representation queryTimeout */ public int getIntegerQueryTimeout() { int timeout = 0; try { timeout = Integer.parseInt(queryTimeout); } catch (NumberFormatException nfe) { timeout = 0; } return timeout; } /** * @return the queryTimeout */ public String getQueryTimeout() { return queryTimeout ; } /** * @param queryTimeout query timeout in seconds */ public void setQueryTimeout(String queryTimeout) { this.queryTimeout = queryTimeout; } public String getQuery() { return query; } @Override public String toString() { StringBuilder sb = new StringBuilder(80); sb.append("["); // $NON-NLS-1$ sb.append(getQueryType()); sb.append("] "); // $NON-NLS-1$ sb.append(getQuery()); sb.append("\n"); sb.append(getQueryArguments()); sb.append("\n"); sb.append(getQueryArgumentsTypes()); return sb.toString(); } /** * @param query * The query to set. */ public void setQuery(String query) { this.query = query; } /** * @return Returns the dataSource. */ public String getDataSource() { return dataSource; } /** * @param dataSource * The dataSource to set. */ public void setDataSource(String dataSource) { this.dataSource = dataSource; } /** * @return Returns the queryType. */ public String getQueryType() { return queryType; } /** * @param queryType The queryType to set. */ public void setQueryType(String queryType) { this.queryType = queryType; } public String getQueryArguments() { return queryArguments; } public void setQueryArguments(String queryArguments) { this.queryArguments = queryArguments; } public String getQueryArgumentsTypes() { return queryArgumentsTypes; } public void setQueryArgumentsTypes(String queryArgumentsType) { this.queryArgumentsTypes = queryArgumentsType; } /** * @return the variableNames */ public String getVariableNames() { return variableNames; } /** * @param variableNames the variableNames to set */ public void setVariableNames(String variableNames) { this.variableNames = variableNames; } /** * @return the resultSetHandler */ public String getResultSetHandler() { return resultSetHandler; } /** * @param resultSetHandler the resultSetHandler to set */ public void setResultSetHandler(String resultSetHandler) { this.resultSetHandler = resultSetHandler; } /** * @return the resultVariable */ public String getResultVariable() { return resultVariable ; } /** * @param resultVariable the variable name in which results will be stored */ public void setResultVariable(String resultVariable) { this.resultVariable = resultVariable; } /** * {@inheritDoc} * @see org.apache.jmeter.testelement.TestStateListener#testStarted() */ @Override public void testStarted() { testStarted(""); } /** * {@inheritDoc} * @see org.apache.jmeter.testelement.TestStateListener#testStarted(java.lang.String) */ @Override public void testStarted(String host) { cleanCache(); } /** * {@inheritDoc} * @see org.apache.jmeter.testelement.TestStateListener#testEnded() */ @Override public void testEnded() { testEnded(""); } /** * {@inheritDoc} * @see org.apache.jmeter.testelement.TestStateListener#testEnded(java.lang.String) */ @Override public void testEnded(String host) { cleanCache(); } /** * Clean cache of PreparedStatements */ private static final void cleanCache() { for (Map<String, PreparedStatement> element : perConnCache.values()) { closeAllStatements(element.values()); } perConnCache.clear(); } }
From the far eastern realm of New Hampshire, all the way out to the Western borderland of Burlington, Phoenix Bazaar has delighted young and old with their fiery antics. A fire arts performing troupe located in the GIlman, VT area, we are an odd assortment of fire performers that are dedicated to exploring the balance of movement and flame. In Vermont, we offer fire shows with a range of props that include poi, fans, staff, hoop and swords or LED light shows using poi, fans, staff and hoop. For shows in New Hampshire we are only able to offer LED at this time. You can find us on Facebook @ www.facebook.com/phoenixbazaar/, or reach us by email at [email protected].
require 'date' require 'time' require 'calco' module Calco module CalculatorBuiltinFunctions def YEAR date date.year end def TODAY Date.today end def DATEVALUE text Date.parse(text) end def TIMEVALUE text Time.parse(text) end def LEFT text, n text[0, n] end end end
// @flow import {EventEmitter2 as EventEmitter } from "eventemitter2" function filter(v: number, min: number, max: number): number { v = Math.min(v, max); v = Math.max(v, min); return v; } class HitPoint extends EventEmitter { current: number max: number constructor(current: number, max: number) { super(); this.max = max; this.min = 0; this.current = filter(current, 0, this.max); }; change(next: number): HitPoint { this.current = filter(next, 0, this.max);; this.emit("changed", { next: this }); return this; } empty(): bool { return this.current <= this.min; }; } module.exports = HitPoint;
import sys from graphication import default_css, Series from graphication.text import text_bounds from graphication.color import hex_to_rgba from graphication.scales import SimpleScale, VerticalWavegraphScale from graphication.graph import Graph class BarChart(Graph): def __init__(self, series_set, scale, style=None, vertical_scale=True, stacked=True, zero_base=True): """ Constructor; creates a new LineGraph. @param mseries: The data to plot, as a MultiSeries @type mseries: graphication.series.MultiSeries @param style: The Style to apply to this graph @type style: graphication.style.Style @param scale: The Scale to use for the graph. @type scale: graphication.scales.BaseScale @param smoothed: If the graph is smoothed (not straight lines) @type smoothed: bool """ self.series_set = series_set self.style = default_css.merge(style) self.scale = scale self.stacked = stacked self.zero_base = zero_base self.vertical_scale = vertical_scale # Initialise the vertical scale if stacked: y_min, y_max = self.stacked_value_range() else: y_min, y_max = self.series_set.value_range() if self.zero_base: y_min = 0 self.y_scale = VerticalWavegraphScale(y_min, y_max) def stacked_value_range(self): y_max = 0 for key, total in self.series_set.totals(): y_max = max(total,y_max) return 0, y_max def calc_plot_size(self): self.plot_height = self.height - self.calc_label_dimension( self.scale, is_height = True, major_selector = "barchart grid#x.major", minor_selector = "barchart grid#x.minor", ) self.plot_width = self.width self.plot_left = 0 self.plot_top = 0 def render(self, context, debug=False): context.save() ### Draw the bars # Get width per bar block keys = self.series_set.keys() per_bar = self.plot_width / len(keys) # Some more drawing parameters zero_line = self.plot_top + self.plot_height bar_style = self.style["barchart bar"] bar_padding = bar_style.get_float("padding") bar_padding_top = bar_style.get_float("padding-top") border_width = bar_style.get_float("border-width") border_color = bar_style.get_color("border-color") # Draw the bars at each location left = self.plot_left for key in keys: stack = self.series_set.stack(key) bottom = zero_line inner_left = 0 for series, value in stack: height = 0 - self.y_scale.get_point(value) * self.plot_height if self.stacked: x, y, w, h = ( left + bar_padding, bottom, per_bar - bar_padding*2, height + bar_padding_top, ) else: x, y, w, h = ( left + inner_left + bar_padding, bottom, per_bar / len(stack) - bar_padding*2, height + bar_padding_top, ) inner_left += per_bar / len(stack) context.rectangle(x, y, w, h) context.set_source_rgba(*series.color_as_rgba()) context.fill() # Draw outer border if needed if border_width: context.rectangle( x + 0.5, y - 0.5, w - 1, h + 1, ) context.set_source_rgba(*border_color) context.stroke() if self.stacked: bottom += height # TODO: See if we need to draw a label here, too left += per_bar context.restore() class TooClose(Exception): pass
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 6 End-User License Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020). End User License Agreement: www.juce.com/juce-6-licence Privacy Policy: www.juce.com/juce-privacy-policy Or: You may also use this code under the terms of the GPL v3 (see www.gnu.org/licenses). JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE DISCLAIMED. ============================================================================== */ namespace juce { namespace KeyboardFocusHelpers { static int getOrder (const Component* c) { auto order = c->getExplicitFocusOrder(); return order > 0 ? order : (std::numeric_limits<int>::max() / 2); } static void findAllFocusableComponents (Component* parent, Array<Component*>& comps) { if (parent->getNumChildComponents() != 0) { Array<Component*> localComps; for (auto* c : parent->getChildren()) if (c->isVisible() && c->isEnabled()) localComps.add (c); // This will sort so that they are ordered in terms of left-to-right // and then top-to-bottom. std::stable_sort (localComps.begin(), localComps.end(), [] (const Component* a, const Component* b) { auto explicitOrder1 = getOrder (a); auto explicitOrder2 = getOrder (b); if (explicitOrder1 != explicitOrder2) return explicitOrder1 < explicitOrder2; if (a->getY() != b->getY()) return a->getY() < b->getY(); return a->getX() < b->getX(); }); for (auto* c : localComps) { if (c->getWantsKeyboardFocus()) comps.add (c); if (! c->isFocusContainer()) findAllFocusableComponents (c, comps); } } } static Component* findFocusContainer (Component* c) { c = c->getParentComponent(); if (c != nullptr) while (c->getParentComponent() != nullptr && ! c->isFocusContainer()) c = c->getParentComponent(); return c; } static Component* getIncrementedComponent (Component* current, int delta) { if (auto* focusContainer = findFocusContainer (current)) { Array<Component*> comps; KeyboardFocusHelpers::findAllFocusableComponents (focusContainer, comps); if (! comps.isEmpty()) { auto index = comps.indexOf (current); return comps [(index + comps.size() + delta) % comps.size()]; } } return nullptr; } } //============================================================================== KeyboardFocusTraverser::KeyboardFocusTraverser() {} KeyboardFocusTraverser::~KeyboardFocusTraverser() {} Component* KeyboardFocusTraverser::getNextComponent (Component* current) { jassert (current != nullptr); return KeyboardFocusHelpers::getIncrementedComponent (current, 1); } Component* KeyboardFocusTraverser::getPreviousComponent (Component* current) { jassert (current != nullptr); return KeyboardFocusHelpers::getIncrementedComponent (current, -1); } Component* KeyboardFocusTraverser::getDefaultComponent (Component* parentComponent) { Array<Component*> comps; if (parentComponent != nullptr) KeyboardFocusHelpers::findAllFocusableComponents (parentComponent, comps); return comps.getFirst(); } } // namespace juce
#!/bin/bash find ./ -name "*.ms2" -delete find ./ -name "*.log" -delete find ./ -name "*.job" -delete find ./ -name "*.o6*" -delete
/* * Copyright 2015 Jesper de Jong * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.jesperdj.akkasandbox import akka.actor.{Actor, Props} class HelloActor extends Actor { import HelloActor._ def receive = { case HelloRequest(name) ⇒ sender ! HelloResponse(s"Hello, $name") } } object HelloActor { case class HelloRequest(name: String) case class HelloResponse(message: String) def props = Props[HelloActor] }
<h4>Grabbed Links</h4> {% set maxLength = 50 %} {% if link != False %} <h5>Random Link</h5> <p>{{ escape(link) }}</p> {% end %} <div class="row u-full-width"> <div class="two columns pybutton"><a href="/links/random">Random Link</a></div> <div class="two columns pybutton"><a href="/links/removeall">Clear all</a></div> <div class="eight columns u-full-width"></div> </div> <br/> <form method="post"> <label for="if">Input Filter</label> <input class="u-full-width" id = "if" name="inputFilter" type="text" value="{{ escape(settings.config['linkgrabber']['filter']) }}" /> </form> {% if data.currentRandomLink != "" %} <br/> <h5>Random Link:</h5> <table class="u-full-width"> {% set name = list(data.links.keys())[list(data.links.values()).index(data.currentRandomLink)] %} <tr> <td>{{ escape(name) }}</td> <td> {% if "http://" not in data.currentRandomLink %} <a href="http://{{escape(data.currentRandomLink.replace(' ', '')) }}">{{ escape(data.currentRandomLink[:maxLength]) }}</a> {% else %} <a href="{{ escape(data.currentRandomLink) }}">{{ escape(data.currentRandomLink[:maxLength]) }}</a> {% end %} </td> <td> <div class="row u-full-width"> <div class="twelve columns pybutton u-pull-right"><a href="/links/remove/{{ escape(name) }}">Remove</a></div> </div> </td> </tr> </table> {{ data.currentRandomLink = "" }} {% end %} <table class="u-full-width"> <thead> <hr> <th> User </th> <th> Link </th> <th> </th> </hr> </thead> <tbody> {% for u in data.links.keys() %} <tr> <td> {{ escape(u) }} </td> <td> {% if "http://" not in data.links[u] %} <a href="http://{{escape(data.links[u].replace(' ', '')) }}">{{ escape(data.links[u][:maxLength]) }}</a> {% else %} <a href="{{ escape(data.links[u]) }}">{{ escape(data.links[u][:maxLength]) }}</a> {% end %} </td> <td> <div class="row u-full-width"> <div class="twelve columns pybutton u-pull-right"><a href="/links/remove/{{ escape(u) }}">Remove</a></div> </div> </td> </tr> {% end %} </tbody> </table>
Many people do not properly care for their teeth, and by the time they turn 30, a number of dental problems begin to arise. If you do not properly care for your teeth, it won’t be long before an infection begins to grow in your gums. If you have yellowing or damaged teeth, it’s important that you go to a dentist to care for your teeth. Dental restoration in Petal, MS is offered by a number of private dental clinics throughout the city. If you have yellowing or decaying teeth, it’s important that you go to a clinic for treatment right away. Here are a few things that you should know about teeth restoration. If there’s a serious infection in your teeth that’s affecting the roots, the dentist may recommend root canal treatment. A root canal treatment cures the infection from the roots of the teeth. The tooth is cleaned carefully from the roots, and if the infection is severe, the entire tooth may have to be removed outright. Companies such as Pine Belt Dental PLLC offer comprehensive root canal treatments to their clients. If you have been experiencing serious pain in your teeth, you might want to visit a dentist for dental restoration. If a tooth has been badly damaged over time, the dentists may recommend installing a veneer on top of the crown in order to protect it from further damage. It’s important to understand that dental restoration work cannot be completed in one sitting. You will need to visit the dentist regularly for at least a few appointments in order to restore the teeth. These are a few important things that you need to know about dental restoration work.
We are all familiar with the adage that baking cookies or bread in your home just before a showing to potential buyers can enhance the feeling of warmth and help the house shoppers connect with your home. But there are other steps home sellers should take when preparing the house or condo for sale and at the top of the list is staging. That aspect of the real estate market is so important today that there are accredited staging professional classes and certifications. "Staging is so important in this market as it can show a buyer how they could live in the property and increase the perceived value of the home," says Lisa Kornhauser with John Daugherty Realtors. "A great stager could use homeowners existing furniture, add pieces from their collection or stage a vacant house all from their inventory. Staging a home is a way of bringing it to life. The key is to make sure that you use the right kind furniture and accessories that work best in the home." "You have to create a look that triggers a buyer to respond well to a house. Staging is scientific, it's not just decorating." While there are a number of interior designers and professional stagers who assist homeowners, Greg Williams and Steve Cook of ShowHomes run a turn-key operation, covering everything from furnishing vacant homes to providing their own contractors for updating to working with landscapers on curb appeal. "Our goal is to put the house in the best show condition possible," Williams says. "We try to show prospective buyers what the home has for them." Interior designer and professional stager Gail Taylor of Taylor & Taylor Designs regularly does staging for leading real estate agents. Her advice is simple, "The key words I tell my clients before staging are: Clean, clutter-free, organized, neutral walls, light and bright, and always . . . less is best. It's hard for buyers to picture their furnishings in a new home. They view the home as it is presented to them."While he agrees that effective staging involves visual esthetics, it is as much about placement. "It's not so much about the stuff that's in the house as it is the placement that is used to show off the house." The goal is to create a setting that will increase the perceived value of the house. For Williams that means the home must look on trend. It should feel calm and serene. It should be sophisticated. "In the Houston real estate market, it has become something of a beauty contest for houses," he said. "You have to create a look that triggers a buyer to respond well to a house. Staging is scientific, it's not just decorating." He pointed to studies that show that rooms that are cluttered "with lots of stuff" cause a physical reaction in the potential buyer. "The heart rate goes up. The blood pressure goes up and alarms go off that this isn't the right place for them."
Summer is here... My previous post started in a similar way, only a whole season ago. I spent a lot of time in the garden these past months and it is high time to get back to miniatures. I did make time to visit the Kensington Dollshouse Festival in London last month. As usual it was a wonderful fair where I managed to find some treasures to add to my collection. One lucky find was this chandelier, made by Weronica Löhr of Crazy4minis. It's always difficult I think to find the right lights for a room. Well, lights which fit my budget anyway, so I was very pleased to find this chandelier. The lines, shape, style and colour of the chandelier are echoed in the decoration of the fireplace and the wallpaper. Perfect for the Yellow Salon. Whenever I'm at the fair in London, I buy some of Gill Rawling's (Petite Fleur) metal plants. This time I bought a pot of pelargoniums (commonly referred to as 'geraniums') for the Yellow Salon. I like the contrast of informal garden flowers and pot to the somewhat formal style of the room. The table (Alison Davies) and the silver candelabra (Jens Torp) are purchases from previous fairs in Holland. I still need candles for the candelabra and I want to make a marbled top for the table. Now that I have the chandelier in place I can finish the ceiling. And so there are many more little jobs to do. Perfect jobs for rainy summer days, although to be honest, I hope there won't be too many of those. Sensational Summer Treats indeed! Sublimely gorgeous. Your chandelier with the fern fronds interlaced throughout is a Unique Conversation piece and fits in well. I also love the delicacy of the silver with the potted geraniums on the side table and look forward to seeing the new marble top you will be making for it. Thanks Pepper! Yes I agree the room has a Summer feel. And quite a contrast to the adjoining Blue Salon. Oh, lijkt me heerlijk om Kensington eens te bezoeken, er zal ongetwijfeld veel moois te zien zijn geweest. Erg mooi, het doorzetten van die 'flora'-accenten aan/in miniaturen voor deze Gele Salon, Josje. Je hebt prachitge nieuwe aanwinsten toegevoegd aan deze salon en je collectie. Geniet van het buitenzijn in de zomer, ik wou dat ik dat ook kon zeggen als het mooi/warm weer is ;). Kan je niet goed tegen de warmte Ilona? Nou moet ik zeggen dat het hier vaak wel 6 graden koeler was dan in het oosten van het land, en altijd met een briesje, dus dat was best uit te houden. Kensington was erg leuk ja. We hebben een bliksembezoek afgelegd, voor herhaling vatbaar! Muy bonitas las compras. Me encantan los geranios y el contraste con la elegancia del candelabro. So do I Isabel! Thank you! Oooohhh Josje, what a lovely and perfect for this room chandelier you found!!! Great choice! And the Pelargoniums are gorgeous.... made of metal??? This salon is really starting to "shine" and I love the way those "swags" are repeated throughout the decor! The other pieces you have are perfect... especially the silver candelabra! I always have to remind myself that your room is a miniature version.... it looks so real I am fooled Every time!!! LOL! I hope so too Betsy! Yes, the flowers are metal, brass I believe. Metal flowers are found in many antique dollhouses. They really stand the test of time. I think the leaves on the chandelier, although made by someone else, also come from material to make metal plants. The geranium is beautiful and I think it adds a human touch, so the room feels like it is lived in, not a museum. Plants and flowers really seem to make scenes come to life. Beautiful work! Completely agree with you Shannon! Thank you! Beautiful purchases!!! They go so well in the room. Thank you! What is the name of your blog? The Kensington Fair seems such a while ago now and you made some lovely purchases. I especially like your flowers - so dainty. This room is coming along beautifully. Thank you Irene! Were you at the Kensington Fair? Thanks Julia! Yes, it makes the house less 'cookie cutter' as they say.
/* * This file is part of the Trickl Open Source Libraries. * * Trickl Open Source Libraries - http://open.trickl.com/ * * Copyright (C) 2011 Tim Gee. * * Trickl Open Source Libraries are free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Trickl Open Source Libraries are distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this project. If not, see <http://www.gnu.org/licenses/>. */ package com.trickl.graph; public interface CopyEdgeFactory<V1, E1, E2> { E1 createEdge(V1 sourceVertex, V1 targetVertex, E2 edge); }
My new iPad—Apple's third-generation tablet—showed up this morning. My first impression is that there's a lot to like, but there are a few things I find surprising and not quite right yet. I'll post more after spending some time with it, but here are some unboxing shots and some initial thoughts. Thanks to FedEx, my device showed up this morning, so I avoided those crazy lines. Not too surprisingly, the box looks a lot like the iPad 2's. See PCMag's full iPad coverage. Inside, you'll find the device, wrapped in plastic, as well as the cable, wall charger, and the usual sparse documentation. Again, it's pretty much the same as it's always been. After opening it up, you pick a language and the country. You then can choose to set up the device as a new one or to make it look just like an existing iPad, from either iTunes or iCloud. It asks you to agree to the terms of service and starts the setup. In my case, I chose to restore from iCloud, which took about 20 minutes. After I agreed to use dictation, the system was ready to use. Unfortunately, I guess I hadn't backed up my iPad in a while, so I had to update a lot of my applications. It looks like iTunes was pretty busy today, as that took another 15 to 20 minutes. When I was done, my iPad and its applications were ready to use. The most obvious difference between the new iPad and the previous generation iPad 2 is the 2048-by-1536 Retina Display, which is immediately obvious when simply viewing a webpage in Safari. The iPad 2 looks pretty good, but if you look closely, you can see the little dots that make up the pixels, in a screen-door effect. On the new iPad, I can't see the dots at all. It looks much more like paper and I think that's a huge advantage. I can't say I noticed any real difference in the speed of rendering such pages over Wi-Fi, which may in fact be a result of the A5X processor's fast graphics compensating for the additional pixels on the new display. But there were a few things about the differences in the displays that surprised me. To begin with, the new iPad appeared dimmer in most settings and most locations, whether it was manually adjusted or with "auto-brightness" on. When I took both units, with auto-brightness on, from a bright room into a dark room, the newer one became noticeably brighter, albeit temporarily, as it then reset to a less bright setting. I'm not sure why they would be different. This isn't a big deal, as you can manually adjust the screens, but surprising. In addition, the screens have a different color temperature; the iPad 2 leans a bit more toward the blue (a little "cooler") and the new iPad a bit more toward the yellow. I doubt I would have noticed had the screens not been side by side, and I'm not sure whether it's better or worse, but it is different. In the few applications I've been able to try thus far, the higher resolution screen can make a noticeable difference, although the resolution of this webpage means that the pictures probably don't do it much justice. As I said, this was obvious in using the Safari Web browser and The New York Times application also appeared to be noticeably crisper on the new iPad. However, with the Wall Street Journal, I had the opposite impression. The higher-resolution seems to lead to more distortion, as what appears to be anti-aliasing on the fonts becomes noticeable. I'm sure this will be fixed by a new version of the app that better understands the new display, but it's interesting to note, and a minor problem for now. I'm looking forward to spending more time with the new iPad and seeing whether 4G LTE will actually work for me in enough locations. While I wish the Wall Street Journal app had already been updated, in general, I'm already seeing a big difference in the screen display, and I think that's going to turn out to be quite significant. For more, see PCMag's "Hands On With the New iPad" and "Unboxing the New Apple iPad."
Have you considered a DBA? The Henley Doctorate of Business Administration (DBA) is a part-time professional doctoral degree with an international scope and reputation, designed to enhance executive and professional practice through the application of sound theory and rigorous research into real and complex issues in business and management. It enhances the capability to develop knowledge and theory, and their application. The Henley DBA is one of only nine programmes globally to have gained the prestigious AMBA accreditation. Since its launch in 1992, it has become the most established DBA programme in Europe with the highest number of graduates from over 30 countries around the world. Jules Lajola, Henley MBA and DBA programme associate, will be sharing his motivation for joining the programme, set out his Henley DBA journey and answer your questions about undertaking a DBA degree.
TOTAL TIME: Prep: 20 min. Bake: 20 min. YIELD: 2 dozen. 1. Preheat oven to 350°. In a large bowl, cream butter and brown sugar until well blended. Beat in vanilla and eggs, one at a time. In another bowl, whisk together flour, baking powder and salt; gradually beat into creamed mixture. Stir in cinnamon chips. Spread into a greased 13x9-in. baking pan. Sprinkle with cinnamon sugar. 2. Bake until golden brown and a toothpick inserted in center comes out clean, 20-25 minutes. Cool completely in pan on a wire rack. 3. In a small bowl, mix all glaze ingredients until smooth; drizzle over top. Cut into bars. Store in an airtight container.
Copyright (c) 2004 Brian Alliet org.ibex.classgen is needed to build NestedVM. The original version at http://git.megacz.com/org.ibex.classgen.git was configured to build under Java 1.3, and was generating warnings under Java 1.8. This is essentially the same code, but with type checking added so that it compiles without complaint under Java 1.8 (JDK 1.8 u25), and the Makefile has been tweaked to include the 1.8 flag.
jsonp({"cep":"83401090","logradouro":"Rua do Gaturamo","bairro":"Arruda","cidade":"Colombo","uf":"PR","estado":"Paran\u00e1"});
/** * Class name: custom-fields-meta.js * Author: David Rugendyke - [email protected] * Platform: Mootools - no conflict mode just incase * A special date picker for custom fields with a number of custom fixes/additions */ var kontrol_custom_fields_meta_date; window.addEvent('domready', function() { // Only start on the post body screens (function($){ if($('post')) { new kontrol_custom_fields_meta_date(); } })(document.id); }); (function($){ kontrol_custom_fields_meta_date = new Class({ /** * Constructor */ initialize: function(options) { // Get all the date picker fields this.current_pickers = $$('.kontrol-metabox .kontrol-datepicker-field'); // Attach pickers to them this.current_pickers.each(function(picker) { this.attach_picker(picker); }.bind(this)); }, /** * Attach a picker */ attach_picker: function(picker_el) { // console.log(picker_el); }, }); })(document.id);