I hereby claim:
- I am airbr on github.
- I am airbridge (https://keybase.io/airbridge) on keybase.
- I have a public key whose fingerprint is 69C9 DB9E B0CC C4BF 3ADA F81B 42F0 DFFC 8EE4 8008
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
<div class="bs-example"> | |
<!-- Button HTML (to Trigger Modal) --> | |
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal" data-num="0">Question 1</button> | |
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal" data-num="1">Question 2</button> | |
<!-- Modal HTML --> | |
<div id="myModal" class="modal fade"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-header"> |
function submit() { | |
var selected = $(".modal-body input:checked").val(); | |
for (i = 0; i < questions.length; i++) { | |
if ( selected === questions[i].correctAnswer ) { | |
console.log(selected + " was selected"); | |
console.log("You selected the correct answer:" + questions[i].correctAnswer); | |
var scs = i; | |
} | |
if ( scs === 0 || scs === 5 || scs === 10 || scs === 15 || scs === 20 ) { | |
score1 = score1 + 10; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
function fizzbuzz(num) { | |
if(num === 0) { //base case | |
return 1; | |
}if(num < 0) { //termination case | |
return console.log("Positive numbers only, please."); | |
}if((num % 3 === 0) && (num % 5 === 0)) { //fizzbuzz conditionals | |
console.log("fizzbuzz"); | |
If you are reading this HTML comment I appreciate your efforts to go a bit deeper under the surface of my website and portfolio. | |
I must give credit to W3Schools for my adaptation of their CSS3 animation at the following URL incorporated into this post: http://www.w3schools.com/css/css3_animations.asp | |
Silly little CSS animations were something that was fun right at the beginning of my journey into web development and kept me motivated. Ask me about them and Ill know you have taken some time to look over my stuff and have an appreciation for simple fun along the way of gaining harder skills. | |
--> | |
<div id="animated_div"> | |
Welcome<span style="font-size:10px;"></span></div> |
alias.g log --graph --all --branches --decorate --pretty=format:'[%C(auto)%h%Creset][%C(cyan)%an %ar%Creset]%C(auto)%d%Creset %s %C(auto)%Creset' | |
alias.ls log --stat --all --decorate |
Examples worked through with DataGrip & the following basic table structure:
The data source is based on a hypothetical data-center with different rackspace units, the current/planned rentals, prices and configuration of the racks.
nb some odd comments left in there for my own reference like -- // foo
has some kind of meaning about getting a return of foo number of rows from the query run individually
Table name | Fields | Types/Notes |
---|---|---|
configuration | cpu, memory, hd, speed |
Originally published in June 2008
When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.
To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.
Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.