Skip to content

Instantly share code, notes, and snippets.

View hackerceo's full-sized avatar

Nick Benik hackerceo

View GitHub Profile
@beufordy3k
beufordy3k / Add_Hash_to_context_menu.reg
Last active May 24, 2024 21:58
How to Add "Hash" Windows 10 Context Menu Option for any file... using pwsh.exe
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; Created on: March 5th 2017
; Updated by: Rufus Harvey
; Updated on: December 9, 2020
; Tutorial: https://www.tenforums.com/tutorials/78681-add-file-hash-context-menu-windows-8-10-a.html
; Adding gist link in case you got this from somewhere else :) : https://gist.github.com/beufordy3k/e6f39335cbed950d41be17ea1f17f5af
@indeyets
indeyets / merge.php
Created May 20, 2014 08:20
EasyRDF graph-merge example
<?php
require '../vendor/autoload.php';
$graph1 = new EasyRdf_Graph();
$graph1->addResource('http://example.org/1', 'dc:title', 'Hello, world!');
$graph1->addResource('http://example.org/2', 'dc:description', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.');
$graph2 = new EasyRdf_Graph();
$graph2->addResource('http://example.org/1', 'dc:description', 'Some boring description');
$graph2->addResource('http://example.org/2', 'dc:title', 'Hello, second world!');