Recent Questions

متن مرتبط با «can't use earbuds» در سایت Recent Questions نوشته شده است

Use PHP to generate table of contents from heading tags

  • نیلوبلاگ

    I wanted to create a table of contents from the post's heading tags automatically without having to change the headings like adding an id or anchor. I started to look at existing solutions and came across this custom function on Stackoverflow by sjaak-wish function generateIndex($html) { preg_match_all('/<h([1-6])*[^>]*>(.*?)</h[1-6]>/',$html,$matches); $index = "<ul>"; $prev = 2; foreach ($matches[0] as $i => $match){ $curr = $matches[1][$i]; $text = strip_tags($matches[2][$i]); $slug = strtolower(str_replace("--","-",preg_replace('/[^da-z]/i', '-', $text))); $anchor = '<a name="'.$slug.'">'.$...

    ادامه مطلب
  • Why Can't I Make Up Any Domain I Want? Is There a Way to Do Away with a Registrar Altogether?

  • نیلوبلاگ

    I was asked by a visitor why he couldn't dispense with a registrar and just make up any domain name he wanted. You may be surprised to hear that you can actually do that. But it won't do you any good....

    ادامه مطلب
  • How to Use Small Capital Letters for Lowercase and Large Capital Letters for Uppercase (CSS)

  • نیلوبلاگ

    This article answers a question from a visitor on how to display a sentence so that small (lowercase) letters are shown in capital letters, but have a height shorter than the actual capital (uppercase) letters....

    ادامه مطلب
  • Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

  • نیلوبلاگ

    I try to set a root password as follows: mysqladmin -u root password "root"; Then I make a coection to my MySQL server, the following command: mysql -u root -p Enter password: **** enter image description here ...

    ادامه مطلب
  • Can a faulty graphics card cause OS corruption?

  • نیلوبلاگ

    I have a machine that has been damaged by some careless couriers, and want to replace the damage parts efficiently. I have limited opportunities to test components in other computers, so I'm trying to find out what is broken in other ways. I have two main issues: Graphical artifacts. These take the form of small grid-aligned squares which usually appear and then flicker form position to position. If the display driver doesn't crash, they often settle down to a final position, and sometimes the contents of the squares itself changes. This says to me that VRAM is being corrupted. Occasionally there are other artifacts, like polygon spikes, in games. This is affected by physically pushing on t...

    ادامه مطلب
  • SLOW CIFS/SMB file transfer for authenticated users

  • نیلوبلاگ

    How to configure CIFS that local and domain users have fast transfer speeds? I do have massive performance issues using CIFS / SMB / Samba in combination with users. It's independent from Active Directory (AD) being enabled or disabled. Local as well as domain users transfer data really slow. There as guest user is fine. However I'm not able to figure out that causes the bottleneck for authenticated users? And how to configure samba to avoid the problem? CIFS / SMB Transfer Speeds User ----------- write ------------ read Root ---------- 21.3MB/s -------- 21.8MB/s Domain -------- 19.7MB/s -------- 19.4MB/s Guest----------105.1MB/s ------- 101.2MB/s (Root via AFP 109.7MB/s ------- 108.9MB/s)...

    ادامه مطلب
  • Mouse & Keyboard On Screen Displayer for OSX El Capitan?

  • نیلوبلاگ

    Nowadays in my classroom I show video tutorials that I made for my students related to CG-apps, Excel, etc. using a utility that shows keyboard and mouse combinations named Moukey. for some cases like on a projector in the classroom it doesn't detect my Windows 10 and I don't want to call the technician. Also, I mostly like using OSX (of my dual boot MAC), sometimes and I'm looking for an OSX El Capitan version of this Key and Mouse Stroke Displayer. In conclusion, I'm looking for an OSX Version that can display mouse and Keyboard keystrokes/combinations with mode signs similar to Moukey. If it exists please give me the name of it so that I can search it in iTunes apps. Let's block ads! بخوا...

    ادامه مطلب
  • using command prompt how can i change my gmail username on my local account back to microsoft

  • نیلوبلاگ

    Using command prompt, how can I change my Gmail address useame on my local account back to Microsoft. It doesn't let me sign in. You see my Gmail address but when I put my password in, it said to change my Microsoft password to sign in. But it's not a Microsoft account. Somehow I ended up with my Gmail address as my sign in local account. I also don't see the option of changing my useame. I can only sign in as a built-in administrative. Let's block ads! بخوانید...

    ادامه مطلب
  • How to get MS Word to use footnote citations instead of inline citations?

  • نیلوبلاگ

    I am preparing a sizable document in Microsoft Word 2013, and I want to use the MS Word functionality for references. Imagine I have a book that the bibliography, Chicago Style, looks like this: Fletch, Fletch F. 1985. *Important Quotes.* Los Angeles: Fake Publisher. I want to do a footnote citation automatically with MS word. It should look like this one that I entered manually: However, when I click "Insert Footnote" then "Insert Citation", it just sticks an inline-citation in the footnote. Very ugly, and it does not conform to the Chicago Manual of Style: Is it possible to change the format of the "Insert Citation" function in MS Word to use Footnote citation style instead of inline ...

    ادامه مطلب
  • How are local ports determined and how can I force it to use a specific port

  • نیلوبلاگ

    How are local ports determined The port number is chosen by the TCP implementation software from a range of port numbers called Ephemeral Ports. The exact mechanism for choosing the port number and the range to be used is Operating System dependent. Is there a way of forcing it to be 63999. Not without reprogramming the TCP implementation software. The Ephemeral Port Range A TCP/IPv4 coection consists of two endpoints, and each endpoint consists of an IP address and a port number. Therefore, when a client user coects to a server computer, an established coection can be thought of as the 4-tuple of (server IP, server port, client IP, client port). Usually three of the four are readily known ...

    ادامه مطلب
  • Can't establish a ROS2 network

  • نیلوبلاگ

    I'm starting working with ROS2 (currently in alpha7 state). For this I build up a small network with an Raspberry Pi (Raspbian Jessie) coected to an router via LAN and an host PC (Ubuntu Gnome 16.04) coected to the same router via WLAN. Inside the host are some virtual machines (using VirtualBox) installed with Debian Jessie and coected via a bridged network (wlp4s0). I can also use ping, ssh and scp between all my machines (Rasp, Host, VMs). I found that the Rasp doesn't coect to the VM's but the VM's are in contact to each other. So I can send messages between the VM's. But a talker-listener-coection between the Rasp and the VM's doesn't work. Can anyone give me some suggestions to find ou...

    ادامه مطلب
  • Is a 22 core CPU suitable for multi-user PCs?

  • نیلوبلاگ

    And if yes, how can one set certain sets of cores (different in quantity) to different users? ...

    ادامه مطلب
  • Postfix issue : iptables rules and can't receive email from outside

  • نیلوبلاگ

    My Postfix server was working fine until last days but now, I can't receive emails from outside (I mean with an email of different domain name like gmail for example). I must make notice that I can send email from the server to gmail. From what I have seen, I think that issue may be my iptables rules : # iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere ACCEPT tcp -- anywhere anywhere tcp dpt...

    ادامه مطلب
  • Allow user to login to a remote desktop without having a local account

  • نیلوبلاگ

    I have a VM with Remote Desktop access enabled. It runs a regular Windows 8.1 Pro setup. I want to be able to login on my laptop without having to create and login to a local account before I can do that. The laptop has Windows 8.1 Pro installed. Basically when I tu on my laptop I want to enable a screen with IP/Computer, Useame and Password. I would then use the VM RDP settings to login. Is that possible? I'm just a desktop user I don't have AD, a Windows server or anything like that configured. Let's block ads! بخوانید...

    ادامه مطلب
  • Website is unreachable because of Status Code:429 Too Many Requests. What should I do?

  • نیلوبلاگ

    My site http://iosre.com is built upon discourse. It remains unreachable after setting up fail2ban. I've asked the question on their official forum, but their staff said it may be a general server problem and suggested superuser. I guess my website may be under attack, but since I'm not a server expert, I have no idea what to do the fix or track down the problem. Any ideas? Thanks! Let's block ads! بخوانید...

    ادامه مطلب
  • Can I use a 1600 MHz DDR3 stick on a motherboard that supports max 1333 MHz memory modules?

  • نیلوبلاگ

    Is that possible? Would it be possible to simply run the 1600 MHz module on a slower speed (e.g. 1333 MHz)? ...

    ادامه مطلب
  • Switching users of same group in linux

  • نیلوبلاگ

    My environment is like: I have two users 'user1' and 'user2' both are in same group(say group name is 'abc') in server 'server1'. Now I have another server 'server2' which have user 'user2'. user2 in both the servers are exchanged their public keys (I mean to say authentication configured properly). Now requirement is like : I have to perform a copy operation on server2 (both source and destination folders are in server2 only) from server1 as user2(because identity file configuration done successfully as said above), but currently I have loggedin as user1, user1 doesn't have permissions to use 'su' to switch to user2 (not only user1 all users belongs 'abc' group are don't have permi...

    ادامه مطلب
  • Script for users end remote session

  • نیلوبلاگ

    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 coection 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 an extra complication but the users are all working in a Remote Desktop environment (i.e. user coects to RDS1 or RDS2 and then launch RemoteApps to DB1, DB2 etc. from there). All servers are ruing Window...

    ادامه مطلب
  • Windows 10 Storage Spaces - Can't Access Drives

  • نیلوبلاگ

    This is a difficult issue to Google. I recently set up a Storage Space (3x 4TB) in Windows 10 and it worked as expected. No parity (Simple) as it’s only for backups. I then added another independent drive (1x 4TB) to the PC and in the process of trying to get Windows to recognise it I probably booted up with only 2/3 of my pool drives coected. Even with all three now coected; I now have no visible pool shown in Storage Spaces. This is fine - I'm happy to start again as it's only for backups - but the issue is Windows won't recognise any of the three drives (the new, non-pool drive is recognised) so I can’t format them and start again. I can see all three drives in the BIOS, but not in Window...

    ادامه مطلب
  • Can't filter journalctl for user service

  • نیلوبلاگ

    I created the follwing service file in ~/.config/systemd/user to backup my work data when I'm logged in at work. [Unit] Description=Backup Work Related Files [Service] Type=oneshot ExecStartPre=/usr/bin/ping -c 1 -W 1 xxx ExecStart=/usr/bin/rsync -avzuhH --progress --delete --exclude=.Trash-1000 /some/folder/ xxx@xxx:Documents/backup ExecStart=/usr/bin/rsync -avzuhH --progress file xxx@xxx:Documents/backup/file I can find the service with systemctl --user list-unit-files and I can also start the servive with systemctl --user start backup_work.service. For some reason though I can't see the logs for this service with joualctl --user -u backup_work.service. I see the logs of rsync and ping...

    ادامه مطلب
  • برچسب‌های مرتبط

    error 1045 mysql 28000 | error 1045 sqlstate 28000 | error 1045 mysql 28000 windows | error 1045 mysql 28000 root | error 1045 mysql 28000 linux | error 1045 mysql 28000 ubuntu | sql error 1045 sqlstate 28000 | sql error 1045 sqlstate 28000 hibernate | can a faulty alternator damage a battery | can a faulty psu cause freezing