Skip to content

Instantly share code, notes, and snippets.

Eli Shkurkin shkurkin

Block or report user

Report or block shkurkin

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
@shkurkin
shkurkin / sqlite3_tips.md
Last active Jan 4, 2016
SQLite 3 gem tips and tricks
View sqlite3_tips.md

The setup

require 'sqlite3'

db = SQLite3::Database.new "data.db"

db.execute <<-SQL
  create table foobar (
    name varchar(30),
    val int
@shkurkin
shkurkin / jquery_example.html
Last active Jan 1, 2016 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
View jquery_example.html
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@shkurkin
shkurkin / index.html
Created Dec 23, 2013
HTML/CSS for Self Assessment ex. 10
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Basic HTML</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="wrapper">
<h1 class="sans">This is I</h1>
<div class="center"><img src="img/me.jpg"></div>
@shkurkin
shkurkin / 0.2.1-boggle_class_from_methods.rb
Last active Dec 27, 2015 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
View 0.2.1-boggle_class_from_methods.rb
class BoggleBoard
def initialize(board)
@board = board
end
def create_word(*coords)
coords.map { |coord| @board[coord.first][coord.last]}.join("")
end
You can’t perform that action at this time.