Skip to content

Instantly share code, notes, and snippets.

View sparkydogX's full-sized avatar
🎯
Focusing

sparkydogX

🎯
Focusing
View GitHub Profile
@sparkydogX
sparkydogX / convnet_test.py
Created January 4, 2019 13:26 — forked from axel-angel/convnet_test.py
Caffe script to compute accuracy and confusion matrix
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Author: Axel Angel, copyright 2015, license GPLv3.
import sys
import caffe
import numpy as np
import lmdb
import argparse
@sparkydogX
sparkydogX / powershell-proxy-set-clear.ps1
Created September 12, 2018 13:49 — forked from famousgarkin/powershell-proxy-set-clear.ps1
PowerShell Set-Proxy, Clear-proxy
# NOTE: registry keys for IE 8, may vary for other versions
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
function Clear-Proxy
{
Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 0
Set-ItemProperty -Path $regPath -Name ProxyServer -Value ''
Set-ItemProperty -Path $regPath -Name ProxyOverride -Value ''
[Environment]::SetEnvironmentVariable('http_proxy', $null, 'User')
@sparkydogX
sparkydogX / SS+provixy Ubuntu.md
Last active September 12, 2018 02:57 — forked from alexniver/golang, ubuntu go get in china.md
ubuntu下, 使用shadowsock和Privoxy在命令行 : )

shadowsock + Privoxy

使用shadowsock建立一个本地sock5代理, 使用privoxy把sock5代理转为http代理.

shadowsock

首先你有一个的shadowsock服务器, 确保好用.