Skip to content

Instantly share code, notes, and snippets.

View rbocchinfuso's full-sized avatar

Richard Bocchinfuso rbocchinfuso

View GitHub Profile
@Samyak2
Samyak2 / oh-my-zsh-bira-conda-venv.md
Last active November 18, 2023 23:03
Adding virtualenv and conda support to Oh My Zsh Bira theme
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active April 24, 2024 01:33
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@lstude
lstude / 0-README.md
Last active December 2, 2023 15:41
Add Indent / Outdent Functionality to Google Spreadsheets

This tutorial demonstrates how to add an "Indent Text" menu item to a Google spreadsheet so you can indent/outdent text.

  • When the "Indent Text" menu item is selected, any cells within a single column selection will be indented by 5 spaces.

  • You can increase or decrease the number of spaces the text is indented by changing the line below so that the "5" is changed to a larger or smaller number (depending on your preference):

newValues.push(['=CONCAT(REPT( CHAR( 160 ), 5),"' + values[i][0] + '")']);
@timhall
timhall / gist:c88e52a71acc45243bbb
Last active October 23, 2017 22:14
Excel-REST - Smartsheet API: Update
' curl https://api.smartsheet.com/1.1/row/{rowId}/cells \
Dim Request As New RestRequest
Request.Resource = "row/{rowId}/cells"
Request.AddUrlSegment "rowId", "RowId..."
' -H "Authorization: Bearer ACCESS_TOKEN" \
Request.AddHeader "Authorization", "Bearer ACCESS_TOKEN is set in authenticator"
' -H "Content-Type: application/json" \
Request.RequestFormat = json
@rodneyrehm
rodneyrehm / gist:40e7946c0cff68a31cea
Last active November 7, 2022 09:11
Diagrams for Documentation

some tools for diagrams in software documentation

Diagrams For Documentation

Obvious Choices

ASCII

// iMacro CheatSheet - Command Reference
// http://wiki.imacros.net/Command_Reference
// iMacros supports 3 types of variables:
// * The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro.
// * Built-in variables. They contain certain values set by iMacros.
// * User-defined variables. They are defined in-macro using the SET command.
@jmingtan
jmingtan / autoreload.py
Created August 25, 2011 17:52
Autoreload is a simple python script to watch a directory for changed files and restarts a process when the change is detected.
#!/usr/bin/env python
""" An extension of Steve Krenzel's autoreload script (https://github.com/stevekrenzel/autoreload)
Changes:
1. Allow user specified file extension white lists
2. Check if a process is alive before killing it
What follows is the original README.md file: