Skip to content

Instantly share code, notes, and snippets.

{
"require": {
"microsoft/windowsazure": "*"
},
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
],
$(".tabform").change(function () {
$(".divtabform").hide();
$("select option:selected").each(function () {
var selected = $(this).data("div");
$("div").find("[data-div='" + selected + "']").show();
});
});
<h1><asp:Label ID="lblMainTitle" Text="<%$ Resources:aspnet, mainTitle %>" runat="server"></asp:Label></h1>
<h1>@Resources.aspnet.mainTitle</h1>
<globalization uiCulture="auto" culture="auto" />
<globalization uiCulture="pt" culture="pt-BR" />
<bibliography-entry>
<author>Glenn Johnson</author>
<title>MCTS Self-Paced Training Kit (Exam 70-516): Accessing Data with Microsoft .NET Framework 4</title>
<year>2011</year>
<howPublished>??x</howPublished>
<type>book</type>
<label>70_516</label>
</bibliography-entry>
Started by an SCM change
Building in workspace /home/ec2-user/jenkins-configs/jobs/entity/workspace
Checkout:workspace / /home/ec2-user/jenkins-configs/jobs/entity/workspace - hudson.remoting.LocalChannel@733c0466
Using strategy: Default
Last Built Revision: Revision <ultima> (origin/master, origin/HEAD)
Fetching changes from 1 remote Git repository
Commencing build of Revision <ultima> (origin/master, origin/HEAD)
Checking out Revision <ultima> (origin/master, origin/HEAD)
FATAL: Could not checkout null with start point <ultima>
hudson.plugins.git.GitException: Could not checkout null with start point <ultima>
@MayogaX
MayogaX / gist:6705060
Created September 25, 2013 19:49
jquery add class for all buttons that hasn't
$(":button").each(function () {
if (!$(this).hasClass('btn')) {
$(this).addClass("btn-primary");
$(this).addClass("btn");
}
});
@MayogaX
MayogaX / gist:6033219
Created July 18, 2013 21:23
my themplate for tumblr
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- FIRSTS, this tumblr have a theme by zheeerand greatly modified by MayogaX. The final code is in:
icons from http://somerandomdude.com/projects/iconic/ -->
<link rel="shortcut icon" href="https://secure.gravatar.com/avatar/4eb6dd0b2331d01b34526d91ba4ec929?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" />