Skip to content

Instantly share code, notes, and snippets.

View guilhermemmb's full-sized avatar
💙

Guilherme Bomfim guilhermemmb

💙
  • Lisbon, Portugal
  • 14:43 (UTC -12:00)
View GitHub Profile
@guilhermemmb
guilhermemmb / warp-new-tab.applescript
Created August 8, 2025 11:23
appelscript to open a new tab in warp and run the command afterwards
#!/usr/bin/osascript
on run argv
-- Get the command to run from the first argument
if (count of argv) < 1 then
error "Usage: warp-new-tab.applescript \"command to run\""
end if
set commandToRun to item 1 of argv
import flux from '../flux';
import Fetcher from 'utils/Fetcher';
import AuthenticationHelper from 'utils/AuthenticationHelper';
class VtexActions {
checkLogin() {
Fetcher.checkVtexIdAuth().then((userData) => {
Fetcher.getProfileSystemData('omniera', userData.user).then((response) => {
const data = {