Skip to content

Instantly share code, notes, and snippets.

View baisong's full-sized avatar

Oren Robinson baisong

View GitHub Profile
<table class="table table-striped"><thead><tr><th>Name</th><th>Ethnicities</th></tr></thead><tbody><tr><td>Ramla Sahid</td><td>GreaterAfrican, Muslim</td></tr><tr><td>Ismahan Abdullahi</td><td>GreaterAfrican, Muslim</td></tr><tr><td>Mustafa Dib</td><td>GreaterAfrican, Africans</td></tr><tr><td>Emily Serafy Cox</td><td>GreaterEuropean, British</td></tr><tr><td>Abdi Ali</td><td>GreaterAfrican, Muslim</td></tr><tr><td>Qureesh Hussein</td><td>Asian, IndianSubContinent</td></tr><tr><td>Homayra Yusufi-Marin</td><td>GreaterAfrican, Africans</td></tr><tr><td>Sahra Abdi</td><td>GreaterAfrican, Muslim</td></tr><tr><td>Mark Greenberg</td><td>GreaterEuropean, Jewish</td></tr><tr><td>Lori Shellenberger</td><td>GreaterEuropean, Jewish</td></tr><tr><td>Cory Briggs</td><td>GreaterEuropean, British</td></tr><tr><td>Nathan Fletcher</td><td>GreaterEuropean, British</td></tr><tr><td>Chuol Tut</td><td>GreaterAfrican, Africans</td></tr><tr><td>Fanik Jama</td><td>GreaterAfrican, Africans</td></tr><tr><td>Arbey Hamadi</td><td>Greate
@baisong
baisong / test.js
Last active November 2, 2016 05:02
function trumpify(input) {
// 1. Split the sentences
// 2. Remove extra spaces
}
/*
asdf asdf
asdf asdf asdf
/* "Social Change Strategies" orange header */
#block-733a25f650d85259e366 h1 { color: #fb8c00 !important; }
/* Desktop footer newsletter align to top of social media links */
#block-yui_3_17_2_10_1476108746075_6235 .newsletter-form-fields-wrapper, #block-yui_3_17_2_10_1476108746075_6235 .newsletter-form-button-wrapper {
margin-top: -6px !important;
}
.collection-type-index .content-inner.has-content {
padding-left: 0;
padding-right: 0
}
.content-inner {
max-width: 100%
}
.sqs-video-wrapper .sqs-video-overlay .sqs-video-opaque {
position: absolute;
bottom: 0;

I've rented in the same apartment in the City of San Diego for 2.5 years. I gave my 30-day notice last week to move to a cheaper apartment. I requested a copy of my lease since I can't find the copy I received when I first moved in.

My landlord says I must pay a $25 service fee for a copy of the lease. I believe I'm entitled to one free copy of my lease each calendar year, a right I have never made use of:

CA Civil Code 1962.7(4)

  1. (a) Any owner of a dwelling structure specified in Section 1961 or a party signing a rental agreement or lease on behalf of the owner shall do all of the following: ... (4) Provide a copy of the rental agreement or lease to the tenant within 15 days of its execution by the tenant. Once each calendar year thereafter, upon request by the tenant, the owner or owner's agent shall provide an additional copy to the tenant within 15 days.
@baisong
baisong / Test.md
Last active October 5, 2016 18:06

The current city council is

Elected "At Large"

  • El Cajon currently elects its city council members “at large.” This means all city council seats are elected citywide.
  • All of the voters in the city get to vote and decide whenever any candidates run for office.
  • Often more expensive for candidates to run for city council because they have to campaign across the whole city.

The new city council will be

Elected "By District"

  • The city will be divided into four or five districts, and council members represent the specific district where they live.
The Brave Space Agreements read:
By entering this space
I agree to love myself and others.
I agree to be accountable for what I do and say.
I agree to struggle against racism, sexism, ageism, homophobia, transphobia, ableism, classism, misogyny, shame, and other harmful systems.
<?php
namespace Drupal\mymodule\Controller;
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
/**
* Class FooBarController.
{
"status": "invalid",
"reason": "could not validate linked resources",
"error": {
"message": "could not validate linked resources",
"code": "resources",
"extra": {
"issuer.image": {
"message": "invalid http status",
"code": "http-status",
{
"issuedOn": "2016-02-19T10:27:20.621903",
"verify": {
"url": "https://badgr.io/public/assertions/c6d6e4b9-2650-4df9-9071-9bcacbe52232",
"type": "hosted"
},
"uid": "c6d6e4b9-2650-4df9-9071-9bcacbe52232",
"badge": "https://badgr.io/public/badges/level-2-cat-fancier",
"image": "https://badgr.io/public/assertions/c6d6e4b9-2650-4df9-9071-9bcacbe52232/image",
"type": "Assertion",