Skip to content

Instantly share code, notes, and snippets.

View elyrly's full-sized avatar

Richard Yang elyrly

  • San Francisco, CA
View GitHub Profile
alcatraz cruises
napa
https://www.thrillist.com/lifestyle/san-francisco/san-francisco-bucket-list
biking around
Golden Gate Bridge
Name and shame in security based on magazine
javascript://foobar0%a(alert)
{
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
"fade_fold_buttons": false,
"font_face": "Bitstream Vera Sans Mono",
"font_size": 36.0,
"highlight_active_indent_guide": true,
"highlight_line": true,
"highlight_modified_tabs": true,
"hot_exit": false,
$("#add_gridVanity").click()
var site = "PicoKosherDeli.org"
var base = 'ns1,ns2.'
var full = base.concat(site)
var sub1 = "ns1.".concat(site)
var sub2 = "ns2.".concat(site)
var both = sub1+'\n'+sub2
$("#add_gridVanity").click()
$("#name").val(full)
choose-party.html
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<meta charset="utf-8">
<title>Choose Party Page</title>
<!-- Sets initial viewport load and disables zooming -->

Params

Quick Refresher

We were going to quickly discuss params

When you create a form in rails you should see something like the following

Javascript/JQuery workout

Exercises for fun

ex_1.js

Using only js

@elyrly
elyrly / debug_1
Last active December 24, 2015 17:09 — forked from OfTheDelmer/debug_1.md
#Debugging
(Use The Duck… )
---
Find the errors in the following
1.)
> *My script is loading fine, but separate style sheets aren't working*
# ,o888888o. 8 8888 88 8 8888 8888888888',8888'
# . 8888 `88. 8 8888 88 8 8888 ,8',8888'
# ,8 8888 `8b 8 8888 88 8 8888 ,8',8888'
# 88 8888 `8b 8 8888 88 8 8888 ,8',8888'
# 88 8888 88 8 8888 88 8 8888 ,8',8888'
# 88 8888 `8. 88 8 8888 88 8 8888 ,8',8888'
# 88 8888 `8,8P 8 8888 88 8 8888 ,8',8888'
# `8 8888 ;8P ` 8888 ,8P 8 8888 ,8',8888'
# ` 8888 ,88'8. 8888 ,d8P 8 8888 ,8',8888'