Latest Threads

Forum Statistics
  • Forum posts:1 327
  • Forum threads:184
  • Members:2 480
  • Latest member:eastwoodjenny11


Posted by: Ashus
21.4.2014 02:52
Forum: Bash scripts
- No Replies

Rekurzivní nastavení oprávnění souborů na 664 a složek do 10. úrovně na 775 se provádí tímto:

Code:
chown -R www-data:www-data *
chmod -R 640 *
find . -maxdepth 10 -type d -exec chmod 750 {} \;

Print this item


Posted by: Ashus
18.3.2014 07:14
Forum: Other
- Replies (1)

If you have tried to forward UDP packets of UPNP (dynamic NAT port forwarding) to another network (you may have NAT further away from you), you need a little workaround for miniupnpd server to accept addresses that are not bound to any interface. The message in debug reads following: miniupnpd[3605]: get_lan_for_peer(): 192.168.5.25:1900 not found !


Let's say we have main router A, that NATs traffic of clients at A and router B. Router A also shapes traffic, so we can't use NAT on B natively and just forward everything to A. We need to forward UPNP and nat-PMP requests from clients of B to the router A. Clients of A have IP range 192.168.1.0/24, clients of B 192.168.5.0/24. The router A has IP 192.168.1.1 and 192.168.2.1 on p2p link with B. Router B has IPs 192.168.5.1 and 192.168.2.2 on p2p link with A.

Getting NAT-PMP to work is really easy, only one line is required in the firewall of B:

Code:
# NAT-PMP relay
iptables -t nat -A PREROUTING -i eth0 -p udp -d 192.168.5.1 --dport 5351 -j DNAT --to-destination 192.168.2.1


To route multicast traffic, you need to use smcroute on B. Configuration must be done per-IP:
[code]function smcroute_ip {
    smcroute -a "$2" "$1" 239.255.255.250 wlan0
}

smcroute -a wlan0 192.168.2.1 239.255.255.250 eth0

for (( i = 2 ; i 

Print this item


Posted by: Ashus
21.10.2013 05:47
Forum: Opera Blink extensions
- No Replies

My creation from scratch.

  • enter any URL and no matter what would happen otherwise, it _will_ be downloaded (ignoring PDF or any other plugins)
  • requests are monitored, scanned for video or audio media files, links are automatically added to recent media list of 10
  • it can be safely used to download videos from trailers.apple.com or any sites using embedded mp4 files
  • no, youtube is not supported as it doesn't send complete files
  • multilingual (EN/CZ), more translations are welcome

.crx Force Download 1.08.crx Size: 30,91 KB  Downloads: 3611


   
Verified and published on Chrome extensions (also for Vivaldi) or Opera extensions.

Print this item


Posted by: Ashus
24.9.2013 05:11
Forum: Opera Blink extensions
- No Replies

Fixes the Easy Auto Refresh extension.

  • removed tracking code
  • removed unclickable icon from omnibar displayed on opera:// pages
  • icons in omnibar changed to something more fitting to Opera (gray/red)
  • default timeout changed from 10 sec to 300 sec (=5 min)
  • registration and full functionality retained (not cracked)


[Image: IHjhiN3S2-lEMF3-ObPsRshFlys2Johu7IRyYRRc...00-e365-rw]

To install, drag and drop to Opera, then enable extension.

Print this item


Posted by: Ashus
24.9.2013 04:33
Forum: Opera Blink extensions
- No Replies

Remade the Close Tab Button extension (not published anymore, it was distributed with manifest v.1).

  • it is a button!
  • it closes current tab
  • it is a button that doesn't move (well if you download something it moves a tiny bit..), mimics MDI close button
  • you don't need to look for the correct X to close current tab
.nex Close Tab Button 0.2.nex Size: 1,58 KB  Downloads: 598


To install, drag and drop to Opera, then enable extension.
Until Opera developers implement reordering of extensions, you have to do the following to make it move to the right:
  • make a backup of Preferences file from profile dir
  • open the file in notepad
  • find "toolbar": [ - reorder the list to make this extension the last in the list
  • save it

Print this item



Posted by: Ashus
24.9.2013 03:38
Forum: Opera Blink extensions
- No Replies

Fixes the Image Properties Context Menu.

  • popup window is opened correctly sized and positioned

[Image: UMDTQhk72GGzVaAq_WOV_GbZ1mosSS7w8Y3oYqLi...00-e365-rw]

To install, drag and drop to Opera, then enable extension.

Print this item


Posted by: Ashus
29.8.2013 05:10
Forum: Opera Blink extensions
- No Replies

Enables you to download extensions from https://chrome.google.com/webstore/ directly to Opera.
To install chrome extensions, click the extension title in detailed view, the download will begin, then you just need to enable it manually as it is from unofficial source.
Some extensions will work, others won't. It is certainly a lot bigger than Opera's default extension repository.

Updated on 28.11.2013 (HTML code of chrome store changed).

To install, drag and drop to Opera, then enable extension.

Print this item


Posted by: Ashus
19.7.2013 03:24
Forum: Opera Blink extensions
- No Replies

Fixes the Chromium Wheel Smooth Scroller extension.

  • wheel icon from extension bar removed
  • made to work in opera:// internal pages - disabled by Opera

[Image: zJ3pGQeR4TFw22oD7cwlsBbzyi8yV4-kz8MiGyeI...00-e365-rw]

To install, drag and drop to Opera, then enable extension. Enable Extensions on opera:// URLs in opera://flags .

Print this item


Posted by: Ashus
19.7.2013 02:19
Forum: Opera Blink extensions
- No Replies

Fixes the Smooth Gestures extension.

  • removed unclickable icon from omnibar displayed on opera:// pages
  • removed internal bookmarks integration (generated errors)
  • ready to work in opera:// internal pages - disabled by Opera

[Image: Bns47IqTVz29RzFDjP9NaWWnJbWd4wIhtLcnKoP_...00-e365-rw]

To install, drag and drop to Opera, then enable extension. Disable internal gestures in Opera settings so they do not collide. Enable Extensions on opera:// URLs in opera://flags .

Code:
chrome.extension.sendMessage({_messageType: 'disable-support'});  

Print this item