Skip to content

Instantly share code, notes, and snippets.

View zQueal's full-sized avatar
🦍

Zach Queal zQueal

🦍
View GitHub Profile
  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
@zQueal
zQueal / BTSync.md
Last active November 9, 2016 05:58
Debian and Ubuntu Server Packages for BitTorrent Sync client. Credit goes to Tuxpoldo (https://github.com/Tuxpoldo). Original Thread: http://forum.bittorrent.com/topic/18974-debian-and-ubuntu-server-packages-for-bittorrent-sync/

Since I was one of the alfa-testers, I was able to develop a deployment concept for linux servers which permits to deploy BitTorrent Sync as single or multiple daemons with specific configurations. There are now ready-to-use deb packages available both for Ubuntu or Debian with full debconf-support for automated creation of an optional default configuration. If you are searching for a version more suitable for personal desktop use, please look here. Update: User @tuxpoldo has opened a repository, and keeps it current. Follow those instructions instead!

#INSTALLATION IN UBUNTU

Currently there are packages available for Ubuntu precise, quantal, raring and saucy supporting both i386 and amd64. The packages can be easily installed by adding the PPA and then installing as usual:

sudo add-apt-repository ppa:tuxpoldo/btsync
sudo apt-get update
sudo apt-get instal
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‡ „ 
@zQueal
zQueal / index.php
Created July 1, 2013 07:31
Simple bitcoin shortening API. Requires Flight: https://github.com/Xanza/flight
<?php
# Includes #
require_once('flight/Flight.php');
# Database Information #
Flight::register('db', 'PDO', array('mysql:host=localhost;port=3306;dbname=btc', 'root', 'password'), function($db) {
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
});
@zQueal
zQueal / scrape.rb
Created June 20, 2013 16:44
Scrape information from a page.
require 'rio'
require 'open-uri'
require 'uri'
unless ARGV[0] and ARGV[1]
puts "You must specify an operation and URL."
puts "USAGE: scrape.rb [page|images|links] <http://www.some_site.com>"
exit
end
@zQueal
zQueal / ddos.php
Last active December 17, 2015 20:09
DDoS Detection & Packet Capture Script
<?php
# DDoS Detection & Packet Capture Script
# Written by Robert 'xnite' Whitney
# Website: http://xnite.org
# Email: xnite@xnite.org
# Run script as root via crontab every 5 to 10 minutes
# Ensure all dependences are satisfied before running this script (ifstat, tcpdump, php)
# This script will only allow a single tcpdump process to run at once
@zQueal
zQueal / issues.php
Last active December 12, 2015 09:49
PHP/cURL github API to return repositories open issue count.
<?php
function openIssues(){
$c = curl_init();
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_HTTPHEADER, array('Accept: application/json', 'Content-Type: application/json'));
curl_setopt($c, CURLOPT_URL, 'https://api.github.com/repos/xanza/xanza.github.com');
$content = curl_exec($c);
curl_close($c);