Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 147
» Latest member: HsKJ252
» Forum threads: 178
» Forum posts: 1 033

Full Statistics

Online Users
There are currently 9 online users.
» 0 Member(s) | 9 Guest(s)

Latest Threads
Call Of Duty: PHP Rules C...
Forum: Game tools
Last Post: Donatosdog
8.8.2018 04:52
» Replies: 72
» Views: 29 680
Proxy Guard
Forum: Bash scripts
Last Post: Donatosdog
8.8.2018 04:24
» Replies: 1
» Views: 2 666
Find apps blocking APK in...
Forum: Guides / Návody
Last Post: Donatosdog
8.8.2018 01:44
» Replies: 4
» Views: 2 602
Google AdSense Extension ...
Forum: Other
Last Post: SaRan
18.7.2018 07:42
» Replies: 34
» Views: 21 543
Call Of Duty: PHP RCon 2....
Forum: Game tools
Last Post: Brenton
14.3.2018 10:39
» Replies: 385
» Views: 125 666
Call Of Duty 2: Kafemlyne...
Forum: Game tools
Last Post: Ashus
6.1.2018 04:17
» Replies: 75
» Views: 29 919
Availability
Forum: Bash scripts
Last Post: Bethune
22.5.2017 01:59
» Replies: 1
» Views: 2 601
How to calibrate low-end ...
Forum: Guides / Návody
Last Post: Ashus
7.5.2017 01:30
» Replies: 0
» Views: 1 416
GIT global configuration ...
Forum: Guides / Návody
Last Post: Ashus
19.4.2017 06:22
» Replies: 0
» Views: 1 271
How to insert separately ...
Forum: Guides / Návody
Last Post: Ashus
7.3.2017 04:15
» Replies: 0
» Views: 1 304

 
  Chromium Wheel Smooth Scroller 1.3.3 fixed v.2
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 .



Attached Files
.nex   Chromium Wheel Smooth Scroller 1.3.3 fixed v2.nex (Size: 23,05 KB / Downloads: 47)

  Smooth Gestures 0.17.7 fixed v.3
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'});  



Attached Files
.nex   Smooth Gestures 0.17.7 fixed v.2.nex (Size: 300,52 KB / Downloads: 102)
.nex   Smooth Gestures 0.17.7 fixed v.3.nex (Size: 300,53 KB / Downloads: 67)

  Změna přihlašovacích údajů při autentizaci přes webserver
Posted by: Ashus - 25.6.2013 07:15 - Forum: PHP scripts - No Replies

Pokud je nutné změnit přihlášeného uživatele pro větší množství systémů a používá se HTTP autentifikace pomocí webserveru (např. pomocí .htpasswd nebo LDAPu konfigurovaného v .htaccess), můžete provést reautentifikaci tímto způsobem, aniž byste zavírali prohlížeč nebo používali tlačítko zpět. Způsoby jako přesměrování na neexistujícího uživatele ve formátu http ://uživatel@server/ se ukázaly liché, protože prohlížeče v URL uživatele nechávají a pak se na údaje ptají na každé stránce. Redirect pomocí header taky není možný, protože pak prohlížeč nemá důvod čekat na nové údaje. Spolehlivě se pouze odhlásit nelze (omezení HTTP).

Celou složku/subdoménu máme zaheslovanou pomocí účtů v .htpasswd.

logout.php

PHP Code:
session_start();
if ((!isset(
$_SESSION['HTTP_REMOTE_USER'])) || ($_SESSION['HTTP_REMOTE_USER'] == $_SERVER['REMOTE_USER']))
 
   {
 
   header('WWW-Authenticate: Basic realm="Pokud neprovedete nove prihlaseni, zustane prihlasen \''.$_SERVER['REMOTE_USER'].'\'."');
 
   header('HTTP/1.1 401 Authorization Required');
 
   }

$_SESSION['HTTP_REMOTE_USER'] = $_SERVER['REMOTE_USER'];

echo 
'<meta http-equiv="refresh" content="0;URL=./">'


  Yet Another Google Bookmarks Extension 1.32 fixed
Posted by: Ashus - 12.6.2013 08:45 - Forum: Opera Blink extensions - No Replies

Fixes the Yet Another Google Bookmarks Extension to work in Opera 15+.

Omnibar default search feature disabled. This change fixed an error and made the extension load bookmarks on startup correctly.

[Image: mDWUkWdVIhM-5RAHhTqlddKYTZjkGkODSNJSTxZg...00-e365-rw]

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



Attached Files
.nex   Yet Another Google Bookmarks Extension 1.32 fixed.nex (Size: 255,29 KB / Downloads: 55)

  Feedly RSS button 2.2.2 fixed
Posted by: Ashus - 11.6.2013 09:18 - Forum: Opera Blink extensions - No Replies

Fixes the RSS Subscription Extension (by Google).

  • makes the icon smaller to fit other elements in omnibar
  • removed default entries, entered the one for Feedly
  • changed CSS

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

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


.nex   Feedly RSS button 2.2.2 fixed.nex (Size: 83,97 KB / Downloads: 26)


To view current number of unread feeds, I use Feedly Counter.

[Image: hZcdMtsBLwtLWktZNcqjsATH8zp-F3u15SeU9a5i...00-e365-rw]


  Flag For Chrome 0.4.1 fixed v.2
