-
Install needed adobe apps from adobe creative cloud.
-
Open Terminal.
-
Copy-paste the below command to your terminal and run it (enter password if asked).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Little Snitch Blacklist", | |
"name": "Little Snitch Blacklist", | |
"rules": [ | |
{ | |
"action": "deny", | |
"notes": "", | |
"process": "any", | |
"remote-domains": "app-measurement.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.1.85-1_amd64.deb | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb | |
sudo apt-get update | |
sudo apt-get install -y cuda nvidia-cuda-toolkit |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Convolutional Neural Network" | |
input: "Images (1000x1x28x28)" | |
input_dim: 1000 | |
input_dim: 3 | |
input_dim: 28 | |
input_dim: 28 | |
layer { | |
bottom: "Images (1000x1x28x28)" | |
top: "Conv2d (1000x64x28x28)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Multiple Layer Perceptrons" | |
layer { | |
name: "Image (1000 x 28 x 28)" | |
type: "MemoryData" | |
top: "data" | |
top: "label" | |
memory_data_param { | |
batch_size: 1000 | |
channels: 1 | |
height: 28 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ResNet-152" | |
input: "data" | |
input_dim: 1 | |
input_dim: 3 | |
input_dim: 256 | |
input_dim: 256 | |
layer { | |
bottom: "data" | |
top: "conv1" |
There are a mess of troubles in sending and receiving files from my macbook to dev server, since I had no permission to excute command scp on dev server. Here is a lightweight, quick, and convenience tools which related with ssh, called lrzsz. lrzsz is a unix communication package providing the XMODEM, YMODEM, ZMODEM file transefer protocol which usually has been already installed in most of servers.
- iTerm2 is necessary. [Here][] is the official website.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libreoffice --convert-to pdf *.ppt | |
libreoffice --headless --convert-to pdf *.ppt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script may use ~8 MiB Memory, it is fast and safe | |
def find_IP(dns_ser, domain, timeout = 2): | |
import dns.resolver, sys | |
try: | |
T = dns.resolver.Resolver(); T.nameservers = [dns_ser, ]; T.timeout = T.lifetime = timeout | |
answers = T.query(domain, raise_on_no_answer=False) | |
return [rdata for rdata in answers] | |
except Exception as e: | |
if e.__class__.__base__ == dns.exception.DNSException: |
NewerOlder