Be Prepared
✰ tumblr pictures
✚follow LOLFACTORY on tumblr [via imgur]
Xuebing Du
Fai_Ryy

pixel skylines
The Stonewall Inn
d e v o n

Game Changer & Make Some Noise

gracie abrams
cherry valley forever
NASA

shark vs the universe

ellievsbear
One Nice Bug Per Day
noise dept.
Lint Roller? I Barely Know Her
let's talk about Bridgerton tea, my ask is open
RMH

No title available
todays bird
★

PR's Tumblrdome
seen from Spain
seen from Vietnam

seen from Malaysia

seen from South Africa
seen from Portugal
seen from United States
seen from United States
seen from Australia

seen from Türkiye
seen from Netherlands
seen from United States
seen from Philippines

seen from Malaysia
seen from Bangladesh
seen from Brazil

seen from United States
seen from Ireland
seen from Germany

seen from Brazil
seen from India
@iramah
Be Prepared
✰ tumblr pictures
✚follow LOLFACTORY on tumblr [via imgur]
web api /token XMLHttpRequest error
context.Response.Headers.Add("Access-Control-Allow-Origin", new[] { "*" });
This line can help you prevent this error
XMLHttpRequest cannot load youturl/token. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost' is therefore not allowed access. The response had HTTP status code 400.
Add it in ApplicationUserManager.Create
You enable CORS on your API but not on the token
2015
Hello !! Happy new 2015 year. May 2015 be better than 2014. A Lot of fun, A Lof of love, Allways remember to smile. To achieve this I wish you to be healthy I'll try to finish learning a lot of things (learning RoR, Javascript...) Ramah
{DependencyProperty.UnsetValue}
Look at your output window. You will probably find where the problem is.
CustomControl WPF DateTime
When creating a customcontrol, It seems that usinq a datetime property for you dependencyproperty, inside this new customcontrol, do not allow you to show a datetime property from your underline Data / object. Instead, use a string property when declaring you that dependency property.
Xaml + InvalidcastException
Remember PlacementTarget for a popup is not a string. A System.InvalidCastException: withe the message Impossible d'effectuer un cast d'un objet de type 'System.String' en type 'System.Windows.UIElement' or unable to cast a 'System.String' to 'System.Windows.UIElement'
TargetType
When styling a control, do not forget to specify the TargetType for the ControlTemplate in the setter value of the Template property.
AttachedProperty value and children
Do you want to create an attached property and want children element to inherit from it? Do not forget to specify FrameworkPropertyMetadataOptions.Inherits as parameter. Si the full exemple here http://goo.gl/poH7RP Hope this will help.
Label Vs DateTime and Xaml/C#
Situation : Trying to use MVVM pattern to update Date + time in a view. Do not waste your time trying to upate a datetime using the content property of a label and providing a StringFormat value. Simply put a Textblock or a control with a text property to display your datetime using your StringFormat.
Visual studio (2010/2012): Generate code from Class Diagram
I've decided to start a new project by putting down what we call a class diagram in order to have a better look of what I want to build. Uml tools allow you to generate code you can use to begin the development of your project. I'm a Visual studio fan. To create a class diagram you have 2 possibilities. - inside an existant project - or in a Modelisation project. Using Visual studio 2010, to generate your code you need a features pack for visual studio 2010 only available for MSDN subscriber. Aouch How can i get it? Fortunatelly with Visual studio 2012 you can do it easily. Simply create your classes in the class diagram and choose 'Generate code' from the context menu and code will be generated for you. Be carefull. New generation code replace your old ones. Hope this will help.
Unit test with SQL Compact CE
I'm trying to unit test a set of fonctionalities. I would like to have a new database crated and deleted after each test or group of tests. Get the local Unit test path and a special folder string path = string.Format("{0}\\{1}", AppDomain.CurrentDomain.BaseDirectory, "UT"); <-- Create your directory or not --> initialization of the database name and dbcontext. YourDbContext dbContext = new YourDbContext ("Test" + DateTime.Now.ToFileTime()); SqlceConnectionFactory config SqlCeConnectionFactory sqce = new SqlCeConnectionFactory("System.Data.SqlServerCe.4.0",path,""); Last steps Database.DefaultConnectionFactory = sqce; dbContext.Database.Create(); and here do something
Skydrive camera roll full resolution picture sync
Today, when trying to watch pictures in my local skydrive folder, I noticed that my picture's resolution was not the expected one. After a small research I've found an application for my lumia 800 called Camera Roll Sync http://goo.gl/x4gTw/a>w
tfsPreview Delete Team Project
TfsPreview the svn like cloud Microsoft tool for working in team is very usefull. I'm using it for my personal projects and other ones. There is (actually) no way to delete a project except using the command line of Visual Studio and this line : TFSDeleteProject /force /collection:https://_yourreponame_.tfspreview.com/DefaultCollection __ProjectName__ You will have to confirm the deletion of your project. At your own risks -------------------------------------**************************---------------------------------------- TfsPreview le service de Microsoft dans le cloud pour la gestion de projets est tout simplement épatant (pour l'utilisation que j'en fait). Mais il n'est pas si aisé de supprimer un projet. Il faut passer par l'invite de commandes de Visual Studio et entrer la ligne suivante : TFSDeleteProject /force /collection:https://_yourreponame_.tfspreview.com/DefaultCollection __ProjectName__ Il faudra confirmer la suppression du projet. Suppression irrévocable. A vos risques et périls.
'' Ne suis je pas perdu? Je suis bête, dingue, fou de l'une et gaga de l'autre"
Someone
Commit
Quelqu'un a t'il déjà fini les commentaires de son commit (SVN, Subversion) par 'Bisous'?
Concatenation+ MySQL
When trying to update a field in a Mysql Database by appending the old value withthe new one, if this old value is null, the request finished successfully but no row updated.