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
public Sprite GetSpriteForFurniture(Furniture furn) | |
{ | |
string spriteName = furn.GetSpriteName(); | |
if (furn.LinksToNeighbour == false) | |
{ | |
return SpriteManager.current.GetSprite("Furniture", spriteName); | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Install</title> | |
<script type="application/javascript" src="//connect.facebook.net/es_LA/sdk.js"></script> | |
<script> | |
FB.init({ | |
appId : "FB APP Key", | |
version : "v2.1", |
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
#!/bin/bash | |
export IP=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address) | |
export HOSTNAME=$(curl -s http://169.254.169.254/metadata/v1/hostname) | |
export LAST=${IP##*.} | |
HOSTNAME=${HOSTNAME/XXX/$LAST} | |
export HOST=${HOSTNAME%%.*} | |
export DOMAIN=${HOSTNAME/$HOST./} | |
sed -i "/HOSTNAME/c\HOSTNAME=${HOSTNAME}" /etc/sysconfig/network | |
sed -i "/127.0.0.1/a ${IP}\t${HOST}\t${HOSTNAME}\t${DOMAIN}" /etc/hosts |
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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> |
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
/* | |
* Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), | |
* to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following conditions: | |
* |
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
/** | |
* CSS Puzzle: Reverse the z-order of the <li>s without setting a separate z-index on each one in a way that works in IE9 and up | |
*/ | |
ul { | |
width: 610px; | |
} | |
li { | |
float: right; | |
list-style: none; |
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
/** | |
* PWI Custom Scrollbars | |
*/ | |
#chatWindow { | |
width: 352px; | |
height: 262px; | |
background: url('http://aster.ohmydays.net/pw/images/chatwindow.png'); | |
} | |
#chatMessages { | |
position: absolute; |
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
/* | |
Falling Leaves with CSS Only | |
http://premiumcoding.com/css3-tricks-falling-leaves-css/ | |
*/ | |
.container{ | |
top:0px; | |
background:#fff; | |
width:100%; | |
height:100%; |
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
/** | |
* Notebook Design | |
*/ | |
body { | |
background-color: #f5f5f5; | |
margin: 0 30px; | |
padding: 0; | |
} | |
h4 { |
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
/** | |
* Ben's Selection Bug | |
*/ | |
body{ | |
background: #333; | |
min-height:100%; | |
color: #f7f7f7; | |
font-family: Helvetica Neue, Arial, sans-serif; | |
width:960px; |
NewerOlder