Skip to content

Instantly share code, notes, and snippets.

View amirkhan7javi's full-sized avatar

AMIR,MOHAMMAD JAVI amirkhan7javi

View GitHub Profile
@amirkhan7javi
amirkhan7javi / HallOfBlame.md
Created December 22, 2023 21:21 — forked from yorickdowne/HallOfBlame.md
Great and less great SSDs for Ethereum nodes

Overview

Syncing an Ethereum node is largely reliant on IOPS, I/O Per Second. Budget SSDs will struggle to an extent, and some won't be able to sync at all.

This document aims to snapshot some known good and known bad models.

For size, 2TB come recommended as of late 2023. This should last an Ethereum full node until late 2025 or thereabouts, with crystal ball uncertainty.

High-level, QLC and DRAMless are far slower than "mainstream" SSDs.

@amirkhan7javi
amirkhan7javi / records.sol
Last active November 6, 2023 04:18 — forked from ocb013/records.sol
Фабрика записей 1
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
ثبت قرارداد انتزاعی {AMIRMOHAMMADJAVI
unint public timeOfCreation;
function getRecordType() public virtual pure returns(string memory);
constructor() { AMIRMOHAMMADJAVI
timeOfCreation = block.timestamp;
@amirkhan7javi
amirkhan7javi / 1.RegistrySnapshot.xml
Created November 6, 2023 04:06 — forked from choco-bot/1.RegistrySnapshot.xml
vlc-nightly v3.0.20.20231106 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-755669605-2921830436-2752608394-1000</user>
<keys>
<key installerType="Unknown" displayName="VLC media player" displayVersion="3.0.20">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\VideoLAN\VLC]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\VideoLAN\VLC\uninstall.exe"]]></UninstallString>
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
1 湿地公园 RF002 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
2 水边围 N12 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
3 石岗 RF003 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
4 大美督 RF004 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
5 大埔墟 RF005 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
6 北潭涌 RF006 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
7 滘西洲 RF007 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
8 西贡 N15 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created November 6, 2023 04:03
vlc-nightly v3.0.20.20231106 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-755669605-2921830436-2752608394-1000</user>
<keys>
<key installerType="Unknown" displayName="VLC media player" displayVersion="3.0.20">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\VideoLAN\VLC]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\VideoLAN\VLC\uninstall.exe"]]></UninstallString>
@forkyau
forkyau / hourly_rainfall_data-2023-11-06|11-45.csv
Created November 6, 2023 04:01
GIST created by python code
0 流浮山 RF001 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
1 湿地公园 RF002 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
2 水边围 N12 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
3 石岗 RF003 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
4 大美督 RF004 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
5 大埔墟 RF005 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
6 北潭涌 RF006 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
7 滘西洲 RF007 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
8 西贡 N15 0 mm 2023-11-06T11:45:00+08:00 2023-11-06
@amirkhan7javi
amirkhan7javi / output_log.txt
Created November 6, 2023 04:00 — forked from HugsLibRecordKeeper/output_log.txt
Rimworld output log published using HugsLib
Log uploaded on Monday, November 6, 2023, 11:49:41 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.2.2), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:1.5.0.0]: 0Harmony(2.2.2), HarmonyMod(1.5.0)
Fishery - Modding Library(bs.fishery): 1Fishery(0.3.800.85), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): 0PrepatcherAPI(av:1.2.0,fv:1.1.1), 1Fishery(0.3.800.85), PerformanceFish(0.3.800.85), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
/*Create a method that will be called before a recipe is inserted or updated */
public class RecipeHandlerClass
{
//to check the missing key values
Public Static Void checkRecipeInformation( List<Recipe__c> newRecipies)
{
System.debug('newRecipies-->'+newRecipies);
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created November 6, 2023 03:49
Rimworld output log published using HugsLib
Log uploaded on Monday, November 6, 2023, 11:49:41 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.2.2), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:1.5.0.0]: 0Harmony(2.2.2), HarmonyMod(1.5.0)
Fishery - Modding Library(bs.fishery): 1Fishery(0.3.800.85), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): 0PrepatcherAPI(av:1.2.0,fv:1.1.1), 1Fishery(0.3.800.85), PerformanceFish(0.3.800.85), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
@yorickdowne
yorickdowne / HallOfBlame.md
Last active November 2, 2024 00:09
Great and less great SSDs for Ethereum nodes

Overview

Syncing an Ethereum node is largely reliant on latency and IOPS, I/O Per Second, of the storage. Budget SSDs will struggle to an extent, and some won't be able to sync at all. For simplicity, this page treats IOPS as a proxy for/predictor of latency.

This document aims to snapshot some known good and known bad models.

The drive lists are ordered by interface and then by capacity and alphabetically by vendor name, not by preference. The lists are not exhaustive at all. @mwpastore linked a filterable spreadsheet in comments that has a far greater variety of drives and their characteristics. Filter it by DRAM yes, NAND Type TLC, Form Factor M.2, and desired capacity.

For size, 4TB comes recommended as of mid 2024. The smaller 2TB drive should last an Ethereum full node until early 2025 or thereabouts, with crystal ball uncertainty. The Portal team aim to make 2TB [last forever with EIP-4444](https://