View GetLocalOneDrivePath.bas.vb
This file contains 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
'Attribute VB_Name = "GetLocalOneDrivePath" | |
' | |
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
' IMPORTANT NOTE! | |
'If you are using this solution and you downloaded it before the 2nd of October | |
'2023, please update your code to the current version, as otherwise the function | |
'might stop working for OneDrive version 23.184.0903.0001 and newer. | |
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
' | |
' Cross-platform VBA Function to get the local path of OneDrive/SharePoint |
View twittermute.txt
This file contains 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
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
View gist:9d297d0dc013d7a557ee
This file contains 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
// This is a .NET 3.5 console app, compiled with the C# 6 compiler from CTP6 | |
using System; | |
namespace System.Runtime.CompilerServices | |
{ | |
public class FormattableStringFactory | |
{ | |
public static FormattableString Create(string messageFormat, params object[] args) | |
{ | |
return new FormattableString(messageFormat, args); |
View README.txt
This file contains 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
None of the workflow examples given in the Google Authentication OAuth2 documentation | |
(https://developers.google.com/accounts/docs/OAuth2) handle what's needed for Pebble. I | |
basically had to mix the needs of a client-side application with an offline web application | |
to get what's needed and work within the restrictions of the Pebble JS toolkit. | |
The steps are as follows: | |
1. Setup a Client ID for Web Application on the Google Developer Console | |
2. On the configuration web pages, with SSL: | |
* In the configuration page, use JavaScript to retrieve a authorization code, which |
View metaweblog.rb
This file contains 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 -wKU | |
# Comments added 6 March 2014. | |
# Implementation of the MetaWeblog API for my personal Ruby static blog generator. | |
# This is not even nearly idiomatic Ruby. There are all kinds of issues. | |
# (What's with the method interiors all being mushed-up together?) | |
# But -- it's also worked flawlessly for five years without my having to edit it. | |
# It won't work for anyone else as-is — but if it helps anyone | |
# to do a MetaWeblog API implementation, then cool. |
View gist:2131230
This file contains 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
<Style x:Key="ToggleAppBarButtonStyle" TargetType="ToggleButton"> | |
<Setter Property="Foreground" Value="{StaticResource AppBarItemForegroundBrush}"/> | |
<Setter Property="VerticalAlignment" Value="Stretch"/> | |
<Setter Property="FontFamily" Value="Segoe UI Symbol"/> | |
<Setter Property="FontWeight" Value="Normal"/> | |
<Setter Property="FontSize" Value="21.333"/> | |
<Setter Property="AutomationProperties.ItemType" Value="AppBar ToggleButton"/> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="ToggleButton"> |