Skip to content

Instantly share code, notes, and snippets.

View scottharwell's full-sized avatar

Scott Harwell scottharwell

  • Red Hat
  • Greensboro, NC
View GitHub Profile
@drblue
drblue / fix_onedrive.sh
Last active August 21, 2024 07:44
Fix OneDrive for Mac CPU usage
#!/bin/bash
## Fix OneDrive for Mac CPU usage
##
## Seems this is still a problem 5 years later after I created this little gist.
## I have long since stopped using OneDrive (luckily), but according to
## comments below, I have added the new path for OfficeFileCache for macOS
## Mojave (10.14) and Catalina (10.15).
## Run this on macOS Mojave (10.14) and Catalina (10.15)
find ~/Library/Containers/ -type d -name OfficeFileCache -exec rm -r {} +
@scottharwell
scottharwell / Install_Sublime_Text_3_64.sh
Last active December 28, 2016 01:53 — forked from dkd903/Install_Sublime_Text_3_64.sh
Install Sublime Text 3 editor on Fedora Linux & Red Hat Linux - 64 Bit Edition. More at: http://digitizor.com/?p=15885
# This script is an enhancement of Debjit Saha's helpful original.
# https://gist.github.com/dkd903/8ba3f51313c1781cc571
# This script works with Fedora 25 and prints a prettier error when no file
# is provided.
#!/bin/sh
SHORTCUT="[Desktop Entry]
Name=Sublime Text 3
Comment=Edit text files
Exec=/usr/local/sublime_text_3/sublime_text
@kostyay
kostyay / FoxitReaderFedora26
Created July 27, 2017 08:11
How to get Foxit Reader to run on Fedora 26
cd ~/opt/foxitsoftware/foxitreader
ln -s /lib64/libssl.so.10 lib/libssl.so.1.0.0
ln -s /lib64/libcrypto.so.10 lib/libcrypto.so.1.0.0
@matux
matux / scntool.md
Last active April 11, 2023 13:49
SceneKit scntool command line options
$ xcrun scntool --verbose
| Current SceneKit version is 4.560000
| Running scntool (compiled on Jul  1 2018 01:01:55)

usage: scntool --convert file --format format [--output file]
000084a8:  7363 7269 7074 696f 6e00 2d2d 7461 7267 6574 2d70 6c61 7466  :scription.--target-platf