A Pen by David Sekula on CodePen.
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
public class WidgetsGoogleAnalyticsController : BasePluginController | |
{ | |
private readonly IWorkContext _workContext; | |
private readonly IStoreContext _storeContext; | |
private readonly IStoreService _storeService; | |
private readonly ISettingService _settingService; | |
private readonly IOrderService _orderService; | |
private readonly ILogger _logger; | |
private readonly ICategoryService _categoryService; | |
private readonly IProductAttributeParser _productAttributeParser; |
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
class Telepen: GenratorCommon, IBarcodeConstants | |
{ | |
private static Hashtable Telepen_Code = new Hashtable(); | |
private enum StartStopCode : int { START1, STOP1, START2, STOP2, START3, STOP3 }; | |
private StartStopCode StartCode = StartStopCode.START1; | |
private StartStopCode StopCode = StartStopCode.STOP1; | |
private int SwitchModeIndex = 0; | |
private int iCheckSum = 0; | |
/// <summary> |
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
//XAML | |
<Window x:Class="App.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:tools="clr-namespace:App.Tools" | |
Height="{Binding Source={x:Static SystemParameters.PrimaryScreenHeight}, Converter={tools:RatioConverter}, ConverterParameter='0.9' }" | |
Width="{Binding Source={x:Static SystemParameters.PrimaryScreenWidth}, Converter={tools:RatioConverter}, ConverterParameter='0.9' }" | |
Title="{Binding Path=DisplayName}" | |
WindowStartupLocation="CenterScreen" | |
> |
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
using Microsoft.Win32; | |
using System; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Get45or451FromRegistry(); |
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
--[[ | |
Youtube Playlist Importer for VLC | |
--]] | |
-- Helper function to get a parameter's value in a URL | |
function get_url_param( url, name ) | |
local _, _, res = string.find( url, "[&?]"..name.."=([^&]*)" ) | |
return res | |
end | |
NewerOlder