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
@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
"" 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.
netsh wlan show profile * key=clear
@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%
  1. Having multiple characters is good. Later on for energy, but until you find your favorite class you need to try many different classes. Once you find a class you're content with, then go crazy on your gear. I recommend awakening all the classes (eventually). Awakening a character with decent gear takes only 1-2 days, and will permanently increase your house fame fund which can really add up over time.
  2. 90% of the time Grunil is what you want until you can start replacing each piece for Boss Gear. Use gathering to collect hide and workers to get black crystals so you can start making Grunil yourself if you think it's too expensive. You can also farm it at Manes, Helms, Abandoned Iron Mine, and Sausans, all around level 50-55.
  3. You can swap armor between characters. Meaning if you have many different characters that you like to play, you can maintain one set of armor, and simply work on their weapons. It's a pain in the ass to swap out the armor, but super cheap in the long run.
  4. You can rent a mai
@zQueal
zQueal / sshadowsocks.fish
Last active June 6, 2017 03:50
A little fish shell function to help build shadowsocks sessions in screen
function sshadowsocks --description 'create shadowsocks instance for user'
set -x USERNAME $argv[1]
set -x PASSWORD (go-shadowsocks2 -keygen 16)
set -x PORT $argv[2]
screen -dmS (echo $USERNAME"_"$PORT) go-shadowsocks2 -s ss://AEAD_AES_128_GCM:(echo $PASSWORD)@:(echo $PORT) -verbose
echo "Password: "$PASSWORD
echo "Cipher: AEAD_AES_128_GCM"
echo "Port: "$PORT
end
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQoKCgoKBggLDAsKDAkKCgr/2wBDAQICAgICAgUDAwUKBwYHCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgr/wAARCAIRAYADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD8Nm09FKjO5U5bb61S8S3Dy3ayMPmUxhfYYNbWmo6XUqkM8YUFmx39Kh03TrbxN4xg0q4Vvnm3NjuqozlfxC4/GvFoyftPkelUVoa9S58NtJ1K4a4uLTTriSMx/eht2kUsP90Gtv4fW/inQvFreI5/DOoRs1tIFzp0uAdvT7teo
function! s:plug_gx()
let line = getline('.')
let sha = matchstr(line, '^ \X*\zs\x\{7}\ze ')
let name = empty(sha) ? matchstr(line, '^[-x+] \zs[^:]\+\ze:')
\ : getline(search('^- .*:$', 'bn'))[2:-2]
let uri = get(get(g:plugs, name, {}), 'uri', '')
if uri !~ 'github.com'
return
endif
let repo = matchstr(uri, '[^:/]*/'.name)
‰PNG

IHDR @ „ ùMý¢ ™¦IDATxÚìݘTUºîñöι÷ÌÓ¨%Š:£H%F c@pÌŠ

’“€€ä(9# 9 HlrÎ (˜ã`ÖÑñ8óÝýíªU¬Þ½w…®nh6ÿßó¼ÝÕ¡Šª²k×z÷Z+C B&ƒ» „
 
 : t(@ @èP€ €Ð¡  ¡C B‡ „ 
 : t(@ @èP€ €Ð¡  ¡C B‡ „ 
 : t(@ @èP€ €Ð¡  ¡C B‡ „