View index.hbs
<h1 id="inhalt">Inhalt</h1>
<p><div class="toc"><div class="toc">
<ul>
<li><a href="#inhalt">Inhalt</a></li>
<li><a href="#startseite">Startseite</a></li>
<li><a href="#ticketverwaltung">Ticketverwaltung</a><ul>
<li><a href="#ticketanzeige">Ticketanzeige</a></li>
<li><a href="#ticketdetails">Ticketdetails</a><ul>
<li><a href="#allgemein">Allgemein</a></li>
View get-all-ips.cs
using System;
using System.Net;
using System.Linq;
namespace tester {
public static class iptester {
public static IPAddress GetServerIP() {
var localIP = getMyAddress();
var subnetmask = getSubnetMask(localIP);
for (byte p1 = 1; p1 < subnetmask[0]; p1++) {
View dostuff.f
program dostuff
a = 3;
b = 5;
c = a + b;
write( *, * ) c
end program dostuff
View print.c
#include <stdio.h>
int main(){
int a = 3;
int b = 5;
int c = 3 + 5;
printf("%i", c;)
}
View IsValidUrl.sql
CREATE FUNCTION [dbo].[IsValidURL] (@Url VARCHAR(200))
RETURNS INT
AS
BEGIN
IF CHARINDEX('https://', @url) <> 1 AND CHARINDEX('http://', @url) <> 1
BEGIN
RETURN 0; -- Not a valid
END
-- Get rid of the http:// stuff
View gridsundso.xaml
<Grid ShowGridLines="True" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock>Ich bin in der Column 1</TextBlock>
<TextBlock Grid.Column="1">Ich bin in der Column 2</TextBlock>
</Grid>
View bootstrap.mobile.css
@import url("//fonts.googleapis.com/css?family=Lato:400,700,900,400italic");
/*!
* Bootstrap v3.0.0
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
View gist:6312660
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" type="text/javascript"><!--mce:0--></script>
<script src="toggle.js" type="text/javascript"><!--mce:1--></script>
<script type="text/javascript">
$(document).ready(function(){
$(".info").hide();
$(".trigger").click(function(){
if($('.info').css('display') == 'block')
$('.info').css('display', 'none');
else
$('.info').css('display', 'block');
View bootstrap-validation.js
$('form').submit(function () {
$('.valid').parent('div').parent('.form-group').addClass('has-success');
$('.input-validation-error').parent('div').parent('.form-group').addClass('has-error');
$('.validation-summary-errors').addClass("alert alert-danger");
$('.validation-summary-errors').find("ul").addClass("list-unstyled");
$('.validation-summary-errors').removeClass("validation-summary-errors");
});