class Bill
{
// TODO: Add methods
}
This file contains hidden or 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
| for module in $(find /lib/modules/$(uname -r) -name "nvidia*.ko.zst"); do | |
| echo "Processing $module..." | |
| base="${module%.zst}" | |
| sudo zstd -d "$module" -o "$base" --force | |
| sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 \ | |
| /var/lib/shim-signed/mok/MOK.priv \ | |
| /var/lib/shim-signed/mok/MOK.pem \ | |
| "$base" | |
| sudo zstd -f "$base" -o "$module" | |
| sudo rm "$base" |
This file contains hidden or 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
| "LD_* scout runtime" information: | |
| { | |
| "steam-runtime-system-info" : { | |
| "version" : "0.20250718.0+srt1", | |
| "path" : "/home/redouane/snap/steam/common/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-system-info" | |
| }, | |
| "can-write-uinput" : true, | |
| "steam-installation" : { | |
| "path" : "/home/redouane/snap/steam/common/.local/share/Steam", | |
| "data_path" : "/home/redouane/snap/steam/common/.local/share/Steam", |
This file contains hidden or 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.Collections.Generic; | |
| using System.Linq; | |
| // 1. this code lives in data access assembly/project | |
| internal /* <- this is important modifier */ class DbContext { | |
| public IQueryable<Object> SomeDbSet { get; } | |
| } | |
| public class SomeRepository { |
This file contains hidden or 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
| Import-Module posh-git | |
| Import-Module oh-my-posh | |
| Import-Module -Name Terminal-Icons | |
| Set-PoshPrompt -Theme ~/Documents/WindowsPowerShell/craver.omp.json |
This file contains hidden or 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
| REMIX EXAMPLE PROJECT | |
| Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
| It contains 3 directories: | |
| 1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
| 2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
| 3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
| SCRIPTS |
This file contains hidden or 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 Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.AspNetCore.Mvc.Filters; | |
| using Microsoft.AspNetCore.Mvc.Infrastructure; | |
| using Microsoft.Extensions.DependencyInjection; | |
| namespace MyApi.Extension | |
| { | |
| public static class ServiceColltectionExtensions |
This file contains hidden or 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.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.HttpsPolicy; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.AspNetCore.Mvc.ApiExplorer; | |
| using Microsoft.AspNetCore.Mvc.Versioning; |
This file contains hidden or 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.Collections.Generic; | |
| namespace FootballTournamentSimulation | |
| { | |
| class Program | |
| { | |
| // A team model. | |
| class Team | |
| { |
This file contains hidden or 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.Collections.Generic; | |
| using System.ComponentModel.DataAnnotations; | |
| using Xunit; | |
| using Xunit.Abstractions; | |
| namespace DataAnnotationsAndValidation | |
| { | |
| public class ValidationTests | |
| { |
NewerOlder