Skip to content

Instantly share code, notes, and snippets.

Nessa Jane Marin levionessa

Block or report user

Report or block levionessa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View erlang.config
{linc,
[
{of_config, enabled},
{capable_switch_ports,
[
{port, 1, [{interface, "eth0"}]},
{port, 2, [{interface, "tap0"}]}
]},
{logical_switches,
[
View keybase.md

Keybase proof

I hereby claim:

  • I am levionessa on github.
  • I am levionessa (https://keybase.io/levionessa) on keybase.
  • I have a public key ASDBABkVKwxmGvA5V3iCjuHJtvdQH0V_uw6C-Jxtm6kZ8go

To claim this, I am signing this object:

View hiring.md

We have to be Swift with hiring or candidates will Go elsewhere. We don't want to get Rust-y at our interviewing skills. A good candidate is like a precious Ruby. Maybe even a Perl.

Never forget to offer them plenty of Java. Script... Stick to the script to avoid introducing bias. Bias is a snake in the grass... Like a Python. It doesn't matter if they have a Lisp. Treat candidates equally and be Forth right. If it seems like we're not being transparent they think we might be up to a Scheme.

View thing_controller.rb
require 'dalli'
class ThingController
def create
thing = Thing.new(params)
thing.special_id = dalli.increment(:special_id, 1)
thing.save!
end
end
View coming_out.md

I'm about to be much more personal and vulnerable than I ever am on Facebook. If you care about me please read carefully and listen to the feelings.

I've been debating making a status like this for years... I kept saying "At this next milestone I'll do it" and then not feeling ready when I got there. In a lot of ways, this is the worst time in my life for me to do this... but my heart and my mental health just can't take living an inauthentic life anymore and for me, that means I want to live as openly as possible.

I'm bi. I've been attracted to people of like and not like genders for as long as I can remember being attracted to anyone. I spent years of my life feeling ashamed of it and feeling like something was wrong with me and that I had done something to cause it. I spent years not calling what I was feeling attraction and avoiding getting close to other masculine presenting people. When I was about 19, a sweet friend came out to me and I was surprised to hear myself say "Oh! Me too!" It was the

@levionessa
levionessa / package.json
Last active Apr 5, 2016
docker-release npm script
View package.json
"scripts": {
"docker-build": "docker build --no-cache -t my-project:$npm_package_version .",
"predocker-push-version": "docker tag my-project:$npm_package_version my-repo.com/my-project:$npm_package_version",
"docker-push-version": "docker push my-repo.com/my-project:$npm_package_version",
"predocker-push-latest": "docker tag my-project:$npm_package_version my-repo.com/my-project:latest",
"docker-push-latest": "docker push my-repo.com/my-project:latest",
"docker-release-version": "npm run docker-build && npm run docker-push-version",
"docker-release": "npm run docker-release-version && npm run docker-push-lastest"
}
View docker-machine-bridge.sh
#!/bin/sh
#
# Adds a bridged network adapter to a VirtualBox docker machine.
#
# If the "-d" argument is given, the bridged network adapter is removed.
# The host network adapter can be provided via "-i network_adapter" argument.
# The machine name can be provided as last argument, else "default" is used.
#
# Usage: ./docker-machine-bridge.sh [-i network_adapter] [-d] [machine]
View AndroidExample.cs
public Dictionary<string, UIImage> GetImages(string directory) {
var images = new Dictionary<string, UIImage>();
var paths = Directory.EnumerateFiles(directory, "*.png");
foreach (var path in paths) {
images[path] = UIImage.FromFile(path);
}
return images;
}
public async Task<List<FeedItem>> GetFeedItems(DateTime date) {
View docs.md
  • API-level docs: consumers of the software (library users, API consumers, etc)
  • Onboarding Docs: Potential Contributors (this is high-level info in README... stuff in WIKIS like design docs, etc..., CONTRIBUTING.md files...)
  • READMEs: Good starting points to get different folks directed to different places (i.e. link consumers to API docs and install instructions, link potential contributors to contribution guidelines and high level design docs, style guides, etc.)

Ultimately contributors do just have to reference the code itself at some point... although the code doesn't tell the whole story, particularly for software that's meant to be consumed by other software (libraries, APIs, microservices, etc...)

Tons of other kinds of docs with writing... just a small sample.

View character.ex
defmodule Character do
import Algae.Maybe
@type t :: %__MODULE__{
name: Just.t | Nothing.t
}
defstruct name: maybe
@spec return_dan :: Character.t
You can’t perform that action at this time.