project-folder/
.git
wp-admin/
wp-content/
wp-includes/
.htaccess
| //Knapsack algorithm | |
| //================== | |
| // wikipedia: [Knapsack (0/1)](http://en.wikipedia.org/wiki/Knapsack_problem#0.2F1_Knapsack_Problem) | |
| // Given a set `[{weight:Number, benefit:Number}]` and a capacity, | |
| // find the maximum value possible while keeping the weight below | |
| // or equal to the capacity | |
| // **params**: | |
| // `capacity` : Number, | |
| // `items` : [{w:Number, b:Number}] | |
| // **returns**: |
| using System; | |
| namespace RsaKeyConverter.Converter | |
| { | |
| public static class BytesExtensions | |
| { | |
| public static string ToBase64(this byte[] bytes) | |
| { | |
| return Convert.ToBase64String(bytes); | |
| } |
For more information, you can read a related blog post on this topic
You can now simply do:
# (turn on full debian repo; turn on ssh)
# be root
sudo su| /* WebKit */ | |
| -webkit-filter: invert(); | |
| /* Firefox */ | |
| filter: url("data:image/svg+xml;utf8,<svg height='0' xmlns='http://www.w3.org/2000/svg'><filter id='negative'><feColorMatrix values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'/></filter></svg>#negative"); | |
| /* IE 6-7 */ | |
| filter: progid:DXImageTransform.Microsoft.BasicImage(invert=1); | |
| /* IE 8 */ | |
| -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(invert=1)'; |