Skip to content

Instantly share code, notes, and snippets.

View noorus's full-sized avatar
⚜️
Hundred and ten percent effort

Noora noorus

⚜️
Hundred and ten percent effort
  • Helsinki, Finland
  • 05:05 (UTC +03:00)
View GitHub Profile
@noorus
noorus / parser.js
Created July 25, 2020 17:55
parser.js
'use strict'
const sprintf = require( 'sprintf-js' ).sprintf
const moment = require( 'moment' )
const unicode_generalCategory = require( 'unicode-13.0.0/General_Category' )
const charCategoryMultipliers = [
0, // none
1, // latin letters
@noorus
noorus / create_iso.cpp
Created July 28, 2022 00:32 — forked from daaximus/create_iso.cpp
create iso using imapi
#include <string>
#include <atlbase.h>
#include <imapi2fs.h>
void create_iso( std::wstring_view src, std::wstring_view iso_path )
{
HRESULT hr;
IFileSystemImage* fsimg;
IFsiDirectoryItem* fsdir;
IFileSystemImageResult* fsresult;
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
umask 022
export LC_ALL=en_US.UTF-8
# don't put duplicate lines or lines starting with space in the history.