Skip to content

Instantly share code, notes, and snippets.

View 4gmayank's full-sized avatar

Mayank Goyal 4gmayank

  • Ailoitte Technologies
  • Delhi
View GitHub Profile
{
"countries": [
{
"country": "Afghanistan",
"states": ["Badakhshan", "Badghis", "Baghlan", "Balkh", "Bamian", "Daykondi", "Farah", "Faryab", "Ghazni", "Ghowr", "Helmand", "Herat", "Jowzjan", "Kabul", "Kandahar", "Kapisa", "Khost", "Konar", "Kondoz", "Laghman", "Lowgar", "Nangarhar", "Nimruz", "Nurestan", "Oruzgan", "Paktia", "Paktika", "Panjshir", "Parvan", "Samangan", "Sar-e Pol", "Takhar", "Vardak", "Zabol"]
},
{
"country": "Albania",
"states": ["Berat", "Dibres", "Durres", "Elbasan", "Fier", "Gjirokastre", "Korce", "Kukes", "Lezhe", "Shkoder", "Tirane", "Vlore"]
},
Function dateRegexP(Myrange As String, MyPattern As String) As Boolean
'function to check the core pattern from date
'function no.3
Dim strPattern As String
Dim regEx As New RegExp
Dim strInput As String
Dim strOutput As String
strPattern = MyPattern
@4gmayank
4gmayank / FinalFormatter.xml
Created February 5, 2023 05:35
Code formatter for Android App
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<profiles version="13">
<profile kind="CodeFormatterProfile" name="MyFormatter" version="13">
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8"/>
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8"/>
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8"/>
<setting id="org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines" value="2147483647"/>