Skip to content

Instantly share code, notes, and snippets.

View arpith20's full-sized avatar
💭

Arpith K Sharma arpith20

💭
View GitHub Profile
# ruamel.yaml adds !!omap when using ordered dicts
# and there is no switch to avoid such behaviour
# Here is a workarond to put all keys in specific order
# and instead of following constuctions:
# list:
# - !!omap
# - [key1, value1]
# - [key2, value2]
# create this one:
# list:
<!-- Modify this according to your requirement -->
<h3>
Redirecting to duckdev.com after <span id="countdown">10</span> seconds
</h3>
<!-- JavaScript part -->
<script type="text/javascript">
// Total seconds to wait
var seconds = 10;
@csndra0504
csndra0504 / CSS: Message Boxes
Created December 12, 2012 19:55
Css message boxes: Info, Success, Warning, Error, Validation
<!DOCTYPE HTML>
<html>
<head>
<style>
body{
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
}
.info, .success, .warning, .error, .validation {
border: 1px solid;