Skip to content

Instantly share code, notes, and snippets.

View Skylarity's full-sized avatar
👾
beep boop

Skye Ash Skylarity

👾
beep boop
View GitHub Profile

Keybase proof

I hereby claim:

  • I am Skylarity on github.
  • I am skylarity (https://keybase.io/skylarity) on keybase.
  • I have a public key whose fingerprint is FF20 04C4 6AC0 C236 E26A 2A43 3671 6576 E7EA 2B95

To claim this, I am signing this object:

{
"happyGameModifiers": ["colorful", "cheerful", "cartoony", "heart-warming"],
"sadGameModifiers": ["gritty", "grimy", "macabre", "noir", "dark", "survival horror"],
"neutralGameModifiers": ["thrilling", "mysterious"],
"gameTypes": ["MMO", "artsy", "pixelated", "retro", "bullethell", "physics-based"],
"gameGenres": ["RPG", "platformer", "sidescroller", "first-person game", "third-person game", "top-down game", "tower defense game", "puzzle game", "simulator", "hack n' slash", "roguelike", "metroidvania", "strategy game", "MOBA", "point-and-click", "survival game"],
"happyFirstAdjectives": ["happy", "virtuous", "adorable", "righteous"],
"happySecondAdjectives": ["hero", "adventurer", "explorer", "daredevil"],
@Skylarity
Skylarity / atom.md
Last active November 30, 2016 01:36
Helpful tips for using the Atom editor.

Atom

Atom can be found at atom.io.

Helpful Settings

  • Project Home — Used to set default project directory
  • Scroll Past End
  • Show Indent Guide
  • Show Invisibles
@Skylarity
Skylarity / encrypted-config-notes.md
Last active December 7, 2016 17:18
Setting Up Encrypted Config Files

FIRST TIME SETUP:

On the server:

Create directory

$ cd /etc/apache2
$ mkdir encrypted-config

Set permissions

@Skylarity
Skylarity / adding-users.md
Last active June 20, 2017 18:46
Adding User Accounts on a Server

Adding Users

As any user:

-G sudo gives user sudo privileges, omit this for users who do not need this

$ sudo useradd -m -c "Firstname Lastname" -g users -G sudo username_here

Create password for sudo privileges

$ passwd username_here
@Skylarity
Skylarity / server-admin-notes.md
Last active February 23, 2017 16:09
Notes for RS21 server administration.

Server Admin Crash Course

Logging in

SSH

SSH stands for Secure Shell. It's a network protocol by which you can operate devices remotely over the World Wide Web. 👻 spooky 👻

Windows

You seem to be at the pont where beginner tutorials dip down and advanced tutorials pick up (and are currently experiencing the general lack of intermediate level tutorials), so I think what I'd recommend doing actually is just "building stuff". I know that's an unsatisfying answer though, so maybe I can point you towards some specific things that are necessary in most web applications, that way as you're "building stuff" you have some specific goals to work towards learning.

In no particular order:

  • AJAX (Asynchronous Javascript And XML)

    • To quote MDN (which, by the way, is a fantastic resource: https://developer.mozilla.org/en-US/) "In a nutshell, it is the use of the XMLHttpRequest object to communicate with servers. It can send and receive information in various formats, including JSON, XML, HTML, and text files."
    • Basically if you want to talk to other severs (such as with APIs, detailed below), you'll need to use AJAX
  • APIs (Application Programming Interfaces)

    • Pick your favorite site (Twitte

Offline Leaflet Maps (should carry over to Mapbox too)

Image setup

  1. Take a screenshot of the map in the position you need it in (ideally this shot would contain all sections of map that are relevant to the visualization)
    • Open the page in fullscreen and remove all elements that obstruct the map view, then screenshot
  2. Get the coordinates of the current view's bounding box
    1. Open devtools in a separate window. Make sure the map is still fullscreened.
      • This is important because otherwise the window size will be different than the screenshot size
    2. In the console, run map.getBounds()

Twist vs. Slack

Threading

This is the main point of contention, I feel.

Slack

Right now, threads can be one of two things:

Twist vs. Slack (listed in no particular order whatsoever)

Twist

Pros

  • Threading (this is the big one)
  • "Inbox" feature, which compiles a list of every thread you are a part of
  • Much better search filtering