Server | SSL | Metods | Server country code | Comments |
---|---|---|---|---|
[cors-anywhere][1] | ✅ | - | US | Follows redirects 5x Require Origin header |
[crossorigin.me][2] | ✅ | GET | US | Require Origin header 2MB size limit |
[cors-proxy.htmldriven][3] | ✅ | - | CZ | JSON response don't work well with binary |
[cors-proxy.taskcluster][4] | ✅ | POST | US | Only witelisted to taskcluster.net Can send any header/method |
[jsonp.herokuapp.com][5] | ✅ | - | US | Supports both jsonp and cors |
[anyorigin][8] | ❌ | - | US | Only jsonp is supported, response is always json, always require a refferer header |
[thingproxy][9] | ✅ | ANY | US | Limited to 100kb for both upload and download, max 10 req/sec |
[whateverorigin][10] | ❌ | GET | US | Only supports |
This file contains 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
import discord | |
from discord.ext import commands | |
from __main__ import send_cmd_help | |
import aiohttp | |
from bs4 import BeautifulSoup | |
import random | |
from .utils import checks | |
from cogs.utils.dataIO import dataIO | |
import os |
This file contains 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
[ | |
{ | |
"id": 1, | |
"name": "色色资源站", | |
"uri": "https://www.emiao026.com", | |
"httpApi": "http://sscj8.com/inc/api.php", | |
"httpsApi": "http://sscj8.com/inc/sapi.php", | |
"type": "综合性资源" | |
}, | |
{ |
The GCC distributed with CentOS 6 is 4.4.7, which is pretty outdated. I'd like to use gcc 4.8+. Also, when trying to install Linuxbrew you run into a dependency loop where Homebrew's gcc depends on zlib, which depends on gcc. Here's how I solved the problem.
Note: Requires sudo
privileges.
- http://superuser.com/a/676337/88393: Forum response on using CERN's open Scientific Linux distribution of RHEL's developer toolset.
- http://linux.web.cern.ch/linux/devtoolset/: CERN's developer toolset installation instructions.
This file contains 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
#!/usr/bin/env bash | |
# Created @ 13.01.2015 by Christian Mayer <http://fox21.at> | |
brew install dbus | |
cp /usr/local/Cellar/d-bus/1.8.8/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents | |
# Load DBus | |
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist |
This file contains 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
package main | |
// More info on Getwd() | |
// https://golang.org/src/os/getwd.go | |
// | |
import( | |
"os" | |
"fmt" | |
"log" | |
) |
This file contains 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
# Set variables in .bashrc file | |
# don't forget to change your path correctly! | |
export GOPATH=$HOME/golang | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin |
This file contains 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
package main | |
import ( | |
"log" | |
"os/exec" | |
) | |
func main() { | |
path, err := exec.LookPath("ls") | |
if err != nil { |
This file contains 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
#!/bin/bash | |
# | |
# GoLang cross-compile snippet for Go 1.6+ based loosely on Dave Chaney's cross-compile script: | |
# http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go | |
# | |
# To use: | |
# | |
# $ cd ~/path-to/my-awesome-project | |
# $ go-build-all | |
# |
This file contains 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
/* MIT License | |
* | |
* Copyright (c) 2017 Roland Singer [[email protected]] | |
* | |
* 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: |
OlderNewer