copy paste desktop to putty pada linux

untuk melakukan kopi data dari desktop ke putty  dengan opereting system linux, anda dapat menggunakan mode klik pada scroll mouse (klik tengah ), jika mouse tidak dilengkapi scroll maka dapat diganti dengan klik kanan dan kiri secara bersamaan untuk mengganti klik tengah

semoga berguna 🙂

referensi  : 

error postgre nextval sequence second schema

jika terjadi error no exist relation untuk  fungsi nextval pada non schema public pada database postgresql ketika kita membuat fungsi autoincrement maka untuk solusinya


nextval('"other_schema".id_seq'::regclass)

semoga berguna 🙂

referensi :

android provacy policy

**Privacy Policy**

jasawebkitastudio built this  android Application a Free app. This SERVICE is provided by jasawebkitastudio at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at this  android Application unless otherwise defined in this Privacy Policy.

**Information Collection and Use**

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information, including but not limited to good app. The information that I request will be retained on your device and is not collected by me in any way.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

* [Google Play Services](https://www.google.com/policies/privacy/)

**Log Data**

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics.

**Cookies**

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device’s internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

**Service Providers**

I may employ third-party companies and individuals due to the following reasons:

* To facilitate our Service;
* To provide the Service on our behalf;
* To perform Service-related services; or
* To assist us in analyzing how our Service is used.

I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

**Security**

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security.

**Links to Other Sites**

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

**Children’s Privacy**

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13 years of age. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions.

**Changes to This Privacy Policy**

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2021-10-16

**Contact Us**

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at jasawebkita@gmail.com.

mengcopi sourcecode dari github ke linux

untuk melakukan cloning  atau mencopy source dari github maka yang dapat anda lakukan adalah

</pre>
<pre>git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY<br /><br />misalkan<br /><br />https://github.com/bim/projeck.git</pre>
<pre>


sementara untuk mendapatkan alamt dari git tersebut, masuk menu code | clone kemudian pilih yang HTTPS lalu salin URL tersebut
github clone
semoga berguna 🙂

referensi :

Ditulis dalam Uncategorized. 1 Comment »

menambah tahun , jam saat ini pada php

Berikut kode untuk menambah tahun saat ini pada php


date('Y', strtotime('+1 year'));

untuk menambah jam pada saat ini (saya tambah 4 jam,)


$date1 = date('Y-m-d H:i:s');</pre>
<pre>$new_date = date('Y-m-d H:i:s', strtotime('+4 hours', strtotime($date1)));</pre>
<pre>

untuk jam yang lain bisa diganti dengan mengubah +4 hours menjadi yang di inginkan misal 7 jam , strtotime('+7 hours', strtotime($date1))
semoga berguna 🙂

referensi :

Ditulis dalam Uncategorized. 1 Comment »

install windows photo viewer windows 10

pada windows 10 aplikasi pembuka gambar diganti oleh microsoft photos , aplikasi ini menurut saya kurang familiar dibandingan windows photo viewer ,dimana leboh ringaks dan enak jika mau ngeprint ganti image dsb

wphotoviewer

untuk mengaktifkan apliaksi windows photo viewer pada windows 10 yang bisa kita lakukan salah satunya dengan menambahkan kode ini pada regedit ,


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
"MuiVerb"="@photoviewer.dll,-3043"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
"Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"

ini aja kodenya langsung dowload kemudian klik kanan install

setelah terinstall  klik kanan pada gambar yang akan dibuka , kemudian open cari  windows photo viewer , jika tidak aada klik choose another app kamudian cari windows photo viewer (klik more app untuk scroll ke bawah)

ini link video dan cara instalasinya

semoga berguna 🙂

referensi :

cara menggabungkan tab chrome yang sudah banyak ke window lain

untuk menggabungkan tab chrome yang sudah banyak ke window chrome yang lainnya yang dapt dilakukan adalah

pilh tab pertama dari chrom yang akan di pindah kemudian klik tahan tombol, shift lalu klik tab chrome yang terakhir, stelah itu drag tab chrom terakhir ke windwos chrom yang mau digabung ,

semoga berguna 🙂

referensi :

How to Merge Two Chrome Windows with Multiple Tabs

Membuat pattern regex pada javascript

untuk membuat sebuah pattren regex pada javascript ckup diawali dengan / dan ditutup / lalu ; misalnya

 
var pola = /[;1`]/;

variabel diatas sudah bisa dipakai sebagai pola untuk rumus regex anda , misal nya
 
var pola = /[;1`]/;

var str = 'cobat tes ini string1`1';

var result = str.match(pola); 


referensi :

https://stackoverflow.com/questions/13840143/jquery-check-if-special-characters-exists-in-string

eror distinct pagination laravel

Biasanya error paging terjadi ketika ada query yang memakai distinct pad laravel, disini saya pake laravel 5.8

tambahkan ini
$columns

$total = $this->getCountForPagination($columns);
pada /var/www/html/lpse/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
ubntuk querynya

$dt = $sql->distinct(‘namatabel’)->paginate(5,[‘namatabel’]);

semoga berguna 🙂
referensi :

menyembunyikan informasi database pada debug laravel

buka file config/app.php

tambahkan ini

‘debug_blacklist’ =>

[ ‘_COOKIE’ => array_keys($_COOKIE),

‘_SERVER’ => array_keys($_SERVER),

‘_ENV’ => array_keys($_ENV), ],

maka informasi database akan tampil dibintang atau asterix

semoga berguna 🙂

referensi