Instantly share code, notes, and snippets.

View cloudflare-ips-v4.txt
103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,104.16.0.0/12,108.162.192.0/18,131.0.72.0/22,141.101.64.0/18,162.158.0.0/15,172.64.0.0/13,173.245.48.0/20,188.114.96.0/20,190.93.240.0/20,197.234.240.0/22,198.41.128.0/17
View Embed.md

Embedding an image in a GitHub Issue

Say you have an image at a url. i will use https://judge.sh/9SMwvoEM88.png for my example, but almost all direct link image urls will work.

In order to embed it, you must enter it with ![](imageurl), replacing imageurl with your image URL.

Example:

![](https://judge.sh/9SMwvoEM88.png)
View privacy.txt
Updated 5/19/2018
Text is bolded in this document not necessarily to emphasise, but to increase readability and navigation of the document.
Managing your data
We allow a user to request all information related to their account to be deleted upon request. A user may also request all of their information to be downloaded upon request.
View centos.sh
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
sed -i 's|#baseurl=http://mirror.centos.org/centos/$releasever|baseurl=http://vault.centos.org/5.11|' /etc/yum.repos.d/*.repo
View checkcert.sh
# usage: sh checkcert.sh www.google.com
echo | openssl s_client -showcerts -servername $1 -connect $1:443 2>/dev/null | openssl x509 -inform pem -noout -text
View gsuite_smtp.json
{
"1": [
{
"1": "(ab:cd, likely some authorization thing)",
"2": 14,
"7": "Name of group",
"16": 1,
"20": {
"5": [
{
View bench.py
from line_profiler import LineProfiler
import random, math
levels = [0]
for level in xrange(1,100):
level += 1
exp = int(15 * level * (level+5))
levels.append(exp)
def getExpLevel(experience):
View qt - vs15
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 10.0.16299.0
which nmake
cd C:\QtBuild
c:
( dir /b /a "%dir%" | findstr . ) > nul && (
echo %dir% non-empty
) || (
echo %dir% empty
git clone https://github.com/qt/qt5 .
)
View SendKeyToBackground.cs
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
namespace SendKeysToAnyApplication
{
class Program
{
delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
View README.md

To build nginx, run in terminal

wget https://gist.github.com/judge2020/e3461e06c065830d1359adca1be90893/raw/b77d7cd58606002b12392fc066fe1cdda5c0cd30/build_nginx.sh && source build_nginx.sh