Tested on macOS Monterey (12.6.5) with Apple M1 Pro chip (ARM architecture)
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 System; | |
using System.Net; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
public class WebClientEx : WebClient | |
{ | |
public WebClientEx(CookieContainer container) |
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
{ | |
"timeZone": "Europe/Paris", | |
"dependencies": { | |
"enabledAdvancedServices": [{ | |
"userSymbol": "Sheets", | |
"serviceId": "sheets", | |
"version": "v4" | |
}] | |
}, | |
"webapp": { |
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 static class AbsoluteUrl | |
{ | |
private static bool initializedAlready = false; | |
private static Object initlock = new Object(); | |
// AbsoluteUrl without parameters | |
public static string MVC_Home_Index; | |
public static string MVC_MyArea_Settings_Index; | |
// AbsoluteUrl with parameters |
yarn run eslint | grep -o "warning.*$" | sed -e's/ */ /g' | sort | uniq -c | sort
In PowerShell run:
$ pip3 install numpy
$ pip3 install matplotlib
Download OpenCV for Windows/Python here https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv I've tested 'https://download.lfd.uci.edu/pythonlibs/t4jqbe6o/opencv_python-4.1.0-cp37-cp37m-win_amd64.whl'
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
/* | |
Simplest method to do a REST API calls in c# with basic .NET classes. | |
I use it when communicationg with Recurly.com REST services. | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.IO; |
Create a new bookmark somewhere in your browser with the following URL:
javascript:(function(){ var last = ''; var color = 'transparent'; $('#list_table_body tr').each(function (index, el) { var actual = $(el).children(":first").text(); if (actual !== last) { color = (color === 'transparent') ? '#eee':'transparent'; } last=actual; $(el).css('background-color', color); }); })();
NewerOlder