Cari
241 buku memuat "usr bin" · halaman 12 dari 13
Koneksi Internet (Smart) dengan Haier Ce 100 (CDMA) di Linux
… : Bila malas eject manual, anda bisa memasukan rule udev di bawah ini: SYSFS{idVendor}=="201e", SYSFS{idProduct}=="2009", RUN+="/usr/bin/eject %k" Referensi http://blankblondtank.wordpress.com/2009/09/03/koneksi-internet-smart-dengan-haier-ce-100-cdma-di …
Koneksi Internet (Smart) dengan Haier CE100 built in di NetBook Smart dengan Ubuntu 9.10
… reboot Set udev Edit udev vi /etc/udev/rules.d/99-haier-ce100.rules SYSFS{idVendor}=="201e", SYSFS{idProduct}=="2009", RUN+="/usr/bin/eject %k" Cek keberadaan USB Modem lsusb harusnya keluar Bus 005 Device 002: ID 201e:2009 Lakukan modprobe sudo modprobe …
TensorFlow: Linear Regression
TensorFlow: Linear Regression Sumber: https://onnocenter.or.id/wiki/index.php/TensorFlow:_Linear_Regression #!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Jul 30 09:00:48 2019 @author: onno """ # Import libraries (Numpy, Tensorflow, …
Keras - IMDB Sentiment-Analysis Keras and TensorFlow
… -Analysis Keras and TensorFlow Sumber: https://onnocenter.or.id/wiki/index.php/Keras_-_IMDB_Sentiment-Analysis_Keras_and_TensorFlow #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Sep 6 08:49:48 2019 @author: onno """ # IMPORT MODULES …
Keras - LSTM Sentiment Positif and Negatif Analysis
… Positif and Negatif Analysis Sumber: https://onnocenter.or.id/wiki/index.php/Keras_-_LSTM_Sentiment_Positif_and_Negatif_Analysis #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Sep 6 05:54:23 2019 @author: onno """ # This Python 3 …
Keras Image Classification
Keras Image Classification Sumber: https://onnocenter.or.id/wiki/index.php/Keras_Image_Classification #!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Sat Aug 10 07:51:56 2019 https://towardsdatascience.com/image-classification-in-10-minutes- …
SSL Stripping
… and press Enter. Figure 6 Provide the path where you want to install easy-creds. I am using /opt. You can also choose /usr/bin or add your own path in $PATH environment variable. For the sake of simplicity, just type /opt. Figure 7 Next, easy-creds will …
SARG: Instalasi
… 0/24 </Directory> mkdir /var/www/html/squid-reports a2enconf sarg service apache2 reload systemctl restart apache2 # generate log reports /usr/bin/sarg # reports are generated daily by /etc/cron.daily/sarg Referensi https://www.server-world.info/en/note?os …
Willow: Instalasi
Edit vi /home/willow/willow.py Pastikan #!/usr/bin/python2.4 Konfigurasi Edit vi /home/willow/willow.conf Contoh willow.conf syspath = '/home/willow' port = 3128 interface = '192.168.0.100' filters = 'domainfilter','contentfilter','urlfilter' …
Ab
… > plot "test_data_1.txt" using 10 with lines title 'Benchmark from Server X' gnuplot> exit or as a script: #!/usr/bin/gnuplot # Script to plot web server load set terminal png set output "ApacheBenchmarkResults.png" set title "Benchmark from Server X" set …
PowerDNS: Instalasi di Ubuntu dengan Percona Database
… root database password. Sebaiknya kita menjalankan mysqlsecureinstallation untuk memastikan tidak ada masalah security yang tertinggal, /usr/bin/mysql_secure_installation Setelah semua package di instalasi, langkah terakhir yang perlu kita lakukan adalah …
Percona: Instalasi mengganti MySQL
/usr/bin/mysql_secure_installation Setelah semua package di instalasi, langkah terakhir yang perlu kita lakukan adalah menjalankan server, service mysql start If you receive an error regarding the PID file, the server is failing to start. As mentioned in …
BIND: RPZ
… /etc/init.d/bind9 restart For future updates, have BIND reload the zone using rndc: sudo rndc reload srpz.zone make-shalla-rpz.pl #!/usr/bin/perl -w # # Shallalist to DNS RPZ # Author: Mark Page m.e.page_at_gmail.com # Modified: Sun May 11 06:19:05 CDT …
UTorrent: Install di Ubuntu 18.04
… utserver.tar.gz -C /opt/ Buat Server Buat symbolic link sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver Jalankan menggunakan perintah: utserver -settingspath /opt/utorrent-server-alpha-v3_3/ -daemon uTorrent akan listen pada 0.0.0.0 …
Konversi mkv ke avi
… to do the hard stuff ;) You can find the script here : http://svn.pythonfr.org/public/pythonfr/utils/video/mkv2avi.py #!/usr/bin/python # Little script to depack Matroska file, and repack them # in a AVI + subtitle format. import sys import os def message …
SQLite: Tutorial Lagi
… -MCPAN -e shell cpan> install DBI cpan> install DBD::SQLite The following program will create a database in enter records #!/usr/bin/perl use DBI; $dbh = DBI->connect( "dbi:SQLite:data.dbl" ) || die "Cannot connect: $DBI::errstr"; $dbh->do( "CREATE TABLE …
Perl: Socket Programming
… onnocenter.or.id/wiki/index.php/Perl:_Socket_Programming Sumber: http://www.tutorialspoint.com/perl/perl_socket_programming.htm Server #!/usr/bin/perl -w # Filename : server.pl use strict; use Socket; # use port 7890 as default my $port = shift || 7890; my …
Perl: Chat Server
… Server Sumber: https://onnocenter.or.id/wiki/index.php/Perl:_Chat_Server Sumber: http://poe.perl.org/?POE_Cookbook/Chat_Server #!/usr/bin/perl # This program is a simple chat server. It allows multiple people to # connect and exchange messages. It's a very …
Python: Echo UDP Server
Python: Echo UDP Server Sumber: https://onnocenter.or.id/wiki/index.php/Python:_Echo_UDP_Server Script untuk Server #!/usr/bin/env python """ A simple echo server that uses UDP """ import optparse import select import socket import sys # setup variables …
Python: Read Microphone
… softly at 1' distance 0.60 (-4.4dB) snapping fingers loudly at 1' Update: here's a sample to get you started. #!/usr/bin/python # open a microphone in pyAudio and listen for taps import pyaudio import struct import math INITIAL_TAP_THRESHOLD = 0.010 FORMAT …