Skip to content

Instantly share code, notes, and snippets.

View arslan2012's full-sized avatar
🎯
Focusing

Arslan Ablikim arslan2012

🎯
Focusing
View GitHub Profile
@nakamuraos
nakamuraos / reset-trial-navicat.sh
Last active May 6, 2024 16:06
Reset trial Navicat 15, Navicat 16 on Linux
#!/bin/bash
# Author: NakamuraOS
# https://github.com/nakamuraos
# Latest update: 30/03/2022
# Tested on Navicat 15.x, 16.x on Linux
RED="\e[1;31m"
ENDCOLOR="\e[0m"
@tuxity
tuxity / navicat_premium_reset_trial.sh
Last active May 6, 2024 11:09
Reset Navicat Premium 15/16 remaining trial days
#!/bin/bash
set -e
file=$(defaults read /Applications/Navicat\ Premium.app/Contents/Info.plist)
regex="CFBundleShortVersionString = \"([^\.]+)"
[[ $file =~ $regex ]]
version=${BASH_REMATCH[1]}
@stansidel
stansidel / gpg-with-key
Last active November 10, 2023 08:20
Setting up GPG signature on Mac OS X with Xcode
/usr/local/bin/gpg --batch --passphrase-file ~/.gnupg/key.txt --no-tty "$@"

Build tensorflow on OSX with NVIDIA CUDA support (GPU acceleration)

These instructions are based on Mistobaan's gist but expanded and updated to work with the latest tensorflow OSX CUDA PR.

Requirements

OS X 10.10 (Yosemite) or newer