Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 07/18/2018 in all areas

  1. 2 points
    vitor

    Web Search without HTTP links

    My version opens the page and then waits for it to finish loading before running the JS. I could have an extra check in place to guarantee the active tab is really that one, but in practice I doubt it’ll make a difference. I looked at the script tag and thought “nah, I don’t want to wade through javascript files to get the exact function”. It’s literally the first line! I’ve updated the previous link to use that solution. Thank you. Small technical note you may be interested in. To use that solution we have to change the way the JS is sent to Chrome. If we use execute({javascript: js_code}) it will execute our code but ignore the page’s, meaning it will fail to run getRooms(). The workaround is to instead url = 'javascript:' + js_code.
  2. 2 points
    snej

    Free memory

    There's no need to "free up memory" in a modern OS. The kernel manages RAM efficiently. What the 'purge' command does is flush filesystem buffers; this will actually slow down the OS for a little while because recently-used stuff that was cached in RAM for fast access is gone and has to be slowly loaded from disk again. As the man page for 'purge' says, "Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis." That is, it lets you reproduce the slowness of a cold-booted system. This isn't something you want to do in normal circumstances. I'm sure some people will insist this kind of thing really does speed up their computer, but I'm pretty sure that's the placebo effect talking. When my computer starts to feel slow, I open Activity Monitor and look for which process is either hogging the CPU or allocating huge amounts of private memory, then quit that process.
  3. 1 point
    Call top for an auto-updating list of processes, ordered by CPU usage. Type to filter by process name. On each process: ⌘↵ quits. ⌥↵ forcibly kills. ⌃↵ limits CPU usage. fn↵ lowers priority (increases niceness). ⇧↵ freezes. ↵ gives more granularity over the options. Download | Source
  4. 1 point
    vitor

    Web Search without HTTP links

    Welcome @FreeeG, The answer is “it depends on the website”. In this case what you type in the box is being sent to a PHP script that parses your request and sends the information back, at which point the webpage fits it in. When you’re sending your request directly to the PHP script, as in your example, you’re getting the raw information. There seems to be no simple way to do this by giving the browser a URL. A way to go about it is to tell the browser to open the page and then execute what needs to be done. Using JavaScript to write what you need on the search box isn’t enough because the page takes a while to detect it. What we can do is ignore the site’s search and do it ourselves, essentially loading the page, figuring out every element that doesn’t match what we want and hiding it. Like so (edited). I’ve made it work just in Chrome, as it seems to be the browser in your screenshots.
  5. 1 point
    deanishe

    Web Search without HTTP links

    You can't use a regular Alfred web search for this because the page is a JavaScript "app". The URL you've found is called via JavaScript and injects the result into the current page. Consequently, to achieve the result you want, you need to inject JavaScript into the page and execute it. Here's a demo workflow. It's smart enough to inject the JS into the correct tab, but it's hard-coded to Safari because I know how to do all this in Safari. You appear to be using some kind of Chrome browser, so I'll leave adapting it to Chrome as an exercise for the reader Mostly, you'll just need to change the code than injects/executes the JavaScript and point the workflow at the correct app.
  6. 1 point
    https://www.nulled.to/index.php?app=core&module=search&do=search&search_term={query}
  7. 1 point
    @Andrew & @deanishe - This is why Alfred is the best thing about using a Mac. You guys are the best! Thanks a ton!
  8. 1 point
    @deanishe for that to work, you'd need to make the JSON utility pass through {query} as the arg.
  9. 1 point
    @deanishe with the original download, just change the JSON config to: { "alfredworkflow" : { "arg" : "{clipboard}", "config" : { "matchmode" : 0, "matchstring" : "{var:find}", "replacestring" : "{var:replace}" } } } ... and it should work as expected.
  10. 1 point
    @shortbread that's nice. Can you create a PR with this? And I can publish this.
  11. 1 point
    I transcribed the shortcuts for Google Sheets, in case anyone wants them ! { "Google Sheets" : { "Select column" : "Ctrl + Space", "Select row" : "Shift + Space", "Select all" : "⌘ + a or ⌘ + Shift + Space", "Undo" : "⌘ + z", "Redo" : "⌘ + y or ⌘ + Shift + z or Fn + F4", "Find" : "⌘ + f", "Find and replace" : "⌘ + Shift + h", "Fill range" : "⌘ + Enter", "Fill down" : "⌘ + d", "Fill right" : "⌘ + r", "Save" : "⌘ + s", "Open" : "⌘ + o", "Print" : "⌘ + p", "Copy" : "⌘ + c", "Cut" : "⌘ + x", "Paste" : "⌘ + v", "Paste values only" : "⌘ + Shift + v", "Show common keyboard shortcuts" : "⌘ + /", "Compact controls" : "Ctrl + Shift + f", "Input tools on/off" : "⌘ + Shift + k", "Select input tools" : "⌘ + Option + Shift + k", "Bold" : "⌘ + b", "Underline" : "⌘ + u", "Italic" : "⌘ + i", "Strikethrough" : "Option + Shift + 5", "Center align" : "⌘ + Shift + e", "Left align" : "⌘ + Shift + l", "Right align" : "⌘ + Shift + r", "Apply top border" : "Option + Shift + 1", "Apply right border" : "Option + Shift + 2", "Apply bottom border" : "Option + Shift + 3", "Apply left border" : "Option + Shift + 4", "Remove borders" : "Option + Shift + 6", "Apply outer border" : "Option + Shift + 7 or ⌘ + Shift + 7", "Insert link" : "⌘ + k", "Insert time" : "⌘ + Shift + ;", "Insert date" : "⌘ + ;", "Insert date and time" : "⌘ + Option + Shift + ;", "Format as decimal" : "Ctrl + Shift + 1", "Format as time" : "Ctrl + Shift + 2", "Format as date" : "Ctrl + Shift + 3", "Format as currency" : "Ctrl + Shift + 4", "Format as percentage" : "Ctrl + Shift + 5", "Format as exponent" : "Ctrl + Shift + 6", "Clear formatting" : "⌘ + \\", "Move to beginning of row" : "Fn + Left arrow", "Move to beginning of sheet" : "⌘ + Fn + Left arrow", "Move to end of row" : "Fn + Right arrow", "Move to end of sheet" : "⌘ + Fn + Right arrow", "Scroll to active cell" : "⌘ + Backspace", "Move to next sheet" : "⌘ + Shift + Fn + Down arrow", "Move to previous sheet" : "⌘ + Shift + Fn + Up arrow", "Display list of sheets" : "Option + Shift + k", "Open hyperlink" : "Option + Enter", "Open Explore" : "Option + Shift + x", "Move focus out of spreadsheet" : "Ctrl + ⌘ + Shift + m", "Move to quicksum (when a range of cells is selected)" : "Option + Shift + q", "Move focus to popup (for links, bookmarks, and images)" : "holding Ctrl + ⌘, press e then p", "Open drop-down menu on filtered cell" : "Ctrl + ⌘ + r", "Open revision history" : "⌘ + Option + Shift + h", "Open chat inside the spreadsheet" : "Shift + Esc", "Close drawing editor" : "⌘ + Esc or Shift + Esc", "Insert/edit note" : "Shift + F2", "Insert/edit comment" : "⌘ + Option + m", "Open comment discussion thread" : "⌘ + Option + Shift + a", "Enter current comment" : "holding Ctrl + ⌘, press e then c", "Move to next comment" : "holding Ctrl + ⌘, press n then c", "Move to previous comment" : "holding Ctrl + ⌘, press p then c", "File menu" : "Ctrl + Option + f", "Edit menu" : "Ctrl + Option + e", "View menu" : "Ctrl + Option + v", "Insert menu" : "Ctrl + Option + i", "Format menu" : "Ctrl + Option + o", "Data menu" : "Ctrl + Option + d", "Tools menu" : "Ctrl + Option + t", "Open insert menu" : "⌘ + Option + = (with cells selected)", "Open delete menu" : "⌘ + Option + - (with cells selected)", "Form menu" : "Ctrl + Option + m", "Add-ons menu" : "Ctrl + Option + n", "Help menu" : "Ctrl + Option + h", "Accessibility menu" : "Ctrl + Option + a", "Sheet menu (copy, delete, and other sheet actions)" : "Option + Shift + s", "Context menu" : "⌘ + Shift + \\", "Insert rows above" : "⌘ + Option + = (with rows selected) OR Ctrl + Option + i, then r", "Insert rows below" : "Ctrl + Option + i, then b", "Insert columns to the left" : "⌘ + Option + = (with columns selected) OR Ctrl + Option + i, then c", "Insert columns to the right" : "Ctrl + Option + i, then o", "Delete rows" : "⌘ + Option + - (with rows selected) OR Ctrl + Option + e, then d", "Delete columns" : "⌘ + Option + - (with columns selected) OR Ctrl + Option + e, then e", "Hide row" : "⌘ + Option + 9", "Hide column" : "⌘ + Option + 0", "Group rows or columns" : "Option + Shift + Right arrow", "Ungroup rows or columns" : "Option + Shift + Left arrow", "Expand grouped rows or columns" : "Option + Shift + Down arrow ", "Collapse grouped rows or columns" : "Option + Shift + Up arrow ", "Show all formulas" : "Ctrl + ~", "Insert array formula" : "⌘ + Shift + Enter", "Collapse an expanded array formula" : "⌘ + e", "Show/hide formula help (when entering a formula)" : "Shift + Fn + F1", "Full/compact formula help (when entering a formula)" : "Fn + F1", "Absolute/relative references (when entering a formula)" : "Fn + F4", "Toggle formula result previews (when entering a formula)" : "Fn + F9", "Resize formula bar (move up or down)" : "Ctrl + Option + Up and Ctrl + Option + Down", "Turn on screen reader support" : "⌘ + Option + z", "Read column" : "⌘ + Option + Shift + c", "Read row" : "⌘ + Option + Shift + r" } }
  12. 1 point
    deanishe

    ZotQuery: an Alfred workflow for Zotero

    I've (finally) officially released v1.0. I added the "all" field to the search, @cands. Also a Snippet Trigger and better configuration handling. @Damoeire: If you'd like to spread the word now, that's cool. Please refer to the workflow's own thread, not this one (or better yet, its GitHub repo).
  13. 1 point
    Andrew

    Safari Bookmarks search doesn't work

    Safari bookmarks will now work in Beta 2 if you add Alfred to the macOS Security & Privacy prefs for allowing access to application data. I'll be looking into a way of making this automatic / more seamless in the future.
  14. 1 point
    happyhaeng

    Evernote Workflow 9 beta 3

    thank you for your great job
  15. 1 point
    Update (v1.5.1): Fixed typo in Mark as Completed action.
  16. 1 point
    Update (v1.5): Added ability to show to-dos in projects using the ⇧ modifier key. Fixed multiple issues for non-English locale.
  17. 1 point
    This is a beauty!
  18. 1 point
    GuiB

    Removing keywords in fallback searches?

    @.ed , I have updated the link in my post above. Just try again and it should work now
  19. 1 point
    Learn Anything This workflow lets you search for any topic on Learn Anything website. For more information, on how you can use the workflow, you can read the GitHub readme. Hope you like it. 💜 Code | Download
  20. 1 point
    Awesome, this works exactly like I wanted it to. Thanks for helping out with this!
  21. 1 point
    GuiB

    Removing keywords in fallback searches?

    @Jasondm007, sorry, I don't know what happened, but here is another try at uploading: https://nofile.io/f/RX05s5Z9c8o/Fallback+Search+-+Removed+Keyword.alfredworkflow -------- Edit: Make sure to add the Fallback Search to you Default Results Fallback Searches at : Alfred Preferences -> Default Results -> Setup fallback results -> + -> Workflow trigger -> Search Google for '{query}' (Removing keyword) or Search Google for '{query}' (Removing first word)
  22. 1 point
    @Diegobit I really like your theme -> using it for quite a few months now (light and dark). The only problem I have is every time I launch the Alfred search bar, I can't move it (= once invoked, its position is fixed). Is it a setting you have set, a bug? I used to use themes where I can move Alfred search bar, that is why I guess the problem is coming from your (lovely) theme. - Mac OS X 10.12.6. - Alfred 3 v3.5.1 (883)
  23. 1 point
    it doesn't work anymore on Alfred 3 Any help will be appreciated
  24. 1 point
    Vero

    Open Contacts App from Alfred

    Hi Jim, If you never want to open the contacts in Alfred, go to Alfred's Preferences, under Features > Contacts, just uncheck the box that says "Open Contacts in Alfred" and the contact will automatically open in the Contacts app itself. If alternatively, you just want to sometimes open in Contacts and sometimes in Alfred, leave the box above ticked. Instead of pressing the return key when you find your contact, do Cmd + O to open it in Contacts app Cheers, Vero
  25. 1 point
    JinnLynn

    Manage Synology Download Station

    Manage Synology Download Station directly from Alfred: view, create, pause, resume or delete tasks, and also can change some settings such as enable/disable eMule or enable/disable schedule. Download & Source Instructions UPDATE: 2013-04-13 Fixed: bt task missing2013-04-22 Fixed: session timeout error
×