Program which prints arch-latest news in console
is there a cli program aviable which can print out the latest news fom arch homepage? would be nice to run such a program b4 updates to realize if manual intervention is required
I currently get news announcements 3 or 4 times. Via the announce mails, announce feed and Planet Arch feed (maybe one more that escapes memory).
I quite like the idea of pacmatic, I wonder if I could get up to double figures.
Similar Messages
-
[SOLVED] Color Bash Prompt - Arch Latest News w/o description
Hi everybody, i'm trying to get the Arch Latest News in the bash profile when terminal starts. I followed the wiki https://wiki.archlinux.org/index.php/Co … s_at_logon and I can show the latest news without problems. What I want to do is to show only the titles and links, without description, that uses much space in the terminal. I tried to figure out what lines I should delete in the /etc/bash.bashrc file but.. you know the sintax is pretty obscure for the most of us (at least for me). I see that there is a description line.. but, really I can't manage this. How can I do this? Thanks in advance.
Last edited by crixus-ita (2013-01-17 13:42:43)Here's one way of doing it:
echo -e "$(echo $(curl --silent https://www.archlinux.org/feeds/news/ | sed -e '
:a;N;$!ba;s/\n/ /g') | \
sed -e 's/&/\&/g
s/<\|</</g
s/>\|>/>/g
s/<\/a>/£/g
s/href\=\"/§/g
s/<title>/\\n\\n\\n :: \\e[01;31m/g; s/<\/title>/\\e[00m ::\\n/g
s/<link>/ [ \\e[01;36m/g; s/<\/link>/\\e[00m ]/g
s/<description>/\\n\\n\\e[00;37m/g; s/<\/description>/\\e[00m\\n\\n/g
s/<p\( [^>]*\)\?>\|<br\s*\/\?>/\n/g
s/<b\( [^>]*\)\?>\|<strong\( [^>]*\)\?>/\\e[01;30m/g; s/<\/b>\|<\/strong>/\\e[00;37m/g
s/<i\( [^>]*\)\?>\|<em\( [^>]*\)\?>/\\e[41;37m/g; s/<\/i>\|<\/em>/\\e[00;37m/g
s/<u\( [^>]*\)\?>/\\e[4;37m/g; s/<\/u>/\\e[00;37m/g
s/<code\( [^>]*\)\?>/\\e[00m/g; s/<\/code>/\\e[00;37m/g
s/<a[^§|t]*§\([^\"]*\)\"[^>]*>\([^£]*\)[^£]*£/\\e[01;31m\2\\e[00;37m \\e[01;34m[\\e[00;37m \\e[04m\1\\e[00;37m\\e[01;34m ]\\e[00;37m/g
s/<li\( [^>]*\)\?>/\n \\e[01;34m*\\e[00;37m /g
s/<!\[CDATA\[\|\]\]>//g
s/\|>\s*<//g
s/ *<[^>]\+> */ /g
s/[<>£§]//g
')\n\n" | grep -E "^( :| \[)";
The change is the addition of the grep command at the very end. -
So I am new to Muse, and my Adobe Cloud has 2 different programs from Muse... how do I know which one is the newer better version?
One Must program (Muse CC 2014.2) has a black background when working on it... it looks like other Adobe programs such as Photoshop.
The other one is light color (Muse CC) very similar to the black color Muse on functions.....
One of the difference I notice is that the light color Muse has a few widgets in the library, while the black background Muse seems to have an empty library
So... why are there 2 different Muse programs in my Adobe Cloud?Hi
The latest version of Muse is 2014.2, so you need to uninstall another version of Muse manually.
regarding the items in Library, you can add items in your library manually, as shown in this article
Adobe Muse Help | Organizing and reusing design elements using Library panel
Please let me know if you have any other query. -
I have Photoshop Elements 9 on an iMac with OS 10.6.8. I bought a new printer/scanner and the program will not import the new scanner to replace the old one. How do I do this?
Thank you for your suggestions. I downloaded a more recent version of Twain, but this didn't help. I also tried closing and opening Photo Shop and restarting my computer without success. Reinstalling Photo Shop sounds like a very promising solution, but I'm not sure I will do it. In the meantime I can scan items using a printer program. These scans open in Photo Shop. It is an extra step.
-
I print a PDF. I want it to save, no matter which program I print from, to my hard drive. How do I do this?
Hi print to file default,
Please forgive me, but I'm not sure I follow what you're trying to do. Are you trying to print a PDF to PostScript (that's typically what "print to file" refers to). Or, are you simply creating PDF files, and you want them to save to you hard disk? I'm not sure why you would want to print a PDF file "to file."
Are you perhaps using the Create PDF Desktop printer, which automatically saves files to your Acrobat.com online account? (If so, please be aware that Create PDF Desktop printer will be retiring shortly. Please see Adobe CreatePDF Desktop Printer is no longer available.)
Please help me understand what you're trying to achieve, and we'll get this sorted out.
Best,
Sara -
i have printers at home and work. i need help programing my macbook print utility so computer knows which printer to use depending on where i am. thanks
Look for cloud solutions such as DropBox, OneDrive, SugarSync or others. They are all cloud based services that sync documents between computers via the cloud. Of course another solution is simply a flash drive formatted in exFat so that Macs and Windows computers can read it.
-
Photoshop CS4 won't print on a new Canon Pixma Pro 10 - Mac Yosemite -
New Epson Pixma Pro 10. Printer works well with other applications, but just sends out blank pages when printing from Adobe Photoshop CS4. Canon suggested I use their plug, Print Studio Pro, and this worked with a file with layered images and text. However, it would not work with a file that had 3 text layers (two of which were hidden) unless I flattened the image. According to Canon, the plug in is supposed to work only with jpegs, but it did work with psd and tifs (when flattened). Any ideas on how I can get it to work directly from Photoshop.
Oletimer wrote:
Thanks for your help - I did find and download the Photoshop update to 11.0.2 and went to the Yosemite developer page you mentioned and do not see how to download the update, so I guess I will just have to wait for that to be released.
That's fine, you should do OK with Yosemite 10.10.1.
I'm glad you found the CS4 11.0.2 update. I nearly hit the roof when I read another post of yours with the "suite auto updates" nonsense after I had explained to you why one cannot rely on Adobes utterly useless auto updaters.
The hapless Adobe auto updater team in India began to get their act together only as of the CS6 updates, but they are back to their unparalleled incompetence in CC and CC2014.
In case you missed it, here's the link to the latest Canon Printer Drivers v3.1 for OS X from Apple, available to the general public, which sounds a lot newer than what you have. There's no reason for you to stick to "Print Studio 1.3.6" whatever that may be.
Canon Printer Drivers v3.1 for OS X
Let me know if you make any progress with your issue. -
Standard program to print Customer Invoice with G/L lines
Hello All,
Requirement is as follows : -
1) We are trying to print the FI customer invoice through correspondence (Transaction Code F.61)
Standard driver program RFKORD50 and SAPscript F140_DOCU_EXC_01 are provided for the invoice printing.
2) Standard driver program currently prints either the customer line items / the vendor line items in the invoice.
3) Requirement is that we need to print the G/L line items on the form, instead of customer or vendor line item.
4) Client wants to go ahead with standard program only and is not ready for custom driver program or enhancments in the system.
5) So is there any standard driver program and script which prints the G/L line items in the customer invoice.
Thanks in advance.
Regards,
Rinkesh DoshiHi,
I don't know standard script for G/L line items,but your client requirement is not to change the standard one.My suggestion is to create a standard text.By Using subroutine pool ,save the line items data(internal table ) into standard text after that include the standard text into your sap script form.
just go through this <link to blocked site removed by moderator>
Thanks and regards
Naresh Bammidi
Edited by: Thomas Zloch on Dec 15, 2011 9:16 PM -
An article in the New York Times yesterday told how to remove unwanted fonts from the Font Book. I followed its instructions (the same as those on the webpage "support.apple.com/kb/ht2509") and was NOT successful in removing fonts. Despite what the newspaper article and the web page stated, my attempts to remove fonts were unsuccessful. I use perhaps 15-20 of the hundreds and hundreds of fonts, and deleting those I don't use would make choosing a font a lot faster. I called support and was told not to try to remove any fonts which I myself had not added to the list(I have not added any) as doing so could cause significant problems elsewhere. The support tech suggested that there might be independent software programs which would keep at the top of the list those fonts I have used, which sure would speed up the process of selecting a font. Anyone know of such a program, or how to safely alter the font list Thanks.
I just spoke again to tech support and this time an answer was provided that works! Choose the font you want to use, drag it to the left, and a new "unnamed" folder will appear. Continue to drag into that folder fonts you want to use. You can click onto that folder to change its name. Then when using font book merely click on that folder to open it and select the font wanted. This tech rep also confirmed that you should NOT try to delete individual fonts as they are part of the basic operating system; he did confirm that the apple web page in parentheses above says otherwise, and will refer that to higher ups to see about removing or modifying that page.
-
How to connect my hp all in one printer to a new wifi hub?
i have a printer all in one and its abiut 3 years old ! we desperately need to print off some documents but are rrally struggleing. we have not used the printer for a long time and since the last use we have got a new wifi hub and new computers all of which are windows 8! i have 2 questions firstly the most important being - can you setup a hp all in one printer onto a windows 8 laptop? and secondly how do we connect our printer to a new wifi hub?
if it is possible to setup the printer onto a windows 8 pc how do we do it?
thanks, lucyPlease provide the following relevant information so someone can help including:
Printer Model -
Detailed Problem Description -
Operating System of computer (including service pack revision) -
Connection Method - USB, Hardwired LAN, Wireless? -
Make and model of router and modem? -
Error messages - on printer screen and/or computer, any blinking light patterns.
If wireless, status of Blue Wireless light on printer, on, off or blinking? -
Say thanks by clicking the Kudos Thumbs Up to the right in the post.
If my post resolved your problem, please mark it as an Accepted Solution ...
I worked for HP but now I'm retired! -
I have a wirless network. I connect all my computers to it and a printer. I can print wirelessly from all computers. I tried to add the printer to my new Macbook, which is connecte to the network, but can't find the printer on the add printer and scan icon on preferences. I downloaded a installation printer utility from the Manufacturer (lexmark), but it didn't work. Any sugestions?
Thanks,
IvetteYou would need to get the IP address of your printer then manually add a network print queue.
To get the IP address, on the control panel of your printer, press on Setup > Network Setup > TCP/IP > View/Set IP address. -
Connecting Printer to a new Wireless network (changed network provider)
I have recently changed broadband provider and I am struggling to connect my printer (HP Deskjet 3050A All in One Printer) to my new wireless network.
I have clicked on HP within programs and tried to set up the printer but my laptop is not recgonising that the printer is connected via the cable so its not picking up the printer in order for me to set it up as a new device.
Help please??jwatson84
Welcome to the HP Community Forum.
The easiest way to deal with this may be to install (reinstall) the Full Feature Software for the printer onto your computer.
The installation procedure includes a connection process that might resolve the issue for you without adding any more stress to the situation.
Along with the basic instructions and install videos, you can find lots of helpful Troubleshooting / Howto help at the printer's website support pages.
TIP: You do want to disconnect the USB cable from the printer before you install / reinstall the software.
General Instructions to Install the Printer Software
Reminder:
In most cases, the Solution Center has been replaced by the Printer Assistant.
The Printer Assistant shortcut will be installed on your Desktop during the last part of the installation.
Windows Operating System:
Create Restore Point: Create a Restore Point – Win7 OR Create a restore point Win8
Open HP Drivers & Downloads
Enter your Printer Model information
Select your Printer from the “Results” list
OR
Open HP Deskjet 3050A e-All-in-One Printer series - J611
Select your Printer from the “Results” list
Enter your Operating System in the Drop-down menu
Click NEXT and Scroll down
Look for category Driver - Product Installation Software
Select the Basic Driver, e-print, or Full Feature Software
Save the *.exe installation package(s) on your computer
The file(s) will likely save to the "Downloads “folder.
Be sure to look for Updates as needed for your installation. If available, you may download the Print and Scan Doctor and / or other programs from Category – Utilities.
If you have ‘Admin’ control, you may highlight the package and “double-click” to install it, else Right-Click, Select run as Administrator and install.
NOTES:
Look at the bottom half of the main webpage for your printer for helpful videos to assist with the installation of the printer software!
Scroll the video list back and forth until you find the video that most closely matches your situation.
If using a USB connection: Download and install the driver software before connecting a USB cable.
Ethernet: Connect the printer to the network and (Optional) assign the printer an IP address at the router. Once the printer is connected to the network, be sure the printer is switched on and then install the printer software.
After the initial installation is complete and working, check / install Category - Update
There is valuable information at the support website, including sections for Manuals, Troubleshooting > How-to, Troubleshooting > Solve a Problem, plus alerts and notifications for your printer. Be sure to take an extended look at what is available. Bookmark the page.
Click the Kudos Thumbs-Up to show you appreciate the help and time from our Experts.
Although I strive to reflect HP's best practices, I do not work for HP.
Click Accept as Solution when the Answer is a good Fix or Workaround!
Kind Regards,
Dragon-Fur -
Print data at new line in SAP Scripts
Hi,
Is there any way that i can print data at new line in sap scripts. I am looping my data and its printing in the same line but i need to print it at new line. Is there any formating options or any command to do that.
ThanksThan you must take all the values from the internal table into the different variables and than print them.
In program:
READ TABLE ITAB INTO WA_TAB INDEX 1.
IF SY-SUBRC = 0.
VAR1 = WA_TAB-FIELD1.
ENDIF.
* read all the lines and fill the VAR variables
In SAPScript:
/E LINE_VAR
/P &VAR1&
/P &VAR2&
/P &VAR3&
/P &VAR4&
Regards,
Naimesh Patel -
Program at print button in 'Issue output to'
Hello Experts,
There is an existing output X which triggers only when output BA00 is printed from the print button in the pop up of sales order when you go to 'Isssue output to'
When trying to process the sales order output BA00 throu standard program SD70AV1A, the output X is not triggered.
Now, we have a requirement to process BA00 from another interface where we are using SD70AV1A, but output X is not triggering in this case.
So, please suggest a way through which we can use the program at print button in this requirement.
Thanks in advance.
ParitoshHello Max,
Thanks for your reply
BA00 is printed by program, no issues there. But, there is a requirement on other output X(medium 5) , that it should process immediately along with BA00, which is not happening with this program SD70AV1A.
Paritosh -
How to reopen window in a program which runs in background
Hello,
I created a program, which runs in the background(when you start it, doesn't open a window). It has a notify icon and by double click opens a window. I open the window with ShowDialog() method. After I close it, I cannot reopen it. It says: "Cannot
set Visibility or call Show or ShowDialog after window has closed". What should I do?
Thanks!When you say you can't re-open it.
Exactly what are you doing to show and hide it?
And what do you do to show it again?
Actually, I can probably guess roughly what you're doing.
Are you trying to show a window you closed without instantiating it again?
Are you effectively doing something like:
Window win = new MainWindow();
win.Show(); ....
win.Close();
win.Show();
Because you should do
Window win = new MainWindow();
win.Show();...
win.Hide();
win.Show();
Once you close it, that's it you're done with that window. It's on the garbage heap waiting for the garbage collector to come along and recycle it.
It is no more.
Either hide() rather than close() or instantiate a new object each time.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML
Maybe you are looking for
-
How can I place text from an external file as an updatable link?
Currently we create presentation documents InDesign. Each presentation page is a linked Illustrator file (the file contains drawings and description texts). We write the text in Illustrator instead of over it in InDesign because multiple designers/wr
-
Help with spry menu bar in liquid layout
I need help getting a spry menu bar with a 6-item list to stay in place in a liquid layout. Trying to get it horizontally under the header image. I am new to web design (new to html and code: reading books, searching web, and doing tutorials for ma
-
HT2534 I didnt find (None) Option in the Payment Details List
Require help
-
Macbook Pro Running Slowly - Time for a Clean Reinstall?
This was recommended to be spun off into its own topic: I have a 2.5-ish year old MBP that has been running like a dog lately. I did copy my home folder over from my iMac when I migrated and updated from Tiger to Leopard (so the home folder is probab
-
Can Destination Folder be part of a Preset script?
Is it possible, from within a Preset script, to select the option to "Move to another folder" and select the destination folder as part of the Preset script? In other words, when I select a Preset, there would be no need for me to then select "Move t