Skip to content

Instantly share code, notes, and snippets.

View rise-worlds's full-sized avatar
🔥
Focusing

rise rise-worlds

🔥
Focusing
View GitHub Profile
@rise-worlds
rise-worlds / SQL_CLR_Functions-NETCLR20.sql
Created March 24, 2017 08:11 — forked from martijnburgers/SQL_CLR_Functions-NETCLR20.sql
SQL CLR Functions for converting bytes to UTF-7, UTF-8, UTF32 and Unicode. Build for SQL Server 2005, 2008, and 2008 R2.
GO
PRINT N'Creating [SQL_CLR_Functions]...for SQL Server 2005, 2008, and 2008 R2';
GO
CREATE ASSEMBLY [SQL_CLR_Functions]
AUTHORIZATION [dbo]
FROM 0x4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000000000000000000000000800000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000504500004C010300DE1E2C550000000000000000E00002210B010B000008000000060000000000002E270000002000000040000000000010002000000002000004000000000000000400000000000000008000000002000000000000030040850000100000100000000010000010000000000000100000000000000000000000D42600005700000000400000C802000000000000000000000000000000000000006000000C0000009C2500001C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000082000004800000000000000000000002E7465787400000034070000002000000008000000020000000000000000000000000000200000602E72737263000000C80200000040000000
@rise-worlds
rise-worlds / For Mac 4.2.6 unlimited trial.md
Last active November 15, 2024 01:48 — forked from satish-setty/trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@