Skip to content

Instantly share code, notes, and snippets.

View jlord's full-sized avatar
😃
Hello, hi!

Jessica Lord jlord

😃
Hello, hi!
View GitHub Profile
@jlord
jlord / index.html
Created May 31, 2012 23:21
A CSS Sidebar Menu
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Arvo:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
</head>
<style>
h2 {font-family: 'Arvo', serif; font-weight: 400; font-size: 16px; color: #333; margin: 0px;}
a {text-decoration: none; }
#sidebar { position: relative; float: left; width: 360px;}
#sidebar h2 { margin-left: 8px; }
var app = require('app');
var BrowserWindow = require('browser-window');
var glob = require('glob');
var mainWindow = null;
// Require and setup each JS file in the main-process dir
glob('main-process/**/*.js', function (error, files) {
if (error) return console.log(error);
files.forEach(function (file) {
[
  "and",
  [
    "or",
    [
      "or",
      {
        "name": "userId",
 "value": "",
@jlord
jlord / Readme.md
Last active February 15, 2020 19:52

Add these fun keyboard shortcuts to your system! Works especially well if you're writing @muan a lot (◍•ᴗ•◍)♡

Here's how on OS X:

Press cmd + space and search and open System Preferences, then select Keyboard, then Text ヽ(´∇`)ノ

img

Note

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am jlord on github.
  • I am jlord (https://keybase.io/jlord) on keybase.
  • I have a public key ASBSJeZNmZvTacL9OGpXi9vRl9Jbpm_bHGvaFXzlAnLpxgo

To claim this, I am signing this object:

@jlord
jlord / index.html
Created September 8, 2012 23:16
Separate text from images in a page in Wordpress.
<?php
$posttext = $post->post_content;
$regex = '~<img [^\>]*\ />~';
preg_match_all($regex, $posttext, $images);
$posttext = preg_replace($regex, '', $posttext); ?>
<div id="thePostText">
<?php echo $posttext; ?>
</div>
@jlord
jlord / lights.js
Last active October 26, 2017 17:16
var exec = require('child_process').exec
var args = process.argv
// Config
var IP = ''
var SEC = ''
// Lights
var FIRST_LIGHT = '65537'
var SECOND_LIGHT = '65538'
@jlord
jlord / opensource-career.md
Last active June 21, 2016 18:53 — forked from bkeepers/opensource-career.md
Tell me your story about how open source has impacted your career.

I’m working on a talk about the relationship between community participation and careers, and want to hear from people who feel like open source has impacted their career. Tell me your story!

Below are some questions related to get you started. Feel free to either fork this gist, blog your answers and send me the link, or email them directly to me at bkeepers@github.com. I will ask your permission before sharing anything about your story publicly.

  • How do you feel your participation in open source has impacted your career, both good and bad?

  • Open source has had a greatly positive impact on my career. I believe my career opportunities have come from my contributions to open source with my interests and skills being public.

  • How did you first get exposed to open source? Why did you decide to learn more about it?

  • I believed in the importance of sharing knowledge but it wasn't until I started as a Code for America fellow that I realized it had a name, open source, and an active community. In my first

@jlord
jlord / sheetsee.md
Last active April 17, 2016 14:04
Sheetsee 3 To-do List

I'm getting closer (or so it seems) to the next Sheetsee update. I'm excited about it! It will change a lot and take care of a lot of stuff I've been wanting to do for a while.

It will: allow you to paginate your tables, use polygons, lines and multipolygons in your maps (and color them!), be modularlized so, if and only if you want, you can just build the parts of Sheetsee that you want to (ie: a version with just tables and maps).

I've got the modules in their own cozy repositories on GitHub and am working on the modules branch of jlord/sheetsee.js, which will remain the main repository with all documentation and the full version of sheetsee for users who don't wish to build a custom one.

Here is my to-do list, mostly for me because I wrote it on paper and then lost it, but also for you, if you're interested:

  • Finish new documentation
  • About