No Internet Access в Windows

Windows има няколко мрежови команди в Command Prompt.

Въведете “cmd” в “Start Menu”, след което кликнете с десния бутон на мишката върху него и изберете “Run as administrator”, за да отворите прозореца “Command Prompt”.

За да възстановите някои от файловете, които Windows поддържат за достъп до интернет, използвайте тези две команди:

netsh winsock reset

netsh int ip reset

Ако това не помогне, опитайте да освободите IP адреса на компютъра си и да получите нов с тези две команди. Изпълнете ги последователно:

ipconfig /release

ipconfig /renew

И накрая, опреснете DNS настройките на компютъра си с тази команда:

ipconfig /flushdns

Рестартирайте вашия компютър.

How to add reverse sort order to Gallery in Widgetkit

For those of you sick of asking for this feature in WidgetKit as I am, I have taken it upon myself to just add the feature.

open /media/widgetkit/widgets/gallery/gallery.php
then on around line 19x… look for this code

// random order  

if (count($images) && isset($settings[‘order’]) && $settings[‘order’] ==“random“) {
shuffle($images);
}

and change it to the following

// Sort Orders  

if (count($images) && isset($settings[‘order’])) {
switch($settings[‘order’]) {
case „random“:
shuffle($images);
break;
case „reverse“:
rsort($images);
break;
}
}

then open the config.xml within each folder inside /media/widgetkit/widgets/gallery/styles/
and look for the following code (NOTE THAT SOME WILL NOT HAVE THIS CODE SO SKIP THAT FILE)

        <setting name="order" label="Order" type="list" default="default">  
        <option value="default">Default</option>  
        <option value="random">Random</option>

and add directly after that line
<option value=“reverse“>Reverse</option>

Now we can set a reverse sort order for your gallery.

Thanks Kevin Marshall

Категории

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.