Skip to content

Instantly share code, notes, and snippets.

View betsalel-williamson's full-sized avatar

Betsalel "Saul" betsalel-williamson

View GitHub Profile
@betsalel-williamson
betsalel-williamson / create-blocked-contact.sh
Last active June 24, 2018 11:52
Bash script to create blocked contact. Recently in America, the number of spam calls with numbers similar to your own number is out of hand. This will create a contact with all of those numbers for you to be able to block with your phone.
#! /bin/bash
#
# Copyright 2018 Betsalel "Saul" Williamson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC
@betsalel-williamson
betsalel-williamson / setup.sh
Last active April 22, 2019 23:51
Bash script for installing Nvidia drivers and CUDA on Ubuntu 14.04.5 LTS with Titan X
#!/bin/bash
# install file
# run when system is first installed to install the necessary components to get up and running
#
# Copyright 2018 Betsalel "Saul" Williamson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
@wangruohui
wangruohui / Install NVIDIA Driver and CUDA.md
Last active September 15, 2024 18:49
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS