mathz.nu Asterisk Blacklist Hobby webbhotell

2019/11/24

Flicd on Raspberry PI 3

Filed under: Uncategorized — Mathz @ 19:34

curl -sSL https://get.docker.com | sh

sudo usermod -aG docker pi

sudo docker run hello-world

sudo apt-get install libffi-dev libssl-dev python python-pip

sudo pip install docker-compose

https://hub.docker.com/r/superkikim/flicd-rpi3

2019/02/12

Firewall Centos

Filed under: Uncategorized — Mathz @ 16:54
sudo firewall-cmd --zone=public --add-port=80/tcp --permanent sudo firewall-cmd --reload

2019/01/30

Ubuntu Server

Filed under: Uncategorized — Mathz @ 10:46

To configure a static IP address on your Ubuntu 18.04 server you need to modify a relevant netplan network configuration file within /etc/netplan/ directory. 

For example you might find there a default netplan configuration file called 01-netcfg.yaml or 50-cloud-init.yaml with a following content instructing the networkd deamon to configure your network interface via DHCP:

# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ens160:
      dhcp4: yes

To set your network interface ens160 to static IP address 192.168.1.10 with gateway 192.168.1.1 and DNS server as 192.168.1.1 replace the above configuration with the one below.

# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ens160:
     dhcp4: no
     addresses: [192.168.1.10/24]
     gateway4: 192.168.1.1
     nameservers:
       addresses: [192.168.1.1]

Once ready apply changes with:

$ sudo netplan apply

In case you run into some issues execute:

$ sudo netplan --debug apply

2019/01/10

Catalina.out is emtpy

Filed under: Uncategorized — Mathz @ 19:28

journalctl -u tomcat

2018/05/14

Insert Joomla admin

Filed under: Uncategorized — Mathz @ 21:15

INSERT INTO `s12kv_users` (`name``username``password``params``registerDate``lastvisitDate`, lastResetTime) VALUES (‘Administrator2’‘admin2’,‘d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199’‘2018-01-01 00:00:00’‘2018-01-01 00:00:00’‘2018-01-01 00:00:00’)

 

INSERT INTO `s12kv_user_usergroup_map` (`user_id`,`group_id`)
VALUES (LAST_INSERT_ID(),'8');

2018/03/30

Asus P8P67 PRO

Filed under: Uncategorized — Mathz @ 19:53

UserBenchmarks: Game 19%, Desk 57%, Work 40%
CPU: Intel Core i7-2600K – 67.8%
GPU: Nvidia Quadro K2000 – 10.9%
SSD: Freenas iSCSI Disk 1TB – 23.9%
SSD: Intel(r) 910 200GB – 171.9%
SSD: Intel(r) 910 200GB – 172%
SSD: Intel(r) 910 200GB – 172%
SSD: Intel(r) 910 200GB – 172.1%
SSD: Freebsd iSCSI Disk 107GB – 29.3%
SSD: Intel 530 Series 240GB – 55.7%
HDD: Seagate ST3160815AS 160GB – 39.3%
RAM: Corsair Vengeance DDR3 1600 C9 4x4GB – 49.4%
MBD: Asus P8P67 PRO

Lenovo 90AV001HMW

Filed under: Uncategorized — Mathz @ 18:20

UserBenchmarks: Game 27%, Desk 47%, Work 31%
CPU: Intel Core i5-4460 – 66.9%
GPU: Nvidia GTX 750 Ti – 22.4%
HDD: Seagate Desktop SSHD 1TB – 83.8%
RAM: Samsung M378B1G73QH0-CK0 1x8GB – 32.6%
MBD: Lenovo 90AV001HMW

Dell Latitude E6540

Filed under: Uncategorized — Mathz @ 18:12

[url=http://www.userbenchmark.com/UserRun/8056391]UserBenchmarks: Game 14%, Desk 48%, Work 28%[/url] CPU: [url=http://cpu.userbenchmark.com/SpeedTest/9781/IntelR-CoreTM-i5-4310M-CPU—270GHz]Intel Core i5-4310M[/url] – [b]46.3%[/b] GPU: [url=http://gpu.userbenchmark.com/SpeedTest/7676/IntelR-HD-Graphics-4600]Intel HD 4600 (Mobile 1.15 GHz)[/url] – [b]5.3%[/b] SSD: [url=http://ssd.userbenchmark.com/SpeedTest/24352/ADATA-SSD-SP900-256GB-]Adata SP900 256GB-[/url] – [b]67.4%[/b] RAM: [url=http://ram.userbenchmark.com/SpeedTest/44047/Hynix-HMT41GS6AFR8A-PB-2x8GB]Hynix HMT41GS6AFR8A-PB 2x8GB[/url] – [b]55.2%[/b] MBD: [url=http://www.userbenchmark.com/System/Dell-Latitude-E6540/2201]Dell Latitude E6540[/url]

2015/02/09

Flytta Putty sessionen till en ny dator

Filed under: Uncategorized — Mathz @ 11:16

Kör följande kommando så får du ut dina putty sessionen i en fil på skrivbordet.

regedit /e “%userprofile%\desktop\putty-registry.reg” HKEY_CURRENT_USER\Software\Simontatham

 

2015/01/17

Windows activation

Filed under: Uncategorized — Mathz @ 16:36

slui 4

slui 3

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE]
“MediaBootInstall”=dword:00000000
“SetupDisplayedEula”=dword:00000001
“SetupDisplayedLanguageSelection”=dword:00000001
“RetailInstall”=dword:00000001

 

 

« Newer PostsOlder Posts »

Powered by WordPress