sha256sum -b your_iso_image_name_here.iso >> shagen.txt
diff shagen.txt sha256sum.txt
return { | |
{ | |
"Hoffs/omnisharp-extended-lsp.nvim", | |
lazy = false, -- Ensure it’s always loaded | |
}, | |
{ | |
"williamboman/mason.nvim", | |
opts = { | |
ensure_installed = { | |
"omnisharp", -- Auto-install OmniSharp |
"Scan for accesspoints and display them sorted by network strength" | |
# Scan WiFi network and return the list of available access points. | |
# Each list entry is a tuple with the following items: | |
# (ssid, bssid, primary_chan, rssi (signal Strength), auth_mode, [ hidden]) | |
import binascii | |
import network | |
wlan = network.WLAN(network.STA_IF) | |
_ = wlan.active(True) |
openssl req -new -x509 -nodes -sha256 -newkey rsa:4096 -keyout certificate.key -out certificate.crt -days 36500
certutil -mergepfx certificate.crt certificate.pfx
// Hit > shift + command + p and type snippets | |
// Select Preferences: Configure User Snippets | |
// Choose the language type for which you want to add the custom snippet in the vscode inputbox | |
//"cw" is the hotkey for Console.Writeline in c# in Visual Studio | |
{ | |
"Console.Log":{ | |
"prefix": "cw", | |
"body": "console.log(\"\")", | |
"description": "loggin like c#" | |
} |
//Adds floats together with "precision" | |
var RoundedAddition = (...args) => { | |
let countDecimals = (value) => { | |
if (Math.floor(value) === value) return 0; | |
let a = value.toString().split(".")[1].length || 0; | |
return a; | |
} | |
let highestDecimalpoint; | |
args.forEach(i => { | |
let x = countDecimals(i); |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class Program | |
{ | |
public static void Main() | |
{ |
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
int a= 21; | |
int b =0; | |
if (a%4!=0) b++; | |
var c = (a/4)+b; |
const isWeekday = (date) => date.getDay() % 6 !== 0; | |
console.log(isWeekday(new Date(2021, 1, 25))); | |
// Result: true (Thurday 25.2.21) | |
console.log(isWeekday(new Date(2021, 1, 28))); | |
// Result: false (Sunday 28.2.21) | |
console.log(isWeekday(new Date()),new Date()) | |
//Todays date |