Skip to content

Instantly share code, notes, and snippets.

@tristanha
tristanha / increase_total_budget.sql
Created September 30, 2025 10:13
increase_total_budget.sql
use xas_development;
update `ads` set `total_budget`=99999999.99 where id in (104,
132,
62,
113,
117);
@tristanha
tristanha / add_profile_update.sh
Last active May 22, 2025 15:31
add_profile_update.sh
curl --location --request PUT "https://${EXTERNAL_HOST}/rest/profiles/xing_ids/762/status?rid=762&identifier=travelling&text=ist%20im%20Urlaub.%20%E2%9B%B0" \
--header 'accept: application/json' \
--header 'Authorization: Basic cmVzdDpqTWxQNTdac283SW8=' \
--header 'Cookie: raw_translations=false'
curl --location --request POST "https://${EXTERNAL_HOST}/rest/activities/activities?actor_urn=urn%3Ax-xing%3Ausers%3Auser%3A762&object_urn=urn%3Ax-xing%3Apeople_story_generator%3Aprofile_update%3Astatus%3A2&verb=update&visibility=public&audience=network" \
--header 'accept: application/json' \
--header 'Authorization: Basic cmVzdDpqTWxQNTdac283SW8=' \
--header 'Cookie: raw_translations=false'
@tristanha
tristanha / update_people_dex.sql
Last active May 9, 2025 09:08
update_people_dex.sql
use people_stories_development;
INSERT INTO `dextr_profiles` (`id`, `academic_title`, `first_name`, `last_name`)
VALUES
(622, NULL, 'All', 'User'),
(623, NULL, 'All', 'User'),
(761, NULL, 'Disco', 'User'),
(762, NULL, 'Disco', 'User');