
Let's say you have a blog and have posts ordered by their published date. Later you decide you want to pin certain posts. Pied 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_pied', 'desc')->orderBy('published_at', 'desc'); This time ordered by a is_pied column then order by the published_at column. This will show the posts pied first and then show the posts in their published order. The Setup ...
ادامه مطلب
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 know and i will post it! Disk management img = https://s18.postimg.org/gflw73z3d/Untitled.jpg Let's block ads! بخوانید...
ادامه مطلب
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 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 in that position though, but it seems like it thinks my screen is 1440p on the side and it repositions things weirdly. I'm not sure how to better describe this. I'm hoping someone has had this problem ...
ادامه مطلب
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 isn't power all the time) I coect to the inteet, see the "coected" icon show and open a web page... ...however, I sometimes misjudge it slightly, and try to access a web page a second or two before ...
ادامه مطلب
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 caot 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 caot post pictures at the moment but I hope the description of my headache will be understood from the three points below: In I2, sum A2:D2 In J2, sum lowest 2 numbers in E2:H2 In K2, sum I2 and J2 Please note that the values in A2 to H2 are referenced from another sheet. Thanks in advance. Let's block ads! ...
ادامه مطلب
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 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 ips.txt CL=5,cd=700ms -p rdp I also tried this and i received :CL=5,cd=700 ms not suported so ignoring... ncrack -vv -d7 -U users.txt -P pass1.txt -iL ips.txt -p rdp,CL=5,cd=700ms Let's block ads! ...
ادامه مطلب
Is that possible? Would it be possible to simply run the 1600 MHz module on a slower speed (e.g. 1333 MHz)? ...
ادامه مطلب
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 Thans for all Let's block ads! بخوانید...
ادامه مطلب
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. During wiping I tued on visibility of system and hidden files and wiped everything from C drive (Including any files used for booting in C drive). Then after some minutes I restarted my windows. From tha...
ادامه مطلب
Please redirect me if I'm posting this question in the wrong place. Background: I'm currently ruing DD-WRT v3.0-r29519 std (04/25/16) on my TP-Link Archer AC1750. For QoS, I have HTP scheduling set up with a very simple set of rules defined in the DD-WRT GUI at */QoS.asp. I've searched through dozens of DD-WRT forum entries to try and understand this code, per the DD-WRT wiki page 1 17 * * * root /usr/sbin/svqos `nvram get wshaper_downlink` `nvram get wshaper_uplink` `get_wanface` `nvram get wan_mtu` 0 */6 1-17 * * * root /usr/sbin/svqos stop 0 `get_wanface` 0 0 I would like to enable my GUI-set QoS settings from 12 PM to 5 AM, and my guess is that the code would look like this 1 00 * * ...
ادامه مطلب
I cloned my existing 500 GB HDD to a new SanDisk 1 TB SSD (via CloneZilla). Now, I'm having trouble to get Windows booting again: SSD itself works fine, I can access it via Ubuntu (booted from USB) the SSD is NOT recognized by the BIOS if I go into the BIOS setup menu I then added a new partition to install Ubuntu as second OS on the disk, this works fine The Ubunto Bot Loader (Grub) shows Windows 7 as an Option When I Select this option, a flashing _ shows, similar to what is described in Windows 10 fails to boot after HDD clone to SSD When I boot from the Windows 7 DVD and select recovery, my Windows gets detected However, if I do "bootrec /RebuildBCD" or "bootrec /ScanOS" it does NOT find...
ادامه مطلب
4 days ago I brought a new Toshiba 1 TB HDD. I have installed windows 7 on this with a 100 GB partition on it. I also created 3 more partition on it which are 200 GB, 100 GB, 100 GB respectively. I keep remaining space unallocated. Yesterday I was wondering to create 2 more partition. So I open EaseUS partition master free edition and created 2 new partition which are 100 GB and 50 GB respectively {There Drive Letters is (G:) and (K:) respectively.}. I applied this operations. I exit from EaseUS partition master and shut down the PC. After an hour I stated my PC and again I open EaseUS partition master and click wipe data on drive (G:). EaseUS partition master deleted the partition and show ...
ادامه مطلب
I am using Samsung SSD 850 EVO 500 GB. Instead of installing a fresh copy of Windows 10 on it, an old image of the OS created from an old HHD was used I am worried this may affect the performance/age of the SSD. Which I understood is made to run on 4k bytes per sector. screenshots are on my laptop now after the migration to the ssd. Let's block ads! بخوانید...
ادامه مطلب
You are seeing it because a driveletter was assigned to it. From DiskManagement, rightclick the partition, and choose Change drive letter and path, and remove the drive letter. This drive is only containing the bootloader, and does not need to have a driveletter assigned to it. Let's block ads! (Why?)...
ادامه مطلب