Create a script called Terminal (yes, without a extension) inside the folder ~/.local/share/nautilus/scripts with the following content:
#!/bin/sh
gnome-terminal
Make it executable, then close any Nautilus instance:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>HTML inputmode attribute</title> | |
<style> | |
* { | |
padding: 0; |
Create a script called Terminal (yes, without a extension) inside the folder ~/.local/share/nautilus/scripts with the following content:
#!/bin/sh
gnome-terminal
Make it executable, then close any Nautilus instance:
/* | |
ORM (Object-Relational Mapping) allows us to have a framework | |
for storing objects within relational databases and translating between | |
DATABASE-CODE communication. | |
What is ORM? | |
1. Object relational mapping is a technique for storing, | |
retrieving, updating and deleting (CRUD) from | |
an object-oriented program in a relational database. | |
2. Utilization of "data layer" to manage translation between the OO and relational |
| |
using System; | |
using System.Linq; | |
using System.Text; | |
using System.Globalization; | |
namespace TextDataUtility | |
{ | |
public static partial class StringExtensions | |
{ |
using System; | |
using System.Linq; | |
using System.Text; | |
using System.Collections.Generic; | |
using System.Globalization; | |
public static partial class StringExtensions | |
{ | |
public static sbyte ToSByte(this string s) | |
{ |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
/// <summary> | |
/// Provides methods for checking method arguments for validity and throwing localizable exceptions for invalid | |
/// arguments or argument combinations. |
#!csharp | |
#r "nuget:Microsoft.Extensions.Configuration" | |
#r "nuget:Microsoft.Extensions.Configuration.Json" | |
#r "nuget:Dapper" | |
#r "nuget:Dapper.Contrib" | |
#r "nuget:System.Data.SqlClient" | |
#r "System.IO" | |
#!csharp |
#!markdown | |
Records in C# | |
#!csharp | |
public class Course | |
{ | |
public string Name {get; set;} | |
public string Author {get; set;} |
#!markdown | |
# Using SQLite in Notebook | |
Install ExtensionLab NuGet package | |
#!csharp | |
#r "nuget: System.Data.SQLite, *-*" | |
#r "nuget: Microsoft.DotNet.Interactive.ExtensionLab, *-*" |
#!csharp | |
using System.Collections.Generic; | |
using System.Linq; | |
using Microsoft.DotNet.Interactive; | |
using Microsoft.DotNet.Interactive.Formatting; | |
using static Microsoft.DotNet.Interactive.Formatting.PocketViewTags; | |
void downloadAndShowImages(params string[] urls) { | |
display(span(urls.Select(url => |