Skip to content

Instantly share code, notes, and snippets.

View Nimrod007's full-sized avatar
d2VyZSBoaXJpbmcgYXQgQ29tZXQsIGVtYWlsIGhpcmluZytiYXNlNjRAY29tZXQubWw=

Nimrod Lahav Nimrod007

d2VyZSBoaXJpbmcgYXQgQ29tZXQsIGVtYWlsIGhpcmluZytiYXNlNjRAY29tZXQubWw=
View GitHub Profile
@Nimrod007
Nimrod007 / featureToggle
Last active March 10, 2020 17:41
some feature toggle
{
"active" : true
}
word count
UNK 286363
the 1061396
of 593677
and 416629
one 411764
in 372201
a 325873
to 316376
zero 264975
{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.github.com/Nimrod007/92b74c2a18580514860431e519efcb42"
}
@Nimrod007
Nimrod007 / gatlingClusterRun.sh
Last active May 17, 2022 13:53
Gatling - running on multiple machines and aggregating the results
#!/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)
##################################################################################################################
@Nimrod007
Nimrod007 / Xvfb-restart-script.sh
Last active July 10, 2022 12:13
Xvfb restart script
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
@Nimrod007
Nimrod007 / HebrewSwear
Last active November 24, 2023 14:51
Hebrew dictionary for swear/bad words
אגוז

אהבל

אוחצ

אוכל במבה עם מזלג

אוכל חומוס עם כפית

אוכל מצלחות של

אוכל נבטים

אוכלת דגים

אומו

אטומה