Skip to content

Instantly share code, notes, and snippets.

View sspathak's full-sized avatar

Suraj Pathak sspathak

View GitHub Profile
@neoyipeng2018
neoyipeng2018 / magnitudephrasebank.ipynb
Last active March 21, 2021 21:28
Using Embeddings for Financial Sentiment Classification
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kgleong
kgleong / GoogleDriveUploadFile.swift
Last active May 31, 2023 13:19
Google Drive - Upload File
func uploadFile(
name: String,
folderID: String,
fileURL: URL,
mimeType: String,
service: GTLRDriveService) {
let file = GTLRDrive_File()
file.name = name
file.parents = [folderID]
@idleberg
idleberg / sublime-text-macos-context-menu.md
Last active March 28, 2025 18:15 — forked from vincentmac/sublime-text-osx-context-menu.md
“Open in Sublime Text” in macOS context-menu

This list has been updated for Big Sur (and later). Since I don't use these versions, this guide might still need further improvements. For older macOS versions, please see this older revision.

Open in Sublime Text

  • Open Automator
  • Quick Action
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n "$@"
  • Set “Pass input” to as arguments
@vincentmac
vincentmac / sublime-text-osx-context-menu.md
Created September 25, 2013 18:03
Sublime Text OSX Context Menu

Add Sublime Text to OS X Context Menu

  • Open Automator
  • Create a new Service
  • Add a Run Shell Script action
  • Set input to Service receives selected files or folders in any application
  • Set the script action to /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n $@
  • Set Pass input to as arguments
  • Save as Open in Sublime Text