Quantcast
Channel: Frederic Torres Blog
Browsing index pages (26 articles)
↧

C# DeleteFileWithRetry() - github copilot vs Me

 Gathering information about copilot writing C#. CoPilot // public static bool DeleteFileWithRetry_CoPilot(string filename, int retryCount = 3, int sleepTime = 30) { bool success = false; int retry =...

View Article


Image may be NSFW.
Clik here to view.

My Custom Precision Bass

KitKit from BYOThe tuners and bridge are of better quality than expected (They are better than the one found on a Fender Squire PJ Bass Affinity).Inserting the neck in the body was not a problem but...

View Article


Winmerge for git

Download tool from https://winmerge.org/downloads/?lang=en Update file C:\Users\username\.gitconfig with configuration (from https://gist.github.com/shawndumas/6158524)[mergetool] prompt = false...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Management Studio - How to change the result font size?

Grid Front Size Text Font Size

View Article

rxjs Reminders

 Links This blog post is based on the free training video "Learn RxJS in 60 Minutes for Beginners - Free Crash Course" from Gary Simon.rxjsoperators Code Samples Cold Observable import { Observable }...

View Article


React Hooks ~ Quick Practice

Overview Reading and practicing React 16 hooks (useState and useEffect)Introducing Hooks from reactjs.orgCode Sample in codesandbox.io  Source Code /* About React Hooks Introducing Hooks -...

View Article

About React 16

Links related to learn what is new with React 16Introducing HooksHow Are Function Components Different from ClassesHow I ruined my application performances by using React context instead of ReduxPure...

View Article

Difference between JavaScript Engines

Spread operator JavaScriptCore the JavaScript engine in SAFARI Mac Os and iOS as well as in Chrome iOS implements the spread operator differently than V8 (Chrome) or Spider Monkey (Firefox). o1 = {...

View Article


Azure Pricing

How to access the subscription billing details: link

View Article


How to send a message to a Microsoft Teams Channel with Curl

Create a channelAdd the connector "Incoming Webhook"Get the connector URLset...

View Article

C# async method returning multiple parameters

Overview C# 7 now supports function and method that return multiple values. The reasons why I like it areOutput parameter require more code to write and do not make the code easier to readThe other...

View Article

Issue with Curl posting some json data on windows

Overview If you are testing your api with Curl, you should be aware of this issue, escaping double quote in JSON data. Problem  Most of the documentation and blog on the InterWeb, mention the...

View Article

How to transpile a js file from the command line with babel

const f = () => { // < Should be transpiled const a = { a:1 }; const b = { ...a }; // < Should be transpiled console.log('f running '+ JSON.stringify(b)); }; f(); Command Line npx babel a.js...

View Article


How to reset the password of the ftp user for an Azure App Service

In the left section click on the followingDeployment Deployment CenterFTP TilsDashBoard ButtonUser Credentials Tab

View Article

Git -- How to compare if a file was changed in the last commit

git diff --unified=0 HEAD~1 HEAD src\myFile.js

View Article


javascript destructuring in function parameters

Reminder that Javascript destructuring is more powerful that it looks likeMozilla Documentation about Destructuring assignment. Sampleconst theKey = 'key'; function f( { a: { b, // 'theDefaultValue' is...

View Article

Boston Code Camp 31 - My Summary

Boston Code Camp 31  Web Site   ~ Twitter FeedCreating Docker images with .NET Core debugging. Visual Studio 2017 debug configuration for docker is not good.  James Pansarasa present how to setup the...

View Article


React, Redux and Jest useful links

ReactNone ReduxRedux Workflow - SummaryReasons to learn Redux as a JavaScript DeveloperHow to create and register a React redux middleware? JestJest Cheat SheetHow to test a Javascript async function...

View Article

How to upgrade all package to the last version on package.json

See How do I update each dependency in package.json to the latest version? 

View Article

How to revert a PR with Git ? (reminder)

Find the PR you want to revert - Copy the hash git checkout develop git pull git checkout -b new-branch-name git revert -m 1 hash # The default editor will open git push -u origin new-branch-name...

View Article
Browsing index pages (26 articles)


Latest Images