Παρουσίαση με Ετικέτες

HowTo: Remove unused references and using clauses in Visual Studio
17 Νοεμβρίου 15 03:04 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I recently posted a list of the VS2015 extensions I use on my main machine at: https://zoomicon.wordpress.com/2015/11/13/visual-studio-2015-extensions-i-use/ From that list of extensions I use the Productivity Power Tools one, it has a "Power Commands > Remove and Sort Usings" action that one can right click and run on the whole solution. Much easier than opening […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Upgrade Kinect Audio Positioning code from older Beta SDK
24 Οκτωβρίου 15 09:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Exploring the Kinect SDK v1.8 Developer Toolkit Browser application, I noticed some audio positioning visualizations at various samples (specifically at Audio Basics, Audio Explorer and Kinect Explorer samples), but I kept on looking for some simpler/cleaner sample code to return audio positioning info that would be easier to reuse. So I can across http://kinectaudioposition.codeplex.com that […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: List all known color names and find name of given color at WPF
01 Σεπτεμβρίου 15 06:11 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my answer at http://stackoverflow.com/questions/4475391/wpf-silverlight-find-the-name-of-a-color Modified answer from Thomas Levesque to populate the Dictionary only when 1st needed, instead of taking the cost at startup (going to use at speech recognition-driven turtle graphics, so that user can pronounce known color names to change the turtle’s pen color) //Project: SpeechTurtle (http://SpeechTurtle.codeplex.com) //Filename: ColorUtils.cs //Version: 20150901 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Insert new line and spacing at content of WPF TextBlock control
28 Αυγούστου 15 04:34 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While adding more voice commands at SpeechTurtle, I had to update the active legend where the available commands are displayed and their text is highlighted as the respective commands are recognized by the speech recognition engine (using .NET’s managed Speech API). A problem I faced was how to add a newline and prefixing the 2nd […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Free up some disk space by disabling hibernation on Windows 10
11 Αυγούστου 15 02:49 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I have a small older Tablet PC (Lenovo S10-3t) that I’m running Windows 10 on, having replaced its internal classic SATA hard disk with an SSD one, and since SSD space is scarce (being more expensive I got a smaller in size disk than the original one), I needed to make free space. Since that […]
Δημοσίευση στην κατηγορία: , , , , ,
HowTo: Use MEF to implement import/export etc. plugin architecture
03 Ιουνίου 15 01:13 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here my comment at a discussion on the GraphX project: https://github.com/panthernet/GraphX/pull/15 in case it helps somebody in using MEF (Managed Extensibility Framework) in their software’s architecture ——– Using static classes instead of interfaces can mean though that you need to use reflection to call them (e.g. if you wan to have a list of […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: Open page from Internet Explorer (Metro) app into desktop IE
20 Απριλίου 15 11:03 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
The Windows 8/8.1 app version of Internet Explorer is also known as IE Metro because of the “Metro” codename (inspired by navigation signs in public transport] of the Modern UI design language promoted by Microsoft). However that version isn’t the full Internet Explorer, in that it is unfortunately not supporting extensibility via plugins in the […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
HowTo: Delete all nodes and relationships from Neo4j graph database
18 Απριλίου 15 02:54 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At a Neo4j question in http://stackoverflow.com/questions/19624414/delete-node-and-relationships-using-cypher-query-over-rest-api, a recent reply (older ones use obsolete Cypher syntax) says: Both START and the [r?] syntax are being phased out. It’s also usually not advised to directly use internal ids. Try something like: match (n{some_field:"some_val"}) optional match (n)-[r]-() delete n,r So, to delete all nodes (including disconnected ones) and […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Install .NET 3.5 component in Windows 8.1
12 Δεκεμβρίου 14 02:55 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I just installed .NET 3.5 on a Windows Enterprise 8.1 system that was failing to bring the needed files from the network To do this I opened a command prompt with elevated rights and ran a single command, having the Windows DVD at drive F: Dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess as explained at […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Use WordPress Permalinks on IIS
29 Οκτωβρίου 14 10:28 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at http://zachis.it/blog/7-dangers-of-using-windows-server-on-a-wordpress-installation/ the thing that guy says about Permalinks isn’t accurate at all (not that the other things that he says are any accurate that is). WordPress Codex have documentation on how to configure URL rewriting in web.config that is necessery for Permalinks to work in IIS. e.g. at http://ClipFlair.net, if you press the "about" […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: use PivotViewer in WPF
04 Σεπτεμβρίου 14 02:12 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
PivotViewer is an impressive Silverlight control (see my usage at http://gallery.clipflair.net), however Microsoft never released it for WPF. One could work arround this by embedding Silverlight in their WPF app using the WebBrowser control and talking to it via the JavaScript Bridge of Silverlight, however they could also embed one of those HTML5 PivotViewer-compatible controls […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Tell IE to use compatibility mode without editing your web pages
22 Αυγούστου 14 07:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at http://www.mono-software.com/Mono/Pages/Discussion/dtopic/_YyUBIlx5kiqHaNqAQeltg/br-brake-bug-in-IE11-and-clipflair-text-editor/ one reads: We are using Telerik’s rich text editor (RadEditor), and it seems that RadEditor has specific behaviour regarding insertion of break tags. To circumvent this issue please try to add host header in ISS 7 (website level): Name = "X-UA-Compatible" Value = "IE=EmulateIE10" Or, you can insert Html Meta tag on a […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Quickly test a webpage in different Internet Explorer versions
19 Αυγούστου 14 02:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I just noticed that on Internet Explorer 11 developer tools console (appears when you press F12 key), there is a drop-down where you can select the rendering engine used. Edge means the very latest (IE11 one in this case) and you can select back to version 5. Interestingly, there is no version 6 in the […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Group output items using XSL transformation
15 Αυγούστου 14 09:30 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While trying to generate a single HTML page that will list all ClipFlair activities using XSL Transformations (XSLT), I had the need to group items in 2-column rows. This is my contribution to other solutions suggested at (if you like it you can vote it up there): http://stackoverflow.com/questions/9908488/xslt-for-each-wrapping-every-nth-item-in-a-div/ Faced by the same problem, that is […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Call C# method from class that has same name as namespace
06 Ιουλίου 14 03:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In the C# compiler error case shown above, CaptionsGrid class exists in namespace ClipFlair.CaptionsGrid so in the code we have “using ClipFlair.CaptionsGrid;” at the top of the file where we want to call the “SaveAudio” static method of CaptionsGrid class. But then we get the error “The type or namespace name ‘…’ does not exist […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Fix: How to remove Trovigo.com, SearchProtect, restore Internet Options
14 Μαΐου 14 09:35 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Trovigo.com is an unwanted search engine hijacker that renders Internet Options of Windows / Internet Explorer inaccessible. To restore them on an older Windows XP installation, one way that I’ve found to work is to update Internet Explorer to a newer version, aka IE 8 (say via the embedded Windows Update facility or Microsoft Update […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: Drop files onto Silverlight controls
27 Μαρτίου 14 05:14 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was recently adding drop-files support to ClipFlair Studio, so I had to do some research on the related API that is available to Silverlight apps. Silverlight supports a limited set of Drag-and-Drop interaction with the operating system (supposedly for security reasons, but most probably because of the classic cross-platform implementation pains). For example it […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
HowTo: Take screenshot on Windows desktop, Windows 8 and MacOS-X
05 Μαρτίου 14 07:23 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
copying from an e-mail I received from Skype support: Taking a screenshot on Windows desktop 1. On your keyboard, press the Print Screen (Prt Scr) key to take a screenshot of your entire desktop. To take a screenshot of an active window, press the Alt+Print Screen (Prt Scr) key combination. 2. Save a copy of […]
Δημοσίευση στην κατηγορία: , , , , ,
HowTo: find max ZIndex from a collection of UIElements with LINQ
06 Δεκεμβρίου 13 03:18 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
My contribution to http://stackoverflow.com/questions/1101841/linq-how-to-perform-max-on-a-property-of-all-objects-in-a-collection-and-ret Based on  another answer there, here is what I’ve just added to my enhanced version of SilverFlow library’s FloatingWindowHost (copying from FloatingWindowHost.cs at http://clipflair.codeplex.com source code) /// <summary> /// Sets the specified UIElement topmost. /// </summary> /// <param name="element">UIElement to set topmost.</param> /// <exception cref="ArgumentNullException">UIElement is null</exception> private void SetTopmost(UIElement element) […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Code folding in NetBeans IDE source code editor
07 Σεπτεμβρίου 13 03:45 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
As explained near the end of https://ui.netbeans.org/docs/ui/code_folding/cf_uispec.html, the NetBeans IDE source code editor supports custom code folding tags for any language, like below (here defining the code folding tag in a Java comment, obviously need to use specific comment syntax for the respective language). // <editor-fold desc="isUserStudent"> —————————————- public static boolean isUserStudent(PortletRequest request)    throws […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: use a Timer component for delayed execution in WinForms
25 Αυγούστου 13 08:28 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my contribution to: http://stackoverflow.com/questions/303116/system-windows-threading-dispatcher-and-winforms Sometimes a Timer component is useful and easy to setup in WinForms, just set its interval and then enable it, then make sure the first thing you do in its Tick event handler is to disable itself. I think Timer runs the code in its own thread, so you […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: Display version information on WinForm title
20 Αυγούστου 13 11:39 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my contribution to http://stackoverflow.com/questions/7178725/version-number-in-winform-form-text I’m using the following at the WinForm of the WebCapture tool I’m making for ClipFlair: public MainForm() { InitializeComponent(); Version version = Assembly.GetExecutingAssembly().GetName().Version; Text = Text + " " + version.Major + "." + version.Minor + " (build " + version.Build + ")"; //change form title } Not showing […]
Δημοσίευση στην κατηγορία: , , , , ,
HowTo: Save screenshot of a control hosted on a WinForm
20 Αυγούστου 13 06:38 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I’m trying to automate grabbing of activity screenshots from ClipFlair Activity Gallery, but most command-line screen capturing tools, like SiteShoter and IECapt fail to get an image from Silverlight content (they get just a background color). Some other opensource tool that I could tweek was ThumbPage, but  that didn’t support command-line and needed to disable […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Bind ASP.net control to list of files or folders
15 Ιουλίου 13 03:33 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At from ClipFlair Gallery metadata input pages for Activities and Clips I had to bind an ASP.net control to a list of files and folders respectively and although I found a Folder Contents DataSource control, it didn’t cover my needs (like filtering of a folder contents). I just contributed my solution using .NET Anonymous Types and […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Perform ASP.net action after page child controls are databound
11 Ιουλίου 13 11:57 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While creating metadata entry/update pages for ClipFlair’s Activity and Clip Galleries I had the problem of figuring out how to do some initialization (from XML data, loaded from a filename based on the 1st item of a DataBound control), after all child controls of the ASP.net Page have been databound (from XmlDataSource). Seems others have […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές