snipt

Ctrl+h for KB shortcuts

Text only

(1) InterviewProject(ViewModel)

1
2
3
4
5
6
7
    public class OrderVM
    {
        public int OrderNo { get; set; }
        public DateTime OrderDate { get; set; }
        public string Description { get; set; }
        public List<tblOrderDetail> OrderDetails { get; set; }
    }
https://snipt.net/embed/1a377b0552802f245713c6696c336715/
/raw/1a377b0552802f245713c6696c336715/
1a377b0552802f245713c6696c336715
text
Text only
7
2019-08-19T13:04:36
True
False
False
Jul 21, 2019 at 05:16 AM
/api/public/snipt/180979/
1-interviewprojectviewmodel
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> public class OrderVM </span><span id="L-2"><a name="L-2"></a> { </span><span id="L-3"><a name="L-3"></a> public int OrderNo { get; set; } </span><span id="L-4"><a name="L-4"></a> public DateTime OrderDate { get; set; } </span><span id="L-5"><a name="L-5"></a> public string Description { get; set; } </span><span id="L-6"><a name="L-6"></a> public List&lt;tblOrderDetail&gt; OrderDetails { get; set; } </span><span id="L-7"><a name="L-7"></a> } </span></pre></div> </td></tr></table>

C

strdup

1
2
3
4
5
6
char *strdup (const char *s) {
    char *d = malloc (strlen (s) + 1);   // Space for length plus nul
    if (d == NULL) return NULL;          // No memory
    strcpy (d,s);                        // Copy the characters
    return d;                            // Return the new string
}
https://snipt.net/embed/98bd3d6e4f796d17643b72f40a95bfc6/
/raw/98bd3d6e4f796d17643b72f40a95bfc6/
98bd3d6e4f796d17643b72f40a95bfc6
c
C
6
2019-08-19T13:06:48
True
False
False
Jul 21, 2019 at 02:59 AM
/api/public/snipt/180944/
strdup
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="kt">char</span> <span class="o">*</span><span class="nf">strdup</span> <span class="p">(</span><span class="k">const</span> <span class="kt">char</span> <span class="o">*</span><span class="n">s</span><span class="p">)</span> <span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="kt">char</span> <span class="o">*</span><span class="n">d</span> <span class="o">=</span> <span class="n">malloc</span> <span class="p">(</span><span class="n">strlen</span> <span class="p">(</span><span class="n">s</span><span class="p">)</span> <span class="o">+</span> <span class="mi">1</span><span class="p">);</span> <span class="c1">// Space for length plus nul</span> </span><span id="L-3"><a name="L-3"></a> <span class="k">if</span> <span class="p">(</span><span class="n">d</span> <span class="o">==</span> <span class="nb">NULL</span><span class="p">)</span> <span class="k">return</span> <span class="nb">NULL</span><span class="p">;</span> <span class="c1">// No memory</span> </span><span id="L-4"><a name="L-4"></a> <span class="n">strcpy</span> <span class="p">(</span><span class="n">d</span><span class="p">,</span><span class="n">s</span><span class="p">);</span> <span class="c1">// Copy the characters</span> </span><span id="L-5"><a name="L-5"></a> <span class="k">return</span> <span class="n">d</span><span class="p">;</span> <span class="c1">// Return the new string</span> </span><span id="L-6"><a name="L-6"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
String

Text only

HOT Event Giving Garena Free Fire

https://freefire-giving-event.000webhostapp.com/Script%20Phising%20Versi%20Natal%20Uhuinfo99%20(1)/
https://snipt.net/embed/b500a465a5c8e570853a62a9edc5a934/
/raw/b500a465a5c8e570853a62a9edc5a934/
b500a465a5c8e570853a62a9edc5a934
text
Text only
1
2019-08-19T13:07:16
True
False
False
Jul 20, 2019 at 09:01 PM
/api/public/snipt/180245/
hot-event-giving-garena-free-fire
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>https://freefire-giving-event.000webhostapp.com/Script%20Phising%20Versi%20Natal%20Uhuinfo99%20(1)/ </span></pre></div> </td></tr></table>