Skip to content

Instantly share code, notes, and snippets.

View zQueal's full-sized avatar
🦍

Zach Queal zQueal

🦍
View GitHub Profile
@zQueal
zQueal / README.md
Last active December 3, 2021 22:28
A little how-to on how to build `atto` from source.

Requirements

  • golang v1.17 or higher
  • git
  • Add executables to %PATH%

If you're working under Windows and would like to use winget it may make this process a little easier.

These should be the file locations you need to add to your %PATH%;

  • go: %ProgramFiles%\Go\bin
"" This was made by Reddit user u/SamLovesNotion. Also with the help of - https://tdaly.co.uk/projects/vim-statusline-generator/ for learning the syntax. Sorry for English & grammar, this post was made in hurry.
" Images - https://www.reddit.com/r/vim/comments/ld8h2j/i_made_a_status_line_from_scratch_no_plugins_used/
" I have used Nerd icon fonts. Icons won't work without them. https://github.com/ryanoasis/nerd-fonts/
" This statusline looks exactly like Vim Airline (even more customizable & powerful) & loads faster than Vim airline. Only take few ms to load.
" STARTUP TIME - With Vim Airline - ~250ms. With this statusline - ~100ms. Without any statusline - ~98ms.
" Add all of this at the end of your vimrc OR Create separate file like 'statusline.vim' & 'colorsgroup.vim' & source those files in your main vimrc.
@zQueal
zQueal / nanners.bat
Created June 27, 2021 04:40
A simple batch wrapper to simplify using `atto`
@ECHO OFF
SET SEED=%1
:MENU
cls
ECHO.
ECHO Do stuff with NANO seeds.
ECHO.
ECHO 1 - Generate New Seed
ECHO 2 - Enter Seed
ECHO 3 - View Public Address
@zQueal
zQueal / blog.md
Last active January 31, 2020 23:19
Necessary Implementation of Adjustable Work Factor Ciphers in Modern Cryptographic Algorithms as it Relates to HeartBleed and OpenSSL

Abstract

In the 24 years since the creation of the world wide web there have been many severe security failures that have resulted in the exposure of sensitive data to the general public or malicious third parties. Most notably is the recent HeartBleed bug for OpenSSL v1.0.1 -- 1.0.2--beta in which a would-be attacker is able to exploit the implementation of the TLS heartbeat extension, which was originally meant to be used for keep-alive messages between client and server, to retrieve sensitive data stored in memory up to and including the server's private key. Already, HeartBleed is being regarded as the single most significant security bug in the history of the Internet; mainly because it was undetected by the community at large for such an extended period of time. The emerging details of HeartBleed revealed that the community of developers who on or with projects which depend on OpenSSL are beginning to rethink their position when it comes to traditional security.

Discovery

The official position fro

@zQueal
zQueal / awesome-php.md
Last active December 16, 2019 18:39 — forked from ziadoz/awesome-php.md
netsh wlan show profile * key=clear
@zQueal
zQueal / .htrouter
Created May 12, 2014 22:41
bcrypt() proof of concept
<?php
if(!file_exists(__DIR__ . '/' . $_SERVER['REQUEST_URI'])){
$_GET['_url'] = $_SERVER['REQUEST_URI'];
}
return false;
@zQueal
zQueal / blog.md
Last active July 31, 2018 12:00
How to Setup WordPress in Ubuntu 14.04 Using a Remote MySQL Server

About

For this instructional tutorial we'll be exploring the installation and setup of both WordPress v4.0 and the required MySQL database used to support it. However, sometimes we find ourselves in interesting situations which either necessitate or involve remote instances of a MySQL server or database. Quite simply, most of the time remote databases or servers are used for security purposes--specifically security through obscurity and not having all of your eggs in a single basket.

Important: Please ensure that you are correctly modifying usernames, passwords, hostnames and IP addresses to suit your needs. If you do not, this setup will not work correctly for you.

The Setup—LEMP

LEMP (Linux, Nginx, MySQL, PHP) is one of the most stable and widely used production/development environments available to developers. Anything Apache can do, Nginx can do much faster. This includes PHP proc

@zQueal
zQueal / blog.md
Created July 5, 2015 22:28
Passwords for the Modern Age

The Fappening

Many times have I been personal party to a vehement discussion about password security. The general consensus is, is that they're outdated, and a replacement needs to be found because passwords are bad! Personally, I think that's total poppycock. Passwords are not outdated, however, the mentality surrounding them definitely is.

Currently, the world wide media is an uproar over an event, currently labeled as "The Fappening." A crude but arguablly appropriate title to a massive breach in security affecting high profile celeberties such as Jennifer Lawrence, Kate Upton, Avil Lavigne, Lea Michael, and McKayla Maroney. "The Fappening" is simply the exploitation of passwords to gain access to iCloud (cloud backup service specific to apple devices) in which important information such as pictures of an unsavory nature wer

@zQueal
zQueal / vim_update_plugins.bat
Created August 16, 2017 01:02
A simple updater for the Vim8 plugin system that isn't crazy painful.
@ECHO OFF
REM Download FindUtils: http://gnuwin32.sourceforge.net/packages/findutils.htm
REM Add xargs.exe to your %PATH%
REM Add %PLUGINS% (environment variable) == your vim "packpath"
REM E.g %PLUGINS% = C:\Users\zqueal\.vim\pack\plugins\start
REM Add this batchfile to your %PATH%
REM run vim_update_plugins from CMD (or whatever you named the batchfile
cd %PLUGINS%