This file contains 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
require 'formula' | |
class Bfgminer < Formula | |
homepage 'https://github.com/luke-jr/bfgminer' | |
head 'https://github.com/nwoolls/bfgminer.git', :branch => 'feature/antminer-u1-support' | |
url 'http://luke.dashjr.org/programs/bitcoin/files/bfgminer/3.9.0/bfgminer-3.9.0.zip' | |
sha1 '5be8c54b814d1d7f7740f250d9db413ad77fbd91' | |
depends_on 'autoconf' => :build | |
depends_on 'automake' => :build |
This file contains 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
#!/bin/sh | |
cnt=0 | |
depth=0 | |
while read -n 1 char; do | |
case $char in | |
"{") | |
((depth++)) | |
;; | |
"}") | |
((depth--)) |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="viewport" content="width=device-width"> | |
<link rel="stylesheet" href="search-bar.css"> | |
</head> | |
<body> | |
<form id='search'> |
This file contains 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
<font size="109">•</font> | |
<p>Sun<p> | |
<font size=".38">•</font> | |
<p>Mercury<p> | |
<font size=".95">•</font> | |
<p>Venus<p> | |
<font size="1">•</font> | |
<p>Earth<p> | |
<font size=".53">•</font> | |
<p>Mars<p> |
This file contains 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
<div class="wrapper"> | |
<div class="vertically-centered"> | |
Small or large amount of content. | |
</div> | |
</div> | |
<style> | |
.wrapper { | |
/* make this as tall as you want */ | |
height: 500px; |
This file contains 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
body { | |
width: 100%; | |
height: 500px; | |
margin: 0; | |
padding: 0; | |
text-align: center; | |
} | |
body:before { | |
display: inline-block; | |
content: ' '; |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<script src="util.js"></script> | |
<style> | |
div { | |
border: 3px solid blue; | |
height: 100px; | |
width: 100px; |
This file contains 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
<script> | |
(function ($) { | |
$(function () { | |
$("#converter").submit(function(){return false;}); | |
$("#rgba").bind('keyup change', function () { | |
var value = $(this).val(); | |
setArgb(value); | |
}); | |
$("#argb").bind('keyup change', function () { | |
var value = $(this).val(); |
This file contains 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
<div style="overflow:auto; height: 50px; width: 200px;"> | |
lots of text | |
lots of text | |
lots of text | |
lots of text | |
lots of text | |
lots of text | |
lots of text | |
lots of text | |
lots of text |
NewerOlder