Skip to content

Instantly share code, notes, and snippets.

View rantav's full-sized avatar
🎯
Focusing

Ran Tavory rantav

🎯
Focusing
View GitHub Profile
@rantav
rantav / Tarique-Jacobs-Investor-Presentation-May-June-2023 30 pages.md
Last active November 12, 2024 14:51
Jacobs-Investor-Presentation-May-June-2023 30 pages

Page 1: Jacobs Investor Presentation May / June 2023

Challenging today. Reinventing tomorrow.


Page 2: Disclaimer

@rantav
rantav / claude-2022-nyl-investment-report.md
Last active November 12, 2024 10:21
2022-nyl-investment-report.pdf extracted by different tools

Insure. Invest. Retire.

2022 Investment Report

Note: "New York Life" or "the company" as used throughout the Report, can refer either separately to the parent company, New York Life Insurance Company (NYLIC), or one of its subsidiaries, or collectively to all New York Life companies, which include NYLIC and its subsidiaries and affiliates, including New York Life Insurance and Annuity Corporation (NYLIAC), NYLIFE Insurance Company of Arizona (NYLAZ), Life Insurance Company of North America (LINA), and New York Life Group Insurance Company of NY (NYLGICNY). NYLAZ is not authorized in New York or Maine, and does not conduct insurance business in New York or Maine. LINA is not authorized in New York and does not conduct insurance business in New York. LINA and NYLGICNY are referred to as the New York Life Group Benefit Solutions business. Any discussion of ratings and safety throughout the Report applies only to the financial strength of New York Life, and not to the performance of any investment products i

@rantav
rantav / README.md
Created July 22, 2021 09:31
Submit to Kaggle from within a kaggle notebook

Create a ~/.kaggle/kaggle.json file

This is a one-time operation you need to run per kernel

Go and download your kaggle.json file from your kaggle account page and replace YOUR_USERNAME and YOUR_KEY below.

Then run this code in a kaggle python cell

text_file = open("/root/.kaggle/kaggle.json", "w")
n = text_file.write('{"username":"YOUR_USERNAME","key":"YOUR_KEY"}')
text_file.close()
@rantav
rantav / spinnaker-rbac.yaml
Last active December 10, 2019 06:51
Kubernetes RBAC for Spinnaker
# Authorize read-write in the default namespace. Add this Role and the below RoleBinding to every namespace spinnaker deploys artifacts to
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: spinnaker-role
namespace: default
rules:
- apiGroups: [""]
resources: ["namespaces", "events", "replicationcontrollers", "serviceaccounts", "pods/logs"]
@rantav
rantav / mailmerge.gs
Last active August 12, 2020 09:09
Mail Merge
var EMAIL_SENT = 'EMAIL_SENT';
/**
* Sends emails from spreadsheet rows.
*/
function mailmerge() {
Logger.log('Starting mail merge...');
var ss = SpreadsheetApp.getActiveSpreadsheet();
var dataSheet = ss.getSheets()[0];
var startRow = 2; // First row of data to process
@rantav
rantav / docker-ssh.zsh
Created May 8, 2018 08:32
Docker SSH - a simple shell (zsh) function to connect to a running docker container
##############################################
# Add this to your .zshrc
#
# And then:
# $ docker ps
# => find your container ID or name and
# $ docker-ssh <containerID or containerName>
#
##############################################
@rantav
rantav / call for moderators.md
Last active March 29, 2018 06:30
Reversim Summit 2018 is looking for moderators

Dear all, we’re starting to work on Reversim Summit 2018, which will take place Oct 8-9 in University of Tel Aviv. We’re gathering the moderation team led by Shlomi Noach (the content Tzar) and are about to open the CFP soon. Reversim Summit is a community effort and as such we tentatively* invite you to join our team of moderators.

Please email us at rs18-team@googlegroups.com to state your interest and provide credentials (e.g professional background, speaking and moderation experience)

If you’re interested then please let us know within a week from today.

High level timeline:

@rantav
rantav / rs17cfp - formal.md
Last active June 28, 2017 06:25
RS17 Call for Papers

Reversim Summit is a high quality, content-centric community driven 2 days event taking place October and hosting hundreds of Israeli developers. The call for papers is open right now and you should submit if you've done something interesting recently. The topics include (but not limited to) ops, infrastructure, development methodologies, web frontend, web backend, mobile, data science, big data, product, engineering culture and open source. First time speakers as well as veterans are welcome. CFP closes July 20 so hurry up!

https://summit2017.reversim.com/submit

@rantav
rantav / meteor-populate-github-login-token.js
Created September 8, 2016 10:39
how to populate github login token on server startup (meteor)
Meteor.startup(function () {
// sets up the github client service on your server
ServiceConfiguration.configurations.upsert(
{ service: "github" },
{ $set: { clientId: "<YOUR-CLIENT-ID-HERE>", secret: "<YOUR-CLIENT-SECRET-HERE>" } }
);
});
@rantav
rantav / README.md
Created June 28, 2016 20:39
Encrypt in mysql, decrypt in javascript

What is this?

A way to encrypt data on mysql and then decrypt in javascript.

Why is this useful?

Sometimes you have data in your mysql database and you want to pass this data to a JS app.
For example, say you want to run an email campaign and you want to send emails to users from your mysql database. In this campaign you want ppl to click a link and when clicked you want the target site (your site) to be able to identify the user. You could pass the user-id as plaintext. Or the email as plain text. But that would be insulting the user's intelligence plus you might leak information "in the face" of a user. If you want to pass information from mysql to javascript and be able to obfuscate this info such that it isn't in the face of a user, this method is simple and effective.

This is not "secure"