Posted by: Ashus - 11.6.2013 09:11 - Forum: Opera Blink extensions - No Replies

Fixes the Flag For Chrome extension.

  • rewritten for manifest ver. 2 (a lot of work)
  • caching reduced from 30 to 7 days
  • removed remote logging (calling home)
  • fixed opening Google Maps of location
  • disabled Google Pagerank (it doesn't work anymore and waiting for it prevented flags from functioning), hidden from options
  • modified communication with location resolving API
  • retrieved geo data was upper-cased, now words only start with uppercase
  • removed non-essential info from tooltip, leaves only city, region, country and the IP address
  • domain is translated to IP locally (requests are monitored and domain/IP pairs are cached), this greatly increases your privacy as no additional third parties get hostnames they needn't (IP geolocation service)
  • localhost / internal network / unknown fallback icon added, translated currently only to EN/CZ

[Image: T3KdhSm1h0eo-AhFO0mAL0DV9eD5PikmEmxIhUNC...00-e365-rw]


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



Attached Files
.nex   Flag For Chrome.nex (Size: 2,13 MB / Downloads: 61)

  UNI banan.cz [CZ]
Posted by: Ashus - 11.6.2013 09:05 - Forum: Opera Blink extensions - No Replies

Interní rozšíření pro potřeby vkládání hesel do systémů banan, s.r.o.
Hesla obsažena nejsou.

Pro instalaci je nutno rozšíření přetáhnout do okna prohlížeče a povolit. Pak v konfiguraci vyplnit hesla.



Attached Files
.crx   uni-banan-cz.crx (Size: 2,56 KB / Downloads: 32)
.nex   uni-banan-cz.nex (Size: 2,56 KB / Downloads: 20)

  UserJS
Posted by: Ashus - 11.6.2013 09:00 - Forum: Opera Blink extensions - No Replies

Ported user javascript set I used on Opera 12. Smaller and less memory intensive than Greasemonkey.


Google.com


Hides advertisement (ads) and +1 links, shows cache links.

IMDb.com


Modifies the page title, leaves only the movie name. For easy webpage saving using Ctrl+S.

Adf.ly


Automatically redirects to target when the button appears.

1337x.org


Creates links to IMDb from text-only in torrent description.

TorrentLeech.org


There has been a problem with displaying ASCII graphics when system language is not English (CP 437, IBM PC, OEM).
List of changes:
  • make "filters" and "categories" buttons look not clicked
  • hide panels filters and categories
  • remove support TL banner
  • 2 custom buttons (your favourite feeds)
  • make all IMDB links look like buttons
  • make the logo smaller
  • cancel bold font style on torrent links, change the (NEW) text to yellow
  • fix ASCII graphics for non-English OS on textual NFOs, open links in new window, replace BBCodes and links to images with clickable images (easy comparison of the same frame centered to window)
  • font and graphics are now included in the extension, no remote download needed
  • works for PT as well

Titulky.com


Upraví titulek okna, změní výšku iframe pro stažení titulků, opraví chybu při nahrávání titulků, kdy není možné vložit velikost v bajtech s mezerama (kopírovanou z vlastností videa). Odstraní pár reklam, do menu přidá vybírátko varianty webu Normální / Premium. Slovenské titulky označí ve výsledcích hledání oranžově.

CSFD.cz


Upraví titulek okna pro snadnější uložení Ctrl+S.



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



Attached Files
.nex   Ashus UserJS.nex (Size: 84,13 KB / Downloads: 35)

  Hotkey Shortcuts
Posted by: Ashus - 11.6.2013 08:53 - Forum: Opera Blink extensions - No Replies

Hotkeys to switch between tabs easily. Works on all pages except the internal ones (settings, extensions, about, ...).

F5 forced refresh (impossible to override by eg. Twitter)
F6 next tab
F7 previous tab
F8 close tab
Shift+F8 pin/unpin tab (Opera still doesn't support this natively unlike other hotkeys)

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



Discotinued.
Edit your profile/data/Preferences file in notepad and add this block to the beginning (replacing the line with browser...):

Code:
{
   "Keybindings": {
      "Basic": {
         "AddBlankTab": [ "Ctrl+N" ],
         "CloseActiveTab": [ "F8" ],
         "CloseWindow": [ "Ctrl+W" ],
         "DevTools": [ "F12", "Ctrl+Shift+I" ],
         "FocusAddressbar": [ "F2" ],
         "OpenWindow": [ "Ctrl+T" ],
         "CycleToNextTab": [ "F6" ],
         "CycleToPreviousTab": [ "F7" ],
         "ViewSource": [ "F4" ]
      },
      "Settings": {
         "AdvancedEnabled": true
      }
   },
   "browser": {
 



Attached Files
.nex   Ashus Hotkey Shortcuts.nex (Size: 1,87 KB / Downloads: 24)

  Nahrazení obsahu souborů pomocí 'sed'
Posted by: Ashus - 3.6.2013 04:25 - Forum: Bash scripts - No Replies

Pro hromadné nahrazení deprecated funkcí použijte toto:

Code:
find . -name "*.php" -exec sed -i "s/mysql_escape_string/mysql_real_escape_string/g" '{}' \;

Tím nahradíme ve všech souborech s příponou php mysql_escape_string za mysql_real_escape_string.