Skip to content

Instantly share code, notes, and snippets.

View ibejohn818's full-sized avatar

John Hardy ibejohn818

  • GoDaddy Inc
  • Los Angeles, Ca
View GitHub Profile
@Anderson-Juhasc
Anderson-Juhasc / vim-auto-compile-less
Created December 5, 2011 11:06
Auto compile lesscss with VIM
" Less compile
autocmd FileWritePost,BufWritePost *.less :call LessCSSCompress()
function! LessCSSCompress()
let cwd = expand('<afile>:p:h')
let name = expand('<afile>:t:r')
if (executable('lessc'))
cal system('lessc '.cwd.'/'.name.'.less > '.cwd.'/'.name.'.css &')
endif
endfunction
@davidfowl
davidfowl / Example1.cs
Last active September 2, 2024 12:36
How .NET Standard relates to .NET Platforms
namespace Analogy
{
/// <summary>
/// This example shows that a library that needs access to target .NET Standard 1.3
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library.
/// </summary>INetCoreApp10
class Example1
{
public void Net45Application(INetFramework45 platform)