Skip to content

Instantly share code, notes, and snippets.

View eagl3s1ght's full-sized avatar

Anton Olsson eagl3s1ght

View GitHub Profile
@eagl3s1ght
eagl3s1ght / tinder.user.js
Last active November 25, 2022 18:47 — forked from tajnymag/tinder.user.js
Tinder Deblur Userscript
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match https://tinder.com/app/*
// @grant none
// @version 1.2.1
// @author Tajnymag
// @co-author Eagl3s1ght
// @downloadURL https://gist.githubusercontent.com/eagl3s1ght/2331ab7b2745b0a82ada4a32150f8c9e/raw/tinder.user.js
// @description Simple script using the official Tinde API to get clean photos of the users who liked you
@eagl3s1ght
eagl3s1ght / wp-auto-login.php
Last active August 26, 2019 00:45 — forked from jacks0n/wp-auto-login.php
Automatically login to WordPress, with a given user and optionally whitelist IPs. Add this to the bottom of wp-config.php, or your theme functions.php. To automatically login, visit the admin login page (/wp-login.php or /wp-admin/).
<?php
/**
* @package automatic_user_login
* @version 1.0.0
*/
/*
Plugin Name: automatic_user_login
Plugin URI: http://wordpress.org/plugins/automatic_user_login/
Description: Automatically logs in a visitor when accessing the admin login area (/wp-login.php)
Author: Jackson Cooper
@eagl3s1ght
eagl3s1ght / SSLXampp.md
Created August 12, 2018 16:52 — forked from nguyenanhtu/SSLXampp.md
Guide to configure SSL in XAMPP for Windows

How to test 'https' in XAMPP for localhost ? I will guide you

Menu

  • Create certificate
  • Config Apache to access https instead of http
  • Config mod rewrite to generate SSL url
  • Config Virtual host to test site

Step 1 : Create certificate

  • Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder. In this, find & run batch file
@eagl3s1ght
eagl3s1ght / create-vhost.bat
Last active August 12, 2018 15:18 — forked from CrankyNVGuy/vhosts.bat
Windows batch script for creating new virtual host entries on Apache.
@echo off
rem adapted to use with XAMPP on Windows to enable virtual hosts.
rem adapted to prompt for admin rights
rem adapted to allow input if no input (no cli)
rem adapted to check if settings are valid (set files exist)
@rem Check if file was executed with admin rights, else make new console admin and execute the script again
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
rem -----Settings you can safely modify-----
const rp = require("request-promise").defaults({ encoding: "utf8" });
const cheerio = require("cheerio");
const _ = require("underscore");
var he = require("he");
var parseXlsx = require("excel");
const FilePath =
"test.csv";
parseXlsx(FilePath, function(err, data) {