Skip to content

Instantly share code, notes, and snippets.

{"id":"Abg2F3OI9yNev0hyUgWuKQ_0000","full_name":"genesis ilaye","first_name":"genesis","middle_initial":null,"middle_name":null,"last_name":"ilaye","gender":null,"birth_year":null,"birth_date":null,"linkedin_url":"linkedin.com/in/genesis-ilaye-3b3371122","linkedin_username":"genesis-ilaye-3b3371122","linkedin_id":null,"facebook_url":null,"facebook_username":null,"facebook_id":null,"twitter_url":null,"twitter_username":null,"github_url":null,"github_username":null,"work_email":null,"mobile_phone":null,"industry":"electrical/electronic manufacturing","job_title":"electrical engineer","job_title_role":"engineering","job_title_sub_role":"electrical","job_title_levels":[],"job_company_id":null,"job_company_name":"emmaspin","job_company_website":null,"job_company_size":null,"job_company_founded":null,"job_company_industry":null,"job_company_linkedin_url":null,"job_company_linkedin_id":null,"job_company_facebook_url":null,"job_company_twitter_url":null,"job_company_location_name":null,"job_company_location_locality"
const { Sequelize, DataTypes } = require('sequelize');
const sequelize = new Sequelize('postgres://postgres:HfQFIgMH-15H3-VfhI5TFA@postgresql-kauog-u4087.vm.elestio.app:34523/postgres');
// get searches while there are still processed: false
const Search = sequelize.define('Search', {
searchURL: {
type:DataTypes.STRING,
processed: DataTypes.BOOLEAN,
allowNull:false
}
@mihairaulea
mihairaulea / dataBlueprint.js
Created August 9, 2023 22:15
Blueprint for the data layer used to store cold email marketing campaigns
// ALL table are mongodb collections
// does capping this collection give it hashmap-like props? ask mongodb expert
// db.createCollection("userData", {capped: true, size: 100000000})
// table
let userData = new Map();
// table
let emailIdToUserId = new Map();
We use gitlab's CI/CD pipeline and Vault to secure our environment variables.
This is a 3 hour job to reconfigure a HashiCorp Vault, point Gitlab to the new vault address and
populate Vault with the environment variables.
We will provide the Hashicorp Vault.
Here is the Gitlab script.
script:
- echo "Branch Name - ${ENVIRONMENT}"
@mihairaulea
mihairaulea / collections.yaml
Last active May 3, 2023 17:25
listmonk api swagger for codegen
openapi: 3.0.0
servers:
- description: Listmonk Developement Server
url: http://localhost:9000/api
security:
- basicAuth: []
info:
{
"openapi": "3.0.0",
"servers": [
{
"description": "Listmonk Developement Server",
"url": "http://localhost:9000/api"
}
],
"info": {
"version": "1.0.0",
Country Value
United States 12394
Russia 6148
Germany (FRG) 1653
France 2162
United Kingdom 1214
China 1131
Spain 814
Netherlands 1167
Italy 660
{"id":"1X2s0F7cxH082fhbQzRkWw_0000","full_name":"ismail ertug","first_name":"ismail","middle_initial":null,"middle_name":null,"last_name":"ertug","gender":"male","birth_year":null,"birth_date":null,"linkedin_url":"linkedin.com/in/ismail-ertug-9889502b","linkedin_username":"ismail-ertug-9889502b","linkedin_id":"106854008","facebook_url":null,"facebook_username":null,"facebook_id":null,"twitter_url":null,"twitter_username":null,"github_url":null,"github_username":null,"work_email":null,"mobile_phone":null,"industry":"animation","job_title":null,"job_title_role":null,"job_title_sub_role":null,"job_title_levels":[],"job_company_id":null,"job_company_name":null,"job_company_website":null,"job_company_size":null,"job_company_founded":null,"job_company_industry":null,"job_company_linkedin_url":null,"job_company_linkedin_id":null,"job_company_facebook_url":null,"job_company_twitter_url":null,"job_company_location_name":null,"job_company_location_locality":null,"job_company_location_metro":null,"job_company_location_r
{"id":"MYjmBIScYEJVlIo1IB7GCA_0000","full_name":"madhuri rajputkashyap","first_name":"madhuri","middle_initial":null,"middle_name":null,"last_name":"rajputkashyap","gender":"female","birth_year":null,"birth_date":null,"linkedin_url":"linkedin.com/in/madhuri-rajputkashyap-20510914","linkedin_username":"madhuri-rajputkashyap-20510914","linkedin_id":"48040421","facebook_url":null,"facebook_username":null,"facebook_id":null,"twitter_url":null,"twitter_username":null,"github_url":null,"github_username":null,"work_email":null,"mobile_phone":null,"industry":"animation","job_title":"animator and flash designer","job_title_role":"design","job_title_sub_role":null,"job_title_levels":[],"job_company_id":"rachnasagar-p-ltd","job_company_name":"rachnasagar p ltd","job_company_website":null, "job_company_keywords":["cloud","vps"], "job_company_technologies":["svelte","php","open-id"],"job_compay_funding":"100M", "job_company_revenue":"1.5M", "job_company_hiring_now":["product manager", "software developer"], "job_company_
@mihairaulea
mihairaulea / Server response
Created September 9, 2022 06:24
Server response
{"noOfResults":6325,"actualResults":[{"job_title_levels":"senior","gender":"male","job_company_linkedin_url":"linkedin.com/company/nordic-cinema-group","location_country":"sweden","location_country_sgt":"sweden","twitter_username":"mieszko","github_username":"lorkster","industry":"computer software","industry_sgt":"computer software","linkedin_username":"magnusdep","emails":["org.json.JSONObject:{\"address\":\"magnus.de.pourbaix@find-out.se\",\"type\":\"professional\"}","org.json.JSONObject:{\"address\":\"magnus.dep@gmail.com\",\"type\":\"personal\"}","org.json.JSONObject:{\"address\":\"magnusdep@gmail.com\",\"type\":\"personal\"}"],"company_industry":"entertainment","company_industry_sgt":"entertainment","full_name":"magnus de pourbaix","full_name_sgt":"magnus de pourbaix","company_name":"nordic cinema group","company_name_sgt":"nordic cinema group","id":"Gf3bABYpja1KPzmGsJznBg_0000","id_sgt":"Gf3bABYpja1KPzmGsJznBg_0000","location_locality":"stockholm","location_locality_sgt":"stockholm","job_title":"senior