Skip to content

Instantly share code, notes, and snippets.

View blissjaspis's full-sized avatar

Bliss Jaspis blissjaspis

View GitHub Profile
@blissjaspis
blissjaspis / password_parsing.go
Created June 10, 2022 07:27
Get and Parse Common Credentials Password from SecList With More Custom Parsing
package main
import (
"fmt"
"io"
"io/ioutil"
"net/http"
"os"
"strings"
)
@blissjaspis
blissjaspis / AppName.php
Created April 8, 2021 07:42 — forked from isluewell/AppName.php
[6.0] Command app:name
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Composer;
use Symfony\Component\Finder\Finder;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Console\Input\InputArgument;
@blissjaspis
blissjaspis / spytracker.js
Last active March 17, 2020 06:56
Spy Depth Scroll
/**
* Track depth scroll
*/
var currentDepthScroll = 0;
function trackDepthScroll() {
var bottom = window.pageYOffset + window.innerHeight;
var height = document.documentElement.clientHeight;
var percent = (bottom/height)*100;
@blissjaspis
blissjaspis / ssh.md
Last active March 9, 2020 08:34 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@blissjaspis
blissjaspis / index.html
Last active November 6, 2018 02:33
Simple Maintenance HTML
<!DOCTYPE html>
<html>
<head>
<title>Site is down for maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
body { text-align: center; padding: 10%; font: 20px Helvetica, sans-serif; color: #333; }
h1 { font-size: 50px; margin: 0; }
article { display: block; text-align: left; max-width: 650px; margin: 0 auto; }
@blissjaspis
blissjaspis / letsencrypt_2018.md
Created September 29, 2018 14:53 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files:

—– BEGIN LICENSE —–
TwitterInc
200 User License
EA7E-890007
1D77F72E 390CDD93 4DCBA022 FAF60790
@blissjaspis
blissjaspis / gist:5bb6e200d6304c280df1dac47cdfd82a
Created February 14, 2018 11:07
Cara Install Laravel Valet di MAC
1- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2- brew install homebrew/php/php71
3- composer global require laravel/valet
4- echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc
5- source ~/.bashrc
6- valet install