Skip to content

Instantly share code, notes, and snippets.

public static String getMobileNumber()
{
try
{
Close();
ClassSMS.serialPort = null;
if (Open())
{
serialPort.DiscardInBuffer();
serialPort.DiscardOutBuffer();
<!-- BEGIN callpage.io widget -->
<script type="text/javascript">var __cp={"id":"P2p9ABIFer3swbiU7RnpHyDOBvLULYqnfnx1oUJvurY","version":"1.1"};(function(window,document){var cp=document.createElement('script');cp.type='text/javascript';cp.async=true;cp.src="++cdn-widget.callpage.io+build+js+callpage.js".replace(/[+]/g,'/').replace(/[=]/g,'.');var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(cp,s);if(window.callpage){alert('You could have only 1 CallPage code on your website!');}else{window.callpage=function(method){if(method=='__getQueue'){return this.methods;}
else if(method){if(typeof window.callpage.execute==='function'){return window.callpage.execute.apply(this,arguments);}
else{(this.methods=this.methods||[]).push({arguments:arguments});}}};window.callpage.__cp=__cp;window.callpage('api.button.autoshow');}})(window,document);</script>
<!-- END callpage.io widget -->
<!-- BEGIN callpage.io widget -->
<script type="text/javascript">var __cp={"id":"3brd9lkcw0weGAjNKveHEAHC0e8nHUfmp5uu6OqIehc","version":"1.1"};(function(window,document){var cp=document.createElement('script');cp.type='text/javascript';cp.async=true;cp.src="++cdn-widget.callpage.io+build+js+callpage.js".replace(/[+]/g,'/').replace(/[=]/g,'.');var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(cp,s);if(window.callpage){alert('You could have only 1 CallPage code on your website!');}else{window.callpage=function(method){if(method=='__getQueue'){return this.methods;}
else if(method){if(typeof window.callpage.execute==='function'){return window.callpage.execute.apply(this,arguments);}
else{(this.methods=this.methods||[]).push({arguments:arguments});}}};window.callpage.__cp=__cp;window.callpage('api.button.autoshow');}})(window,document);</script>
<!-- END callpage.io widget -->
<!--Start of Zendesk Chat Script-->
<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute("charset","utf-8");
$.src="https://v2.zopim.com/?3jdnojb2TWYMkOYIs7RqWLKZhSlphATk";z.t=+new Date;$.
type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");
</script>
<!--End of Zendesk Chat Script-->
<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
mountpoint -q /storage/jpam/cms/public/media || sshfs jpam@10.178.108.172:/storage/jpam/cms/public/media /storage/jpam/cms/public/media -o nonempty,nosuid,nodev,reconnect,max_read=65536,allow_other,IdentityFile=/storage/jpam/.ssh/id_rsa',
<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
728x90
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Geral_728x90 -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-9207619272986812"
data-ad-slot="1766187687"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
<style>.flashAd_%eaid!_%ecid!{width:[%Width%]px !important;height:[%Height%]px !important;padding:0px !important;border:0px !important;margin:0px !important;overflow:hidden !important;}</style>
<SCRIPT LANGUAGE="JavaScript"><!--
(function(){
var swf = "[%Flashfile%]";
var gif = "[%Backupimagefile%]";
var minV = [%RequiredFlashversion%];
var FWH = ' width="[%Width%]" height="[%Height%]" ';
var url = "%c[%ClickthroughURL%]";
var wmode = "[%Flashwmode%]";
var bg = "[%Flashbackgroundcolor%]";
root@a2-virgula1:~# ifconfig
eth0 Link encap:Ethernet HWaddr b8:ac:6f:b2:2a:2c
inet addr:10.129.91.2 Bcast:10.129.91.127 Mask:255.255.255.128
inet6 addr: fe80::baac:6fff:feb2:2a2c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:780774 errors:0 dropped:309174 overruns:0 frame:0
TX packets:242552 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:250730703 (250.7 MB) TX bytes:63100877 (63.1 MB)