Skip to content

Instantly share code, notes, and snippets.

@alfa5
alfa5 / regex-japanese.txt
Created July 13, 2022 21:03 — forked from terrancesnyder/regex-japanese.txt
Regex for Japanese
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna!
([一-龯])
Regex for matching Hirgana or Katakana
([ぁ-んァ-ン])
Regex for matching Non-Hirgana or Non-Katakana
([^ぁ-んァ-ン])
Regex for matching Hirgana or Katakana or basic punctuation (、。’)
{
"keys": [{
"kty": "RSA",
"kid": "HBxl9mAe6gxavCkcoOU2THsDNa0",
"n": "0afCaiPd_xl_ewZGfOkxKwYPfI4Efu0COfzajK_gnviWk7w3R-88Dmb0j24DSn1qVR3ptCnA1-QUfUMyhvl8pT5-t7oRkLNPzp0hVV-dAG3ZoMaSEMW0wapshA6LVGROpBncDmc66hx5-t3eOFA24fiKfQiv2TJth3Y9jhHnLe7GBOoomWYx_pJiEG3mhYFIt7shaEwNcEjo34vr1WWzRm8D8gogjrJWd1moyeGftWLzvfp9e79QwHYJv907vQbFrT7LYuy8g7-Rpxujgumw2mx7CewcCZXwPiZ-raM3Ap1FhINiGpd5mbbYrFDDFIWAjWPUY6KNvXtc24yUfZr4MQ",
"e": "AQAB"
}]
}
@alfa5
alfa5 / Import.csv
Created July 29, 2015 13:58
CSV import
Date Destino Desc Ammount Ammount2
20150729 Padres Transferencia emitida periodica -1 1
@alfa5
alfa5 / .gitignore
Created October 27, 2014 14:20
Codeigniter Ignore
*/config/production
*/logs/log-*.php
*/logs/!index.html
*/cache/*
*/cache/!index.html
*/cache/!.htaccess
# Numerous always-ignore extensions
*.diff
*.err
@alfa5
alfa5 / Xml.cs
Created June 26, 2013 09:43
Format XML String to Print Friendly XML String
// http://stackoverflow.com/questions/1123718/format-xml-string-to-print-friendly-xml-string
public static String PrintXML(String XML)
{
String Result = "";
MemoryStream mStream = new MemoryStream();
XmlTextWriter writer = new XmlTextWriter(mStream, Encoding.Unicode);
XmlDocument document = new XmlDocument();
try