
Let's say you have a blog and have posts ordered by their published date. Later you decide you want to pin certain posts. Pinned posts should be displayed before any other posts regardless of their published date. The Solution You can accomplish this by modifying the order clause in the query. Take this order: ->orderBy('published_at', 'desc') This will order posts by their published date in descending order. Adding a second-order clause: ->orderBy('is_pinned', 'desc')->orderB...
ادامه مطلب
BlueGriffon has built-in facilities for you to insert an audio clip or music file into your web page. This article shows you how to use it....
ادامه مطلب
The article on how to add a CAPTCHA to your contact form has been updated to include information on how you can use the newest CAPTCHA option (the one that potentially pays you for using them) of the Feedback Form Wizard. ...
ادامه مطلب
I run into a problem with my exteal HDD, i used it for backups but when i reinstalled windows (and forgot to remove the HDD) my HDD got whiped. After the whipe suddenly my HDD splitted itself into multiple Disks. Ive tried evrything and googles alot but no succes. I would like to bring it back to one disk, just like it was when i bought it. Can anyone help me out, or give me some tips on how to achieve this? Here is an image of the partitions, if you need any extra details of information let me ...
ادامه مطلب
I have 2 crucial sticks in my ASUS P8Z68-V LX atm. I'd like to go to 8GB and wanted to know if the lower voltage Kingston sticks would be compatible? ...
ادامه مطلب
Let's say I work for XYZ Ltd and our email addresses are [email protected] . I have three colleagues [email protected]. [email protected], [email protected] . However I get spam with spoofed sender addresses say (apparently) from [email protected] and [email protected] and other obviously randomly generated names. So can I create an Outlook rule to only allow the three or four valid names from the domain and spam folder the rest? Let's block ads! بخوانید...
ادامه مطلب
I am using Windows 10 (well, the version is irrelevant I believe) and I would like to execute my programs through 'Run' just for convenience. My problem is, where do I look for each software's Run keyword ? For example, to open paint, you can run 'mspaint', to open Notepad++ I luckily figured out you can run notepad++ but what about other processes ? For example, I have no clue how to open Sublime text 3 with Run or paint.net and many other software. If you are willing to help, please also provi...
ادامه مطلب
I have an Nvidia 1070 and three monitors. Two are 1080p one is 1440p. I run Windows 10 x64. Say I have google chrome (it happens to other windowed apps) maximized on one of the side 1080p monitors. SOMETIMES when I lock the computer and come back to it later (after the screens have gone to sleep -- my computer never goes into sleep mode though), the window will have shifted from maximized position to 50% to the right and 50% down but still the same size so it's off the screen...It's not always i...
ادامه مطلب
This happens to me quite a lot, and I'd like to know if there's a way to prevent it or a better way to fix it than restarting my computer. The circumstances are very different to existing questions like “DNS server address couldn't be found” for some websites; it goes like this: I tu on my computer (Windows 8.1) and inteet router (which is either a 3G mobile router that I'm waking up from sleep, or a normal wireless router and modem that isn't on all the time because I'm in a country where there...
ادامه مطلب
So I have been trying to add refrenced cells but each time I input the sum formula is get 0 as an answer. I did a search online and realised that I'm to use the indirect formula but I just cannot make head or tail of it. At best I am able to retrieve one number but my intention is not retrieval alone but adding the numbers in the refrenced cells. Any help will be greatly appreciated Oops I cannot post pictures at the moment but I hope the description of my headache will be understood from the th...
ادامه مطلب
I can't seem to access security tab for my drive E: in Windows 10. The one when you go to properties: I tried all recommended methods I could find online but they don't work for Windows 10. Any idea how Microsoft wants us to enable it now? ...
ادامه مطلب
I've installed Windows 7 32-bit(Ultimate SP1) & Windows 10 64-bit(Pro RTM) in the same laptop but in different partitions. But when I run dxdiag.exe(Run as admin. for sure) in both, Windows 7 retus Dx11, while Windows 10 retus Dx10. It's good to say my hardware supports Dx11. I've updated the graphics driver in both (Intel HD Graphics) but still no change. Let's block ads! بخوانید...
ادامه مطلب
i use ncrack for windows Ncrack syntax,how to run multiple IP's and add threads and waiting time? I use this ordinary syntax with no threads and no waiting time and ncrack rate up to 40 ncrack -vv -d7 -U users.txt -P pass1.txt -iL ips.txt -p rdp Now i try to use few threads and time using this syntax, i add 5 threads and 700 ms,ncrack rate 40,the same that means no effect So my question is:how to add multiple IPs, 5 threads and 700 ms waiting time ncrack -v -d7 -U users.txt -P pass1.txt -iL ...
ادامه مطلب
Is that possible? Would it be possible to simply run the 1600 MHz module on a slower speed (e.g. 1333 MHz)? ...
ادامه مطلب
I have a couple of DB servers that each run a RemoteApp that users launch to access said DB. The problem is that the application itself does not always exit gracefully when the user ends it, which leaves a remote session open and the user is unable to access said app again. What I am trying to create a script that would terminate any current existing connection to each specific server (i.e. Script A would terminate for RemoteApp A, Script B would terminate for RemoteApp B). Not sure if it adds a...
ادامه مطلب
I spend two days trying to compile my code with header as cross compiler for OpenWrt I am using LinksysWRT54GL, and mipsel architecture. I download the libpcap from OpenWrt and tried to generate the MakeFile using ./configure --prefix=$TOOLCHAIN --build=mipsel-openwrt-linux-gnu --host=mipsel-openwrt-linux-uclibc --with-pcap=null and I got this error when I ran make pcap-usb-linux.o: could not read symbols: File in wrong format collect2: ld retued 1 exit status make: *** [libpcap.so] Error 1 ...
ادامه مطلب
I am wanting to grep for 192.168.22.xxx and 192.168.23.xxx. with a single grep statement where xxx can be any number. I have tried grep -Eo '192.168.2[2][3].[0-9]{1,3}' and grep -Eo '173.235.2[2][3][.][0-9]{1,3}' But this does not retu anything. What is the correct regex I need to be using? Let's block ads! بخوانید...
ادامه مطلب
Few weeks back I tried tuing on my old PC as I wanted to use it as a spare Television. After tuing it on, I realized it was having blue screen problem, so I tried re-installing windows XP but installing in previous windows XP drive(C) failed as a result I installed windows in F drive. After successful installation I booted my new windows from dual boot and started wiping data from C drive, at first I tried formatting C drive which failed then I started deleting individual files from C drive. Dur...
ادامه مطلب
Why is my mac (Snow Leopard) asking me for installer changes (system.install.root.user) by itself? I do not recall doing anything to enable this. I feel like someone is trying to hack into my computer. I hope it is a false feeling. ...
ادامه مطلب
I've got problem with mapping network drive when I'm connected to VPN(use OpenVPN). I get this error: System error 1231 has occurred. The network location cannot be reached. For information about network troubleshooting, see Windows Help. I'm a newbie in this, so I don't know how to fix it. Can someone help me with that ? P.S.: Don't know exactly which informations should I mention. Let's block ads! بخوانید...
ادامه مطلب