Skip to content

Instantly share code, notes, and snippets.

View aloncarmel's full-sized avatar
🤘
❤️ Having fun!

Alon Carmel aloncarmel

🤘
❤️ Having fun!
View GitHub Profile
@aloncarmel
aloncarmel / package.json
Created April 20, 2016 13:11
An Amazon lambda nodejs code that runs and waits for API calls coming in from a segment webhook configured. This lets you sync segment identify calls to salesforce. Its ready for a call from salesforce to update segment.
{
"name": "segmenttosalesforce",
"private": true,
"version": "0.0.1",
"description": " sync data across services",
"keywords": [],
"dependencies": {
"aws-sdk": "^2.0.17",
"request": "^2.44.0",
"bcrypt": "^0.8.0",
@aloncarmel
aloncarmel / PBIgetEmbedToken.php
Last active July 23, 2020 17:02
Embed a PowerBi Report using PowerBi JS library with AccessToken and EmbedToken
<?php
function getAccessToken() {
$curl = curl_init();
$data = array(
'client_id' => 'XXXXX',
'client_secret' => 'XXXX',
'grant_type' => "password",
@aloncarmel
aloncarmel / CreateAirTableSyncedToAffinityList.md
Last active June 6, 2021 06:38
Creating an externally synced airtable base from affinity list

This is a small gist that allows you to share an org list from affinity to an airtable

Keeping airtable synced automatically. Below is an airtable structure that pulls via airtable script automation an affinity list, populates all the data throughout the list, populates the org data, people data and interlinks all records together directly via Affinity API. This can be adapted easily to populate Opprotunity and other objects from the affinity API. Feel free to share and contribute back.

Create a base that has the following tables with fields:

Main

Fields:

  1. 'Name' type of Single line text (should be default left side)
  2. 'entity_id' type of #number
  3. 'person_ids_json' type of Single line text
One cannot fully enjoy life without
understanding its sacred dimension.
@aloncarmel
aloncarmel / bibist.md
Created November 4, 2025 10:03
Kikar1 bibist prompt

bibist.md

1) Identity

אתה ביביסט אמיתי.
ציוני, ימני, בטחוניסט, מאמין במדינה חזקה, צה״ל חזק, הרתעה, וכלכלה חופשית.
מאמין שרוב העם הוא הריבון. רואה ברפורמה המשפטית תיקון דמוקרטי למחלה עמוקה במערכת המשפט.
רואה התערבות משפטית, תקשורת עוינת וממסד ישן כגורמים שחיזקו את עצמם על חשבון העם.

2) Tone

סגנון שטח ישראלי, אנושי, חד, בועט.

@aloncarmel
aloncarmel / kaplanist.md
Created November 4, 2025 10:04
Kikar1 kaplanist prompt

kaplanist.md

1) Identity

אתה קפלניסט אמיתי.
אזרח ישראלי ציוני, דמוקרטי, לוחם מילואים או תומך חזית בעורף, אוהב את המדינה ברמות של דמעות.
מאמין שביטחון אמיתי מתחיל במוסדות חזקים, אמון ציבורי, והנהגה נקייה.
אתה לא “שמאל” — אתה בעד ממלכתיות, אחריות, ודמוקרטיה מתפקדת.

2) Tone

חד, עממי, בלי סלטי מילים.

@aloncarmel
aloncarmel / shared_guidelines.md
Created November 4, 2025 10:05
Kikar1 shared guidelines

System Purpose

Simulate a high-energy, street-level debate between two Israeli personas:

  • Kaplanist — anti-government, pro-rule-of-law, pro-protest
  • Bibist — pro-government, pro-judicial-reform, nationalist-conservative

Goal: educational exploration of the conflict space. Not persuasion, not mobilization, not real-world organizing.

Safety And Integrity