How to find out whether item is updating in SharePoint designer workflow?
Did my workflow run on item changed or item creation?
Title vanishes when editing a question What if 'kill -9' does not work? I have a process I can't kill with kill -9 &lt;pid&gt;. What's the problem in such a case, especially since I am the owner of that process. I thought nothing could evade that kill option. remove numbers from filenames in Mac OS X I have a directory full of files with names in this format (with numbers as the start of each filename):  102_file.txt 104_list.txt 242_another_file.txt   I would like to rename them as follows (i.e. removing the numbers):  file.txt list.txt another_file.txt   Can anyone suggest a way to do this (presumably from the terminal)? Take a look on a website with specified viewport size, that is bigger than physical size? My display driver's maximum screen width is 1280 pixels.   I need to test a website with resolution 1920&times;1080 pixels. Or 3000&times;5000.   Different browsers is optional. I have a Lenovo Ideapad with pre-installed Windows 8.1 In order to install Ubuntu I disabled secure boot and changed boot mode from UEFI to Legacy. This allowed me to install Ubuntu and the grub loader is also showing an option to either boot into Windows or Ubuntu, but whenever I try booting to Windows it says Cannot load.  This happens because the boot order is set to Legacy mode and Windows 8 will boot only with UEFI. I am unable to access my BIOS from where I can change the boot order. I press F1/F2 on booting but it doesn't load the BIOS, and directly goes to the grub loader screen.  How can I make my Windows 8 run along with Ubuntu? Why does DMM show AC and DC current when source is a battery? (How to calculate power in this case?) The circuit is an altered Joule Thief of my design that is driven by an AA or AAA battery. I’m observing the current at the battery anode with my DMM in series. (Extech EX330) This circuit is extremely efficient (In relation to other Joule Thief I've build.) and does some weird stuff - like, it needs a pushbutton sometimes.    Measurements: It is drawing 9.21 mA DC and 6.48 mA AC in series with the battery. It shows 1.364 VDC and 0.010 VAC in parallel with the battery. Output on the LED is 2.572 VDC and 0.011 VAC with no measurable frequency. (with my DMM at least) All measurements are taken with the same configuration and voltage.    But how is it drawing AC and DC and how do I calculate power consumption? --> Could it be because the emitter pin of the NPN is directly connected to ground? --> Or is the circuit just "switching on and off"?     Download schematic:  (I tried to simulate the circuit in LTspice. Thanks for making me aware of this amazing program, Sredni Vashtar!)     What the pushbutton is used for: The pushbutton is used to "kickstart" the oscillation when it wont start by itself. For example: I have to manually "oscillate" using this button to start the circuit if the capacitor is too big and battery voltage is low. Pushing the button releases the energy in the transformer into the capacitor. If it reaches LED forward voltage the circuit keeps oscillating on it's own. It does work without manual intervention when then capacitor in parallel with the LED is not too big, like &lt;5000 µF, and it's a fresh battery.    . Thank you for your answers! I'm learning so much! :D For positive invertible operators $C\leq T$ on a Hilbert space, does it follow that $T^{-1}\leq C^{-1}$? Doing a little reading over the break (The Probabilistic Method by Alon and Spencer); can't come up with the solution for this seemingly simple (and perhaps even a little surprising?) result:     (A-S 1.6.3) Prove that for every two independent identically distributed real random variables $X$ and $Y$,   $$Pr[|X-Y| \leq 2] \leq 3 Pr[|X-Y| \leq 1].$$ Electorate badge rules? I just got the  badge on StackOverflow, which is nice, but I noticed a number of top users aren't yet listed (inluding Jon Skeet and Marc Gravell, who would certainly qualify).  This made me wonder how the badges are retrospectively applied. Is it just that the display is heavily cached and the badge is awarded when the user logs in again or something? Why we can't implement AES 512 key size? Can you connect to a LAN server without being on the same internet connection In the 3rd and 4th editions of D&amp;D, there were explicit rules for determining if a character knew anything about a monster before them.  In 3rd edition, for example, use of the  skill with a general DC of 10 + the monster's HD allowed for determining one fact, plus one fact per 5 points over the check.  Looking at the Intelligence section of the 5e PHB, I don't see any similar notation.  Does 5e provide any guidance as to when a player could use their out-of-game knowledge about a monster, or when the player might be told things their character would probably know in-game? Can you cast a 9th level spell if your multiclass spell slots have 9th level spell slots? I was just testing Eevee and found that you cannot view a glass object through another glass. Is there any workaround? It works fine only If I rotate the glass window or put my camera to the back side of the scene bash function cannot change the value of a local variable when called by $() The following code works differently depending on which way Parse_Short_Switches() is called.  After calling the function 'Parse_Short_Switches' by using result=$(Parse_Short_Switches), the value of $error_flag is NOT set to -1 as I would expect.  After calling the function 'Parse_Short_Switches' by simply using Parse_Short_Switches, the the value of $error_flag is set to -1 as I would expect.  Any help would be greatly appreciated.  Thanks  #!/bin/bash  function Parse_Short_Switches() { echo "error_flag inside of the function= $error_flag" 1&gt;&amp;2 error_flag="-1" echo "blah blah ..." }  # --- MAIN --- error_flag="999" echo "error_flag= $error_flag" #result=$(Parse_Short_Switches) Parse_Short_Switches echo "error_flag= $error_flag" Is it alright to use lowercase "i" or should you always use "I" (uppercase)? The computed moments of log normal distribution can be found . How to compute them? What is the difference between    a parameter passed by reference a parameter passed by value?   Could you give me some examples, please? The default PS1 variable on my machine (Kubuntu 13.10) is this:  \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$   I'm looking for a reference for how the $PS1 variable works that, at a minimum, allows me to understand the above PS1 variable. When to use a hyphen to coin a new word and when to omit a hyphen? Someone has asked for answer to these topics. However, I still want someone to provide me with simple and universal answers. I recently read a sentence from the English-speaking person. It is in an article. It is, ' The available options for mitigating pad cratering are not universally effective (see link below), but they may be helpful on a case by case basis until more crack resistant laminates are developed and become available.  '  If I am to write this, I will use 'a case-by-case basis until more crack-resistant laminates'   Can anyone tell me when to use a hyphen to coin a new word?