Skip to content

Instantly share code, notes, and snippets.

@NicolasLoew
NicolasLoew / clean-wordpress-install.sh
Created July 6, 2019 10:28 — forked from ryanknights/clean-wordpress-install.sh
Clean Wordpress Install Bash Script
#!/bin/bash
WORDPRESS_URL="https://wordpress.org/latest.tar.gz"
# GET ALL USER INPUT
echo "Project folder name?"
read PROJECT_FOLDER_NAME
echo "Project Source Url (eg. /home/users/name/desktop/)?"
read PROJECT_SOURCE_URL
@NicolasLoew
NicolasLoew / index.php
Created June 24, 2017 06:26 — forked from null-dev/index.php
1fichier.com direct link generator (PHP)
<?php
if(!isset($_GET['a'])) {
die('<form action="" method="get"><input type="text" name="a"/><input type="submit"/></form>');
}
$url = "https://1fichier.com/?" . urlencode($_GET['a']) . "?auth=1&inline";
stream_context_set_default(array(
'http' => array(
'method' => 'GET',
'header' => 'Authorization: Basic ' . '[BASE64 encoded login credentials. Format: "user:pass" (without quotes)]'
@NicolasLoew
NicolasLoew / CSGServerDemo.kt
Created June 15, 2017 20:23 — forked from null-dev/CSGServerDemo.kt
1fichier.com direct link generator
package xyz.nulldev.csg
import okhttp3.OkHttpClient
import okhttp3.Request
import org.jetbrains.ktor.http.HttpStatusCode
import org.jetbrains.ktor.netty.embeddedNettyServer
import org.jetbrains.ktor.response.respondRedirect
import org.jetbrains.ktor.response.respondText
import org.jetbrains.ktor.routing.get
import org.jetbrains.ktor.routing.routing
##### DEBIAN ################
# Debian Experimental
# deb http://ftp.de.debian.org/debian experimental main contrib non-free
# deb-src http://ftp.de.debian.org/debian experimental main contrib
# Debian Sid # CURRENT UNSTABLE
# deb http://ftp.de.debian.org/debian sid main contrib non-free
# deb-src http://ftp.de.debian.org/debian sid main contrib non-free
# Debian 8.0 (Jessie) # CURRENT TESTING