Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| """ | |
| A simple proxy server, based on original by gear11: | |
| https://gist.github.com/gear11/8006132 | |
| Modified from original to support both GET and POST, status code passthrough, header and form data passthrough. | |
| Usage: http://hostname:port/p/(URL to be proxied, minus protocol) | |
| For example: http://localhost:5000/p/www.google.com | |
| """ | |
| import re |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="/css/progress-bar.css"> | |
| </head> | |
| <body> | |
| <h1>Your element goes here...</h1> | |
| <!-- Link disabled: static link, SPF ins disabled --> | |
| <a href="/destination">Go!</a> |
| from tqdm import tqdm | |
| import requests | |
| chunk_size = 1024 | |
| url = "http://www.nervenet.org/pdf/python3handson.pdf" | |
| r = requests.get(url, stream = True) | |
| total_size = int(r.headers['content-length']) |
| mkdir opecv | |
| cd opencv | |
| sudo apt-get update -y && sudo apt-get upgrade -y | |
| sudo apt-get install build-essential cmake pkg-config -y | |
| sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev -y | |
| sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev -y | |
| sudo apt-get install libxvidcore-dev libx264-dev -y | |
| sudo apt-get install libgtk2.0-dev libgtk-3-dev -y | |
| sudo apt-get install libatlas-base-dev gfortran -y |
| Name: Flash | |
| Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= | |
| if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676 | |
| Thank you! |
| #!/bin/bash | |
| set -ex | |
| cd /tmp | |
| #pacman -S --needed --noconfirm base-devel | |
| #git clone https://aur.archlinux.org/nosudo | |
| #cd nosudo | |
| #makepkg -o | |
| #cp nosudo /bin/sudo |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
| // Copyright 2015 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| import 'dart:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/widgets.dart'; |