Visit my blog or connect with me on Twitter
git init
or
Visit my blog or connect with me on Twitter
git init
or
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<form> | |
Nom:<br> |
// run this in firefox console (should work with chrome too) | |
$x("//img[contains(@alt,*)]").forEach(x=>console.log(`${x.alt};${x.src}`)) |
// https://www.codementor.io/nodejs/tutorial/how-to-write-a-web-scraper-in-nodejs | |
const cheerioReq = require("cheerio-req") | |
const fs = require('fs') | |
class Career { // secteur professionnel | |
name: string // private set | |
jobs: string[] // private set | |
constructor(name: string) { | |
this.name = name |
I hereby claim:
To claim this, I am signing this object:
<Themes> | |
<Theme Name="Solarized (Dark) (1)" GUID="{e904eafe-10c0-4c59-87fb-a0d2f4d8e7fc}"> | |
<Category Name="Autos" GUID="{a7ee6bee-d0aa-4b2f-ad9d-748276a725f6}"> | |
<Color Name="ChangedText"> | |
<Background Type="CT_INVALID" Source="00000000" /> | |
<Foreground Type="CT_RAW" Source="FFF7A1A1" /> | |
</Color> | |
<Color Name="Plain Text"> | |
<Background Type="CT_INVALID" Source="00000000" /> | |
<Foreground Type="CT_INVALID" Source="00000000" /> |
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
Console.WriteLine(Fibo.GetNumber(1)); | |
I improve @Jaex's idea a little bit. My problem with his solution is the error thrown by the solution explorer. It is not very clean.
So you have a file Client.cs
with your class as partial
:
public partial class Client {
// your awesome code comes here
}
In another file ClientKeys.cs
with your class as partial
, you will add your keys:
After reading the Functional Toolbox by @markonis, I wanted to write a quick table to compare with System.Linq
's name.
function | Linq |
---|---|
sort | [OrderBy][1] |
map | [Select][2] |
filter | [Where][3] |
reduce | [Aggregate][4] |
take while | [TakeWhile][5] |
How to switch your Windows Theme from Light To Dark
It is a classic windows utopy to use a Dark theme on Windows. At each new Windows install I have done (and I've done a lot recently), I think about finding a way to achieve it. Lets go.
I found a quick way on Windows Central with a regedit edit.
In an article, HowToGeek share a similar way to achieve this.