This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find and fix top border for both lists | |
https://codepicnic.com/consoles/devtools-lab1 | |
The jumbotron example from CSS bootstrap doesn't work. Figure out why and fix it: | |
https://codepicnic.com/consoles/devtools-lab1-1460225984-1460226253-1460226592 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($comp = $NAME.substring(0,1).toUpperCase() + $NAME.substring(1)) | |
import React from 'react'; | |
export default React.createClass({ | |
propTypes: { | |
}, | |
getInitialState: function() { | |
return {}; | |
}, | |
componentDidMount: function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var el = document.querySelector('main'); | |
let g1 = new Game(); | |
let g2 = new Game(); | |
let g3 = new Game(); | |
let layout = new StackLayout(el); | |
layout.addItem('g1', g1); | |
layout.addItem('g2', g2); | |
layout.addItem('g3', g3); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.load=function(){ | |
var value = localStorage.getItem('picture'); | |
if ( !value ) { return; } | |
self.clear(); | |
var img = new Image; | |
img.src = value; | |
img.onload = function(){ | |
ctx.drawImage(img,0,0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mainwindow.h" | |
#include "ui_mainwindow.h" | |
#include <unistd.h> | |
MainWindow::MainWindow(QWidget *parent) : | |
QMainWindow(parent), | |
ui(new Ui::MainWindow) | |
{ | |
ui->setupUi(this); | |
QObject::connect(ui->pushButton, SIGNAL(clicked(bool)), this, SLOT(myfork())); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Status: | |
<span class="my-label label success">Success</span> | |
</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="breadcrumbs"> | |
<li><a href="#">Home</a></li> | |
<li><a href="#">Features</a></li> | |
<li class="unavailable"><a href="#">Gene Splicing</a></li> | |
<li class="current"><a href="#">Cloning</a></li> | |
</ul> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="my-button">Click Me</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="my-button">Click Me</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use v5.20; | |
package ImmutableString { | |
use Hash::Util qw/lock_hash/; | |
sub new { | |
my ($cls, $val) = @_; |