Skip to content

Instantly share code, notes, and snippets.

View OpenSorceress's full-sized avatar

Leah LaSalla OpenSorceress

View GitHub Profile
<!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name='description' content='{MetaDescription}'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
/**
* This is a WIP of potential usage of the ORM in a NodeJS implementation. Let's try implementing
* this as a module for other parts of the app to use. Less instantiation for later
*/
var ORM = require('awesomeorm-base'),
repository = require('awesomeorm-repository-rest')('http://rest.example.com/schema'),
dataParser = require('awesomeorm-data-jsonapi'),
modelBuilder = require('awesomeorm-model-encasulated');
git archive --output=file.zip HEAD $(git diff --name-only SHA1 SHA2)
@OpenSorceress
OpenSorceress / create-admin-user
Last active August 29, 2015 14:05
create admin user
<?php
require 'app/Mage.php';
Mage::app();
extract($_GET);
$user = Mage::getModel('admin/user');
$user->setFirstname($first);
$user->setLastname($last);
$user->setUsername($user);
$user->setEmail($email);
$user->setPassword($pass);

Keybase proof

I hereby claim:

  • I am opensorceress on github.
  • I am opensorceress (https://keybase.io/opensorceress) on keybase.
  • I have a public key whose fingerprint is 82D0 274B 97CF 8335 23BF 0FDA 1DCE 7056 E879 F107

To claim this, I am signing this object:

A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.

I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.

I'd love comments and suggestions about any of these.

I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.

I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".

@OpenSorceress
OpenSorceress / vm-resize-hard-disk.md
Last active August 29, 2015 14:27 — forked from christopher-hopper/vm-resize-hard-disk.md
Resize a Hard Disk for a Virtual Machine provisioned using Vagrant from a Linux base box to run using VirutalBox.

Resize a Hard Disk for a Virtual Machine

Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.

Some assumptions

The following steps assume you've got a set-up like mine, where:

@OpenSorceress
OpenSorceress / vm-resize-hard-disk.md
Last active August 29, 2015 14:27 — forked from christopher-hopper/vm-resize-hard-disk.md
Resize a Hard Disk for a Virtual Machine provisioned using Vagrant from a Linux base box to run using VirutalBox.

Resize a Hard Disk for a Virtual Machine

Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.

Some assumptions

The following steps assume you've got a set-up like mine, where:

/*
Welcome to Custom CSS!
To learn how this works, see http://wp.me/PEmnE-Bt
*/
.widget.sgwindow_recent_posts .content article footer a, .content-container article .entry-content a, .comments-link a, .category-list a, .featured-post, .logged-in-as a, .site .edit-link, .jetpack-widget-tag-nav, .jetpack-widget-nav, .content footer a, .widgets-list-layout-links a, .product_meta a, .entry-content h3 a, .woocommerce-tabs a {
text-decoration: none;
text-rendering: geometricPrecision;
}
/*
Copyright (C) 2015 3D Robotics
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software