This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Reactive.Concurrency; | |
| using System.Reactive.Linq; | |
| using System.Reactive.Subjects; | |
| using System.Threading; | |
| namespace Nito.AsyncEx | |
| { | |
| /// <summary> | |
| /// An <see cref="IProgress{T}"/> that is disposable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // <copyright file="LeastRecentlyUsedCache.cs" company="http://www.sinbadsoft.com"> | |
| // Copyright (c) Chaker Nakhli 2013 | |
| // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the | |
| // License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by | |
| // applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language | |
| // governing permissions and limitations under the License. | |
| // </copyright> | |
| // <author>Chaker Nakhli</author> | |
| // <email>Chaker.Nakhli@sinbadsoft.com</email> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq.Expressions; | |
| using System.Reflection; | |
| namespace Bleroy.Helpers { | |
| public static class NotNull { | |
| public static TProp Get<TSource, TProp>(this TSource source, Expression<Func<TSource, TProp>> property) where TSource : class { | |
| if (source == null) return default(TProp); | |
| var current = property.Body; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # 1. export your RIL bookmarks | |
| # 2. save this file to the same directory where your ril_export.html is | |
| # 3. change username and password in the script bellow | |
| # 4. run 'ruby ril_to_instapaper.rb' in terminal | |
| require "cgi" | |
| require "net/http" | |
| require "net/https" |
NewerOlder
