Senin, 05 September 2016

Mount Storage

opkg update
opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
mkdir -p /home
mount -t vfat /dev/sda1 /home

vi /etc/config/fstab
config mount
        option target   '/home'
        option device   '/dev/sda1'
        option fstype   'vfat'
        option enabled  '1'
 option options  'rw,sync'
        option enabled_fsck '0'
/etc/init.d/fstab enable
/etc/init.d/fstab start
reboot
mount














Senin, 22 Agustus 2016

   Dim cnn As New _
            OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
                      this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=ppp;")
 '   OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & _
         '             this.appDir & "\data\keuangan.mdb;Jet OLEDB:Database Password=ppp;")
       
            Dim cmd As New OleDb.OleDbCommand
            cmd.Connection = cnn
            cmd.CommandType = CommandType.Text
            cmd.CommandText = "delete * from trx_spp where `nospp` = '" & e.Link.Split("|")(1) & "' and " & this.sFilter
            Using cnn
                cnn.open()
                cmd.ExecuteNonQuery()
                cnn.Close()
            End Using
       

Rabu, 17 Agustus 2016

Redirect include subfolder


<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^layanankilat\.com$ [OR]
  RewriteCond %{HTTP_HOST} ^www\.layanankilat\.com$
  RewriteRule (.*)$ http://prosides.protindo.com/$1 [R=301,L]
</IfModule>https://wps


sumber : cholar.com/blog/redirect-an-old-domain-to-a-new-domain-with-htaccess/


Senin, 25 Juli 2016

Application Location on VB.net EXE path
From dll
exe path = System.Windows.Forms.Application.StartupPath()
from exe
exe path = Application.StartupPath

appDir As String = Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf("\"))
appExePath As String = Application.StartupPath
appname As String = IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath).ToUpper
 

Selasa, 03 Mei 2016

Topologi


Topologi wifi yang akan kita buat sbb


 Setting wifi mikrotik dengan setting sbb: Pastikan frequencynya sama dengan chanel pada AP murah

Buat interfacen baru untuk bridge wds



Kemudian pilih access list, masukkan mac yang akan kita wdskan


Kemudian pilih conect list, masukkan mac yang akan kita wdskan

Senin, 28 Maret 2016

Get filename
pIni("data", "file") = System.IO.Path.GetFileName(y.OpenFileDialog1.FileName)
Get File Path
pIni("data", "path") = System.IO.Path.GetDirectoryName(y.OpenFileDialog1.FileName)

Rabu, 23 Maret 2016

function myFunction() {
  var t="to@email.com";
  var s="Subject";
  var b="<b>bold body</b> Thin Body";
  var f= "from@alias.web.id";
 
  GmailApp.sendEmail(t,s,b, {htmlBody: b, from:f});
}

Popular Posts

Recent Posts

Text Widget