Skip to content

Instantly share code, notes, and snippets.

View 1Conan's full-sized avatar

Conan 1Conan

View GitHub Profile
<?php
$signedVersionsURL = "https://api.ipsw.me/v2.1/firmwares.json/condensed";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL,$signedVersionsURL);
$result = curl_exec($ch);
curl_close($ch);
$data = json_decode($result, true);
@1Conan
1Conan / IAS.sh
Last active July 18, 2016 01:39
[ANDROID][ROOT][SHELL]Iruna Account Switcher
#!/system/bin/sh
#
# Iruna Account Switcher
# (c) 1Conan, 2016
#
# For support, e-mail me at
# admin[at]1conan.com
# Or comment at
# https://git.io/vK20L
#
#!/bin/bash
#
# nginx + php-FPM 7 + MariaDB 10.1 Installer
# by 1Conan
#
# Supports CentOS 6 or other RHEL-based OS (Untested)
#
# Version variables (Updated 3/24/16)
NPS_VERSION=1.9.32.10
@1Conan
1Conan / nginx-ssl.conf
Last active March 13, 2016 15:13
Configuration to get an A+ on the Qualys SSL Labs test with fast performing and low overhead SSL ciphers. Works in combination with nginx 1.9.8 full and OpenSSL v1.0.2d.
#NOTES
# http2 works only if you compiled nginx with "--with-http_v2_module"!
# If you need help on compiling nginx with http2 please refer to this link
# https://www.m00nie.com/2015/01/install-nginx-and-pagespeed/
#www to root redirect
server {
listen 80;
listen [::]:80;
listen 443 ssl http2;