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
// This is how you announce a service - saying i offer service _someservice._tcp. on port 4711 | |
NSNetService *nets = [[NSNetService alloc] initWithDomain:@"local." type:@"_someservice._tcp." name:@"" port:4711]; | |
[nets setDelegate:self]; | |
[nets publish]; | |
// And this is how you find a service | |
NSNetServiceBrowser *browser = [[NSNetServiceBrowser alloc] init]; | |
[browser setDelegate:self]; |
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
<html> | |
<head> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
</head> | |
<body> | |
</body> | |
</html> |
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
input[type=text]:focus { | |
background-color: lightgray; | |
} |
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
a { | |
text-decoration: none; | |
} | |
a:hover { | |
text-decoration: underline; | |
} |
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
tr:nth-child(2n+1) { | |
background-color: lightgray; | |
} | |
tr:first-child { | |
background-color: gray; | |
} | |
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
h1:before { | |
content: url(http://www.asp-gmbh.de/img/arrow_left.png); | |
} |
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
p:first-letter { | |
font-size: 200%; | |
} |
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-face { | |
font-family: 'Droid Sans'; | |
font-style: normal; | |
font-weight: normal; | |
src: local('Droid Sans'), local('DroidSans'), url('http://themes.googleusercontent.com/static/fonts/droidsans/v3/s-BiyweUPV0v-yRb-cjciL3hpw3pgy2gAi-Ip7WPMi0.woff') format('woff'); | |
} | |
body { | |
font-family: 'Droid Sans', sans-serif; |
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
a.button { | |
background: linear-gradient(top, whitesmoke, lightgray); | |
text-decoration: none; | |
padding: 7px; | |
padding-right: 10px; | |
padding-left: 10px; | |
margin: 10px; | |
color: #444; | |
font-family: Arial; | |
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
img { | |
transition: all 0.5s ease-in-out; | |
} | |
img:hover { | |
transform: scaleY(1.5); | |
} |
OlderNewer