Skip to content

Instantly share code, notes, and snippets.

View tomtobac's full-sized avatar

Tomeu tomtobac

View GitHub Profile
// ==UserScript==
// @name L2Reborn Raid Boss Status Date Fix
// @namespace http://tampermonkey.net/
// @version 2024-05-06
// @description Formats the respawn time of raid bosses in the browser's timezone instead of UTC.
// @author discord.com/users/nymphadora_
// @match https://l2reborn.org/seasons-h5/raid-boss-status-s2/
// @icon https://www.google.com/s2/favicons?sz=64&domain=l2reborn.org
// @grant none
// ==/UserScript==
@tomtobac
tomtobac / formatdatereborn.js
Last active May 7, 2024 17:43
Formats the respawn time of raid bosses in the browser's timezone instead of UTC.
// ==UserScript==
// @name L2Reborn Raid Boss Status Date Fix
// @namespace http://tampermonkey.net/
// @version 2024-05-06
// @description Formats the respawn time of raid bosses in the browser's timezone instead of UTC.
// @author discord.com/users/nymphadora_
// @match https://l2reborn.org/seasons-h5/raid-boss-status-s2/
// @icon https://www.google.com/s2/favicons?sz=64&domain=l2reborn.org
// @grant none
// ==/UserScript==
@tomtobac
tomtobac / test.js
Created January 17, 2024 12:22
test
alert('testing CSP');
https://o1138084.ingest.sentry.io/api/4504722788057088/envelope/?sentry_key=af426976fa9e479da5b6a20e871cca1b&sentry_version=7&sentry_client=sentry.javascript.nextjs%2F7.37.2
{"event_id":"4185ace3d44241dc8f85ec2fff157332","sent_at":"2023-06-26T13:25:09.448Z","sdk":{"name":"sentry.javascript.nextjs","version":"7.37.2"}}
{"type":"event"}
{"exception":{"values":[{"type":"Error","value":"test tomeu","stacktrace":{"frames":[{"filename":"webpack-internal:///./src/hooks.ts","function":"async readStreamChat","in_app":true,"lineno":103,"colno":5},{"filename":"webpack-internal:///../../packages/utils/utils/decode-stream.ts","function":"decodeStream","in_app":true,"lineno":44,"colno":24},{"filename":"webpack-internal:///./src/hooks.ts","function":"Object.onMessage","in_app":true,"lineno":110,"colno":27}]},"mechanism":{"type":"generic","handled":true}}]},"level":"error","event_id":"4185ace3d44241dc8f85ec2fff157332","platform":"javascript","timestamp":1687785909.446,"environment":"development","release":"development","sdk
// POST 200
https://o1138084.ingest.sentry.io/api/4504722788057088/envelope/?sentry_key=af426976fa9e479da5b6a20e871cca1b&sentry_version=7&sentry_client=sentry.javascript.nextjs%2F7.37.2
// payload
{"event_id":"8f4598185d3f4968b93cddda9f20d07a","sent_at":"2023-06-26T08:44:41.980Z","sdk":{"name":"sentry.javascript.nextjs","version":"7.37.2"}}
{"type":"event"}
{"exception":{"values":[{"type":"Error","value":"test tomeu","stacktrace":{"frames":[{"filename":"webpack-internal:///./src/hooks.ts","function":"async readStreamChat","in_app":true,"lineno":102,"colno":5},{"filename":"webpack-internal:///../../packages/utils/utils/decode-stream.ts","function":"decodeStream","in_app":true,"lineno":44,"colno":24},{"filename":"webpack-internal:///./src/hooks.ts","function":"Object.onMessage","in_app":true,"lineno":106,"colno":23}]},"mechanism":{"type":"generic","handled":true}}]},"level":"error","event_id":"8f4598185d3f4968b93cddda9f20d07a","platform":"javascript","timestamp":1687769081.98,"environment":"development","rele
var level = 60;
var table = document.querySelector('#Container');
var links = table.querySelectorAll('.tt');
var raids = Array.from(links).map((link) => {
const id = link.attributes["href"].value.substring(1);
const name = link.querySelector('u').innerText;
let status = 'not info';;
if (link.querySelector('font')) {
Highly detailed portrait of marya_ortiz, stephen bliss, unreal engine, fantasy art by greg rutkowski, loish, rhads, ferdinand knab, makoto shinkai and lois van baarle, ilya kuvshinov, rossdraws, tom bagshaw, alphonse mucha, global illumination, radiant light, detailed and intricate environment
CFG: 8.5
marya_ortiz 3d render, pixar and disney animation character design, sharp, rendered in unreal engine 5, dramatic lighting, rendered in renderman
CFG: 10
Organic cyborg of marya_ortiz, gold, diffuse lighting, fantasy, intricate, elegant, highly detailed, lifelike, photorealistic, digital painting, artstation, illustration, concept art, smooth, sharp focus, art by john collier and albert aublet and krenz cushart and artem demura and alphonse mucha
@tomtobac
tomtobac / jobs.txt
Last active October 18, 2024 07:08
resources I used for next job hunting
Job boards:
- Pallet (companies apply to you, request to join https://app.pallet.com/list/pragmatic-engineer/talent)
- https://weworkremotely.com/categories/remote-front-end-programming-jobs
- https://circular.io/c/baeb84/cabotvalloritomeu (nice offers)
- https://www.linkedin.com/jobs/
- https://app.otta.com/ (uk, europe startup jobs - highly recommended)
- https://remoteok.com/remote-front-end-jobs
- https://www.workatastartup.com/companies?demographic=any&expo=any&hasEquity=any&hasSalary=any&industry=any&interviewProcess=any&jobType=fulltime&layout=list-compact&remote=yes&role=eng&role_type=fe&sortBy=keyword&usVisaNotRequired=any (Ycombination job board, small companies and high salaries)
- https://angel.co/jobs
- https://www.getmanfred.com/portal (mostly spanish companies, salary is low but you can create your CV online which is quite nice)
{
"compilerOptions": {
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
"moduleResolution": "node",
"sourceMap": true,
"outDir": "dist"
},
"include": ["src"],
"HotPink",
"PeachPuff",
"Crimson",
"BurlyWood",
"CornflowerBlue",
"Thistle",
"Gold",