Skip to content

Instantly share code, notes, and snippets.

View arlm's full-sized avatar

Alexandre Rocha Lima e Marcondes arlm

View GitHub Profile
@arlm
arlm / install-vsix-appveyor.ps1
Created May 28, 2016 00:58 — forked from FeodorFitsner/install-vsix-appveyor.ps1
Installing VSIX extension from command line
$vsixPath = "$($env:USERPROFILE)\sqlite-wp81-winrt-3081002.vsix"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b/file/132406/15/sqlite-wp81-winrt-3081002.vsix', $vsixPath)
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII
& .\install-vsix.cmd
@arlm
arlm / .gitignore
Created June 2, 2016 11:58 — forked from chuckdee68/.gitignore
Default Visual Studio .gitignore
# git ignore file
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
@arlm
arlm / App.xaml.cs
Created June 2, 2016 15:58 — forked from emoacht/App.xaml.cs
Check an app's DPI awareness.
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
MessageBox.Show(
String.Format("IsProcessDPIAware: {0}", IsProcessDPIAware()) + Environment.NewLine +
String.Format("GetDpiAwareness: {0}", GetDpiAwareness()));
}
@arlm
arlm / ProgramInlineAsm.cs
Created August 19, 2016 13:25 — forked from xoofx/ProgramInlineAsm.cs
Shows how to use the prototype inline IL ASM with Roslyn
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Method)]
internal class CompilerIntrinsicAttribute : Attribute { }
}
<PropertyGroup>
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>my.keystore</AndroidSigningKeyStore>
<AndroidSigningStorePass>secret store password</AndroidSigningStorePass>
<AndroidSigningKeyAlias>alias</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>other password</AndroidSigningKeyPass>
</PropertyGroup>
@arlm
arlm / LogFile.udl.xml
Created September 28, 2016 09:08 — forked from mmdemirbas/LogFile.udl.xml
Custom log file syntax highlighting for Notepad++
<NotepadPlus>
<UserLang name="LogFile" ext="log">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">[(0])0</Keywords>
<Keywords name="Folder+"></Keywords>
@arlm
arlm / msbuild-feedback.md
Created September 28, 2016 12:26 — forked from sayedihashimi/msbuild-feedback.md
MSBuild feedback

MSBuild Feedback

This feedback is on the experience of using MSBuild, not just on msbuild.exe

Not in any order, I may sort them later.

Have people want to author scripts using MSBuild

Today creating and maintaining MSBuild scripts is challenging. Some of the challenges for the user include.

@arlm
arlm / sln - white background.xml
Created September 28, 2016 12:26 — forked from axrwkr/sln - white background.xml
notepad++ sln syntax highlighting. white background
<NotepadPlus>
<UserLang name="SLN" ext="sln" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">03 04 00# 01 02</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@arlm
arlm / userDefineLang_markdown-jekyll.xml
Created September 28, 2016 12:27 — forked from carlosdelfino/userDefineLang_markdown-jekyll.xml
Customização de layout para text highlight de arquivos Markdown quando usados com Jekyll e GitBook.
<NotepadPlus>
<UserLang name="Markdown Jekyll" ext="md markdown" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" />
<Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02((EOL)) 03&lt;!-- 04--&gt;</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@arlm
arlm / notepad_plus_log4j.xml
Created September 28, 2016 12:28 — forked from hvmonteiro/notepad_plus_log4j.xml
Notepad++ User Defined Language Syntax Highlight: Log4J
<NotepadPlus>
<UserLang name="Log4J" ext="log" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="2" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>