This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDjoWP+tTgluKE/6s7aRCsXAzBgAxmeZ9D2dwuXT45cgnTDrQeqocafplf1YQ3zUe6bjDtctCq+ZBmp6RDtWmBhSahBYueDAR7KrX/7teM5Bs8ilVojLBCnCRGEURU0LuY6RxulVUgTzYaQYOzXTpuOH71uyyyDq3JKSBLA3WNRGHBigJGznZm3sA1s0CfTs9CAhPEvsgCGVq2xCTYj37q9DdBW93GY+XqXlY9zj0oo+Qy3DDCSBg/m5S7+P/EooTEiHNBZRbd/FvSFG7s8Nbw9oCPDKnk3Kv8nQYtmI5IPmSRgf3XHL7BJN+XyE4RltMMh/rPWxLVA5puMl6y0FnZP Nimrod_Lahav@NimMac.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################################################## | |
#Gatling scale out/cluster run script: | |
#Before running this script some assumptions are made: | |
#1) Public keys were exchange inorder to ssh with no password promot (ssh-copy-id on all remotes) | |
#2) Check read/write permissions on all folders declared in this script. | |
#3) Gatling installation (GATLING_HOME variable) is the same on all hosts | |
#4) Assuming all hosts has the same user name (if not change in script) | |
################################################################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.actor.ActorSystem | |
import spray.http.MediaTypes._ | |
import spray.routing.SimpleRoutingApp | |
object LightVersion extends App with SimpleRoutingApp { | |
implicit val system = ActorSystem("my-system") | |
startServer(interface = "0.0.0.0", port = 9119) { | |
path("api") { get { parameters('id.as[String]) | |
.as(Request) { request => { respondWithMediaType(`text/html`) { complete { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL : | |
http://www.oref.org.il/WarningMessages/alerts.json | |
response example : | |
{ | |
"id" : "1405269005749", | |
"title" : "פיקוד העורף התרעה במרחב ", | |
"data" : [ | |
"דן 157", | |
"דן 162", | |
"דן 155", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
אגוז | |
אהבל | |
אוחצ | |
אוכל במבה עם מזלג | |
אוכל חומוס עם כפית | |
אוכל מצלחות של | |
אוכל נבטים | |
אוכלת דגים | |
אומו | |
אטומה |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "restart Xvfb" | |
kill -9 `ps aux | grep Xvfb | grep -v grep | awk '{print $2}'` | |
sleep 3 | |
nohup Xvfb :10 -ac > /tmp/Xvfb.log 2>&1 & | |
echo "Xvfb started" | |
exit |
NewerOlder