simontimms.comSimon Online

simontimms.com Profile

simontimms.com

Title:Simon Online

Description:A blog about technology

Discover simontimms.com website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site

simontimms.com Information

Website / Domain: simontimms.com
HomePage size:24.914 KB
Page Load Time:0.420514 Seconds
Website IP Address: 3.13.31.214
Isp Server: General Electric Company

simontimms.com Ip Information

Ip Country: United States
City Name: Fairfield
Latitude: 41.218349456787
Longitude: -73.251731872559

simontimms.com Keywords accounting

Keyword Count

simontimms.com Httpheader

Content-Length: 8348
Content-Type: text/html
Content-Encoding: gzip
Last-Modified: Thu, 03 Jun 2021 14:55:58 GMT
Accept-Ranges: bytes
ETag: "013ad8f8858d71:0"
Vary: Accept-Encoding
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Set-Cookie: ARRAffinity=1de7fbb230d3648d469dfa277849238ed6f35bc032060971e6736534c9dc81d9;Path=/;HttpOnly;Secure;Domain=www.simontimms.com, ARRAffinitySameSite=1de7fbb230d3648d469dfa277849238ed6f35bc032060971e6736534c9dc81d9;Path=/;HttpOnly;SameSite=None;Secure;Domain=www.simontimms.com
Date: Sat, 05 Jun 2021 15:36:02 GMT

simontimms.com Meta Info

content="Hexo 3.9.0" name="generator"/
charset="utf-8"/
content="IE=edge" http-equiv="X-UA-Compatible"/
content="width=device-width, initial-scale=1.0" name="viewport"/
content="A blog about technology" name="description"/
content="Simon Timms" name="author"/
content="Simon Online" property="og:site_name"/
content="undefined" property="og:image"/

3.13.31.214 Domains

Domain WebSite Title

simontimms.com Similar Website

Domain WebSite Title
said.simon.comSimon SAID | A Lifestyle Publication By Simon Malls
simontimms.comSimon Online
authors.simonandschuster.comNew Book Releases, Bestsellers, Author Info and more at Simon & Schuster | Simon & Schuster
paulsimon.rockandrolltshirts.comPaul Simon Official Online Store
careers.simon.comSimon Careers - Discover Your Potential. Discover Simon.
sales.simonsupply.comWelcome to Simon's Supply
simonsny.comSimon's Home
bancey.comAbout – Dr Simon Bance
simonchang.comSimon Chang
motlc.wiesenthal.comSimon Wiesenthal Center
simon.html5.orgsimon.html5.org is almost here!
wiesenthal.comSimon Wiesenthal Center
sl.padlet.comSimon Larsen sl - Padlet
simon.rochester.eduSimon Business School | Simon Business School
quniform.simonchang.comSimon Chang Corporate Wear

simontimms.com Traffic Sources Chart

simontimms.com Alexa Rank History Chart

simontimms.com aleax

simontimms.com Html To Plain Text

A blog about computer programming and technology. About My Books ASP.NET Core Application Development: Building an application in four sprints Evolving Legacy ASP.net Applications Mastering JavaScript Design Patterns Social Data Visualization with HTML5 and JavaScript 2021 2021-06-03 Sequences Sequences are a handy feature in SQL server which provide an increasing, unique number. You wouldn’t typically use them directly but might use them under the covers in an identity . However from time to time they are useful when you need numbers but your primary key is a uniqueidentifier or you need two different ways of numbering records. I’ve been using them to associate records in a table into groups. create SEQUENCE Seq_PermitNumber start with 1 increment by 1 You can then use them like this update tblManualPayment set PermitNumber = next value for Seq_PermitNumber where PermitNumber is null This will give each record a unique permit number. 2021-05-20 Using Durable Entities Durable entities are basically blobs of state that are stored somewhere (probably table storage). You can retrieve them and signal them with changes. They can be tied directly into standard Azure functions. You build one as pretty much a POCO that looks like [JsonObject(MemberSerialization.OptIn)] public class DuplicatePreventor { [JsonProperty("value")] public int CurrentValue { get; set; }; public void Add(int amount) => this.CurrentValue += amount; public void Reset() => this.CurrentValue = 0; public int Get() => this.CurrentValue; [FunctionName(nameof(DuplicatePreventor))] public static Task Run([EntityTrigger] IDurableEntityContext ctx) => ctx.DispatchAsync<DuplicatePreventor>(); } In this example there is one piece of state: the CurrentValue. You can retrieve it using the Get() function. Add and Reset are other signals you can send to the state. Using it in a function involves adding a client to the signature of the function like so [FunctionName("ShopifyPurchaseWebhook")] public static async Task<IActionResult> Run( [HttpTrigger(AuthorizationLevel.Function, "post", Route = null)] HttpRequest req, [DurableClient] IDurableEntityClient client, ILogger log) { ... } Once you have the client you can retrieve an existing state by specifying an entityId and then getting it from the client var entityId = new EntityId(nameof(DuplicatePreventer), webhook.order_number.ToString()); var duplicationPreventionEntity = await client.ReadEntityStateAsync<DuplicatePreventer>(entityId); This gets you back a wrapper which includes properties like EntityExists and EntityState . You can signal changes in the entity through an unfortunate interface that looks like await client.SignalEntityAsync(entityId, "Add", 1); That’s right, strings are back in style. Gotchas If you create the durable entity in your function and then request it’s value you at once you won’t get the correct value - you just get null. I’d bet they are using some sort of outbox model that only sends data updates at the end of the function execution. 2021-05-19 Advanced Web Application Firewall Rules in Azure with Terraform If you’re creating an Application Gateway in Terraform for Azure you’re using this resource azurerm_application_gateway . This resource allows for some basic configuration of the Web Application Firewall through the waf_configuration block. However the configuration there is very limited and basically restricted to turning it off and on and choosing the base rule set. If you want a custom rule then you need to break off the rules into a separate azurerm_web_application_firewall_policy . This can then be referenced back in the azurerm_application_gateway through the firewall_policy_id You can use the advanced rules to set up things like Geographic restrictions. For instance this set of rules will block everything but requests from Canada and the US. ### Web application firewall settings resource "azurerm_web_application_firewall_policy" "appfirewall" { name = local.basename resource_group_name = var.resource_group_name location = var.resource_group_location custom_rules { name = "OnlyUSandCanada" priority = 1 rule_type = "MatchRule" match_conditions { match_variables { variable_name = "RemoteAddr" } operator = "GeoMatch" negation_condition = true match_values = ["CA", "US"] } action = "Block" } policy_settings { enabled = true mode = "Detection" # Global parameters request_body_check = true max_request_body_size_in_kb = 128 file_upload_limit_in_mb = 100 } } 2021-05-18 Importing an Encrypted Backup into Azure Managed SQL Let’s say you’re moving an encrypted backup into Azure. The encryption was set up like this CREATE CERTIFICATE BackupKey ENCRYPTION BY PASSWORD = 'a password that''s really strong here' WITH SUBJECT = 'test1backup', EXPIRY_DATE = '20220101'; GO Now we need to export this certificate which can be done with BACKUP CERTIFICATE BackupKey TO FILE = 'c:\temp\backupkey.cer' WITH PRIVATE KEY ( FILE = 'c:\temp\backupkey.pvk', DECRYPTION BY PASSWORD = 'a password that''s really strong here', ENCRYPTION BY PASSWORD = 'A strong password for the certificate' ) Now we have two file which contain the public and private keys. We need to combine these into something that Azure Key Vault can understand and this something is a .pfx file. There is a tool called pvk2pfx which can be used for this task and it is found in the Windows Enterprise Driver Kit https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk . It is also installed as part of visual studio. On my machine it was in C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\pvk2pfx.exe Run this command to combine them & "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\pvk2pfx.exe" -pvk C:\temp\backupkey.pvk -pi 'A strong password for the certificate' -spc C:\temp\backupkey.cer -pfx c:\temp\backupkey.pfx Next up we need to import this key into azure keyvault. This can be done using the GUI or the command line tools. Everybody likes a pretty picture so let’s use the Portal. Click into the key vault and then under certificates ) Then click on Generate/Import and fill in the form there selecting the .pfx file created above. ) The password will be the same one you used when exporting from SQL server. Once the certificate is imported it should be available to anybody or any application with access to certificates in key vault. You can open up SQL Server Management Studio and in there add a new certificate selecting the certificate from the Key Vault connection ) 2021-05-11 JQ This is a really nice tool for manipulating JSON on the command line. The syntax is, however, esoteric like you would not believe. Here are some cheats to help out If you have an array and want to take just the object at a specific index .[3] which returns the 3rd element If you want to extract a value from an array of objects then you can use .[].LicensePlate This works for multiple levels too so if you have nested objects you can .[].LicensePlate.Province Given an array where you want to filter it then you can use this [ .[] | select( .LicensePlate | contains("PM184J")) ] To select a single field you could then do [ .[] | select( .LicensePlate | contains("PM184J")) ] | map( .LicensePlate) If you want multiple fields built back into an object do {LicensePlate: .[].LicensePlate, EndTime: .[].EndTime} 2021-05-10 Creating a Shortcut in Powershell You can’t really create a shortcut in powershell directly but you can using the windows script host from powershell. For instance here is how you would create a new desktop icon to log the current user off. $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut("$home\Desktop\LogOff.lnk") $Shortcut.TargetPath="C:\Windows\System32\shutdown.exe" $Shortcut.Arguments="/l" $Shortcut.IconLocation="C:\windows\system32\Shell32.dll,44" $Shortcut.Save() The icon here is taken from the long list of icons in Shell32.dll in this case it is the lit...

simontimms.com Whois

"domain_name": "SIMONTIMMS.COM", "registrar": "Domain.com, LLC", "whois_server": "whois.domain.com", "referral_url": null, "updated_date": "2019-11-12 13:03:14", "creation_date": "2003-12-11 03:53:00", "expiration_date": "2024-12-11 03:53:00", "name_servers": [ "NS1.DNSIMPLE.COM", "NS2.DNSIMPLE.COM", "NS3.DNSIMPLE.COM", "NS4.DNSIMPLE.COM", "ns1.dnsimple.com", "ns2.dnsimple.com", "ns3.dnsimple.com", "ns4.dnsimple.com" ], "status": [ "clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited", "clientTransferProhibited https://icann.org/epp#clientTransferProhibited", "clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited" ], "emails": [ "compliance@domain-inc.net", "support@mydomain-inc.com" ], "dnssec": "unsigned", "name": "REDACTED FOR PRIVACY", "org": "REDACTED FOR PRIVACY", "address": "REDACTED FOR PRIVACY", "city": "REDACTED FOR PRIVACY", "state": "AB", "zipcode": "REDACTED FOR PRIVACY", "country": "CA"