Skip to content

Instantly share code, notes, and snippets.

rise-worlds / For Mac 4.2.6 unlimited
Last active May 23, 2024 06:25 — forked from satish-setty/
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
  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 :
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
moutend /
Created March 27, 2021 01:10
[Swift] Equalizing Audio Signal with vDSP.Biquad

[Swift] Equalizing Audio Signal with vDSP.Biquad

This script reads /tmp/input.wav, applies the low-pass filter, and writes the modified signal as /tmp/output.wav.

To run, open and hit the following command:

$ swift main.swift
rthery / ProfilerStatsToCSVExporter.cs
Last active May 23, 2024 06:21
Unity component exporting the specified Profiler stats to a CSV file in the application persistent data path
using System;
using System.IO;
using UnityEngine;
namespace Unity.Profiling
/// <summary>
/// This component will export the specified Profiler stats to a CSV file in the application persistent data path
/// cf.
/// </summary>
kyungpyoda / CodableInheritanceExample.swift
Created May 28, 2021 01:17
[Swift] Codable class and inheritance
// CodableInheritanceExample.swift
// Created by 홍경표 on 2021/05/28.
class BaseResponse: Codable {
var retCode: Int = 0
private enum CodingKeys: String, CodingKey {
vivekkiran /
Created May 23, 2024 06:11 — forked from jordanspooner/
BiLSTM Architecture
# Sentence-level QE -- BiRNN model
## Inputs:
# 1. Sentences in src language (shape: (mini_batch_size, line_words))
# 2. Parallel machine-translated documents (shape: (mini_batch_size, line_words))
## Output:
# 1. Sentence quality scores (shape: (mini_batch_size,))
R-WebsterNoble / SavWav.cs
Last active May 23, 2024 06:08 — forked from darktable/SavWav.cs
Unity3D: script to save an AudioClip as a .wav file.
// Copyright (c) 2012 Calvin Rien
// This software is provided 'as-is', without any express or implied warranty. In
// no event will the authors be held liable for any damages arising from the use
// of this software.
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
HerringtonDarkholme /
Last active May 23, 2024 06:08
React Effect Syntax Extension

React Effect Syntax Extension

This syntax extension is a mere fantasy of future React Script syntax. It is not a RFC, proposal or suggestion to React team or community. It is just a fun idea to imagine how React could be in the future.

Read this like a fan-fiction, for fun. :)


There are two recent new features in React community that are introducing new extensions to JavaScript, both syntax and semantics:

vraravam /
Last active May 23, 2024 06:07
Steps to get "up and running" with new Mac OSX
#!/usr/bin/env zsh
# This script can be used to setup a macos machine based on Vijay's configurations. As of now, this script is idempotent and will restore your local setup to the same state if run multiple times.
# If you have the same files already present, it will prompt you whether to override or not
# file location: <anywhere> (just need to invoke it from that location)
# You can run this script using this command:
# curl -L -o; chmod +x ./; ./
# BEFORE STARTING TO RUN THIS SCRIPT (for the first time on a new machine)
Visual Studio 2022
Enterprise :
SQL Server 2017
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
#!/usr/bin/env zsh
# Note: This script is specific to my setup and not useful for others.
# You can run this script using this command:
# curl -L -o; chmod +x ./; ./
# These env vars are duplicated intentionally since this script would bootstrap the installation
# load the utility functions