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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
.wrapper:hover label{ | |
background-position:left bottom; | |
} | |
label{ | |
background:url('http://img833.imageshack.us/img833/5959/stard.png') no-repeat left bottom; | |
float:right; | |
line-height:20px; | |
padding-left:20px; | |
height:15px; | |
} |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
- Modified by @mprogano - | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
- Modified by @mprogano - | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; |
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
<?xml version="2.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD CPLIST 2.0//EN" "http://www.apple.com/DTDs/PropertyList-2.0.dtd"> | |
<plist version="2.0"> | |
<dict key="root"> | |
<string key="CFBundleDevelopmentRegion">en</string> | |
<array key="LSApplicationQueriesSchemes"> | |
<string>fbapi</string> | |
<string>fb-messenger-api</string> | |
</array> | |
<bool key="LSRequiresIPhoneOS">true</bool> |
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
""" | |
Simple xml serializer. | |
@author Reimund Trost 2013 | |
Example: | |
mydict = { | |
'name': 'The Andersson\'s', | |
'size': 4, |
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
--- | |
\#ws_welcome_title: | |
color: \#7BBBE4 | |
.ui-btn.ui-checkbox-off\:after: | |
background-color: \#0075B8 !important | |
opacity: 1 | |
\#timePicker: | |
background-color: \#444 !important |
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
#!/usr/bin/php | |
<?php | |
if (ob_get_length()) ob_end_clean(); | |
$database_injection = new DatabaseInjection(); | |
class DatabaseInjection | |
{ | |
public static $backspace = "\x08"; |
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
// https://codefights.com/challenge/wwPuroz78u6yA8cGD | |
function Expand_It(s, k) { | |
return s.match(/\w\d+/g).sort().reduce(function (a, b) { | |
return a + b[0].repeat(+b.slice(1)); | |
}, '')[k - 1] || '-1'; | |
} | |
function Expand_It(s, k) { | |
return s.match(/.\d+/g).sort().find(function (a) { |