This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s -H "Referer: https://partyline.be/_predefined_pages/prijslijst_NL.asp?M_LANGUAGE=NL&M_SITENAME=PARTYLINE" "https://partyline.be/_predefined_pages/prijslijst_NL.asp?M_CATEGORIE=25" | xmllint --format --html --xpath '//div[@class="row no-gutters mt-5"]' - | sed -e 's/<[^>]*>/ /g' | sed -e 's/ //g' | sed '/^[[:space:]]*$/d' | sed -e 's/^[ \t]*//' | sed -e 's/ Koude suggestie.*//' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Network Troubleshooting: | |
------------------------ | |
1) Kabels checken! | |
2) IP adres -> ifconfig | |
3) Default gateway | |
-) netstat -rn | |
-) route -n | |
4) DNS | |
-) /etc/resolv.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package testapps; | |
import java.io.IOException; | |
import java.net.DatagramPacket; | |
import java.net.InetAddress; | |
import java.net.MulticastSocket; | |
public class DateClient { | |
private static MulticastSocket multicastSocket; | |
private static InetAddress group; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.3/tests/test_unbind_reason.rb | |
Building native extensions. This could take a while... | |
/usr/bin/ruby extconf.rb | |
ERROR: Error installing dashing: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby extconf.rb | |
mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dashing Dashboard | |
dashing: | |
app_directory: "/home/vuokko/netwerken/labo7/dashing/" | |
type: "ruby193" | |
http_port: 8080 | |
memory: 512 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vuokko@Nemesis:~/netwerken/labo7/sneakers$ vagrant up dashing | |
Bringing machine 'dashing' up with 'virtualbox' provider... | |
[dashing] Box 'sneakers-6.0.7-ruby193-20130911' was not found. Fetching box from specified URL for | |
the provider 'virtualbox'. Note that if the URL does not have | |
a box for this provider, you should interrupt Vagrant now and add | |
the box yourself. Otherwise Vagrant will attempt to download the | |
full box prior to discovering this error. | |
Downloading or copying the box... | |
An error occurred while downloading the remote file. The error | |
message, if any, is reproduced below. Please fix this error and try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See /usr/share/postfix/main.cf.dist for a commented, more complete version | |
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) | |
biff = no | |
# appending .domain is the MUA's job. | |
append_dot_mydomain = no | |
# Uncomment the next line to generate "delayed mail" warnings | |
#delay_warning_time = 4h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Helpers; | |
import java.io.IOException; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
public final class Database { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Helium - DNS server | |
node helium inherits default { | |
# bind stuff | |
include bind | |
bind::server::conf { '/etc/named.conf': | |
listen_on_addr => [ $dns_listen_on_addr ], | |
listen_on_v6_addr => [ $dns_listen_on_addr ], | |
forwarders => [ $dns_forwarder ], | |
allow_query => [ $dns_allow_query ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://wiki.centos.org/HowTos/SetUpSamba | |
# http://micheljansen.org/blog/entry/182 | |
# http://www.centos.org/docs/5/html/5.1/Deployment_Guide/sec-sel-enable-disable-enforcement.html | |
# installatie & opstarten & starten bij boot | |
sudo yum install samba | |
sudo chkconfig smb on | |
sudo service smb start |
NewerOlder