Download the ZIP to get started with Ember.js: https://github.com/emberjs/starter-kit/downloads
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
#!/usr/bin/env bash | |
# | |
# post-clone-reset.sh — Debian 13+ post-clone sanity reset for Proxmox clones | |
# | |
# This script: | |
# - Regenerates SSH host keys | |
# - Resets machine-id (new on next boot) | |
# - Optionally sets a new hostname | |
# - Optionally configures a STATIC IP on the detected NIC (else leaves DHCP) | |
# - Clears logs, histories, and stale DHCP leases |
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
<div id="effect-container"> | |
<!-- n times --> | |
<div class="transform"> | |
<a href="#"><i class="icon-map-marker"></i></a> | |
</div> | |
<!-- n times --> | |
</div> |
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
#Lets do it! |
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
<input class="percent-selector" max="100" min="0" type="range" value="0"> | |
<div class="cool-percent-icon"> | |
<div class="moar-outter-shadow"></div> | |
<div class="outer-shadow"></div> | |
<canvas height="100" width="100"></canvas> | |
<div class="icon"><i class="icon-dropbox"></i></div> | |
</div> | |
<input class="percent-selector" max="100" min="0" type="range" value="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
/** | |
* demo to explain chained transforms | |
*/ | |
* { margin: 0; } | |
.wrap, .wrap * { display: block; width: 4em; height: 4em; position: absolute; top: 25%; left: 50%} | |
.wrap { outline: dashed 1px dodgerblue; margin: 13em auto 0; } | |
.deg0 { | |
position: absolute; | |
animation: ani0 1s infinite; |
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
<div class="input"> | |
<input id="foo" placeholder="Foo"> | |
<label for="foo">Foo</label> | |
</div> | |
<div class="input"> | |
<input id="bar" placeholder="Bar"> | |
<label for="bar">Bar</label> | |
</div> |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# This file goes to: | |
# spec/support/http_digest_authentication.rb | |
require 'digest/md5' | |
module HTTPDigestAuthentication | |
def authenticate_with_http_digest(user, password, realm) | |
ActionController::Base.class_eval { include ActionController::Testing } | |
unless @controller.methods.include?(:real_process_with_new_base_test) | |
@controller.instance_eval %q{ |
NewerOlder