Way to change slack status automatically at regular intervals? - slack-api

I'd like my slack status to change automatically and randomly every half hour, but I don't know how to make something that would do that for me. Can someone recommend a tool for smallscale personal web automation?

Related

How twitter updates retweets and favorites without refreshing the page

Does anyone who use the current version of twitter right now know what they used to update retweets and favorites without having the user refresh the page? Or does anyone at least know how i can do this with swift? Would think be possibly by using ajax on the backend?
There are a couple of ways to get that working. You can run an script that every second hits an url and gets the new retweets and stats, and updates the info on the page.
There is something about a relatively new technology called WebRTC, that provides a different way to connect two devices through the web (RTC stands for Real Time Communication).
Of course, you can use some ready plugins, or maybe some frameworks that are proper to do that work, with no pain, but the ideal is that you know how these things works under the hood first.
I hope I've helped.

Slack integration for alarms or alerts

I am new to Slack. I can't find any integrations for an "alarm clock"-type integration, as explained below.
What I'm looking for is a reminder to post to one of our Slack channels on a set schedule. For instance: each weekday at 9 AM, our #bug-fix channel gets a message like "do your bug fix XYZ thing."
I've searched Slack's integrations page but can't find anything that does this. Can anyone recommend an integration like this, or point me to a resource where I might be able to find one?
Many thanks in advance.
EDIT: I've found an IFTTT recipe that looks promising, which I'll share here in case any one else has this same question:
https://ifttt.com/recipes/177138-post-a-daily-reminder-to-a-slack-channel
However, I don't know the Slack integrations ecosystem well. Other suggestions would be appreciated.
Just type this in Slack:
/remind #bug-fix to do your bug fix XYZ thing. every weekday at 9am
Setting reminders in Slack
I am not sure if you are looking for a generalizable alarm clock with static messages, or something custom. You can use Incoming Web Hooks to write your own custom integration. Create a simple script that you schedule as a cron job to run at 9am. If it's a weekend, your script can exit, otherwise it can grab the data it needs to post (from whatever criteria you want in your bug tracking system, or wherever) and send it to your Slack channel. If you search GitHub for "slack webhook" you will find examples for every language of sending a message to Slack. They make it very easy to send messages to a channel.

HOW TO SCHEDULE TWITTER POST VIA t command line (by Sferik)

Recently i installed t-command-line (twitter client) by Sferik.
It's a twitter client that based on command line.
I wanna ask, how can i schedule a post/tweet with t-command-line? But, i want it works like tweetdeck scheduler.
So i can post, for example, "abcdefghijklmn" at 09:00, but it will appear in my timeline at 12:00.
I know, it can be done with crontab. But with crontab, according to above example, you must be online at 12:00. I want "buffer style", like tweetdeck.
Is there anyone out there can solve this problem?? Thanks..
You can't schedule tweets in sferik/t but you may want to take a look at this: http://www.programmableweb.com/api/buffer

Gem for creating a left/right scrollable notification viewer for web app?

I'm new to Ruby on Rails so please bear with me.
I'm creating a web app for users to trade cards and would like to include in the user's home page a notification section that shows relevant alerts for the user based on possible trade matches and other things like new messages. The functionality would require alerts to be generated based on certain triggers (userB accepts trade, trade is proposed to userA, userB messages userA, and possibly even incorporate sponsored posts). This will basically function like the "notification center" on iOS.
I've made a quick mockup: http://i.imgur.com/hQ3Fc.jpg (or if that's too big --> http://imgur.com/hQ3Fc) -- wouldn't let me embed image because I'm new :(
So the idea is the view will probably have 5-15 alerts at any given time (give or take) and can scroll through them using those left/right arrows. The alerts will be a basic message with a link to the relevant page, or for something like a trade rating have the message "open" to fill the viewer and show the necessary functionality.
Hopefully I explained this okay. Anyone know anything out there that might make building this easier? Please let me know if there is any info I missed in asking this?
Not sure I get exactly what your wanting to do but if I understand correctly this may help. I have used swipe.js it is easy to use, should get you started on a swipeable/scrollable interface.

Receive notification when site server adds page

I've been doing some programming off and on for my brother, who is a stock trader. I'm wondering if it is possible to receive a push notification when a site server adds a page. For example, the site smallcapfortunes.com frequently adds pages that are simple extensions off the main URL. For example, the site regularly adds pages under URLs such as /neca/, /stev/, etc.
Are there existing methods to execute this? Or is this something I need to write myself? Has anyone here written anything like that?
I know there are existing sites to track basic updates to a single page. In my research, though, I haven't found anything like this.
Please let me know if there are any other details I need to provide.
Generally you can only get a push notification if a specific website offers that service.
Some websites publish a structured (XML) site map. If the one you're interested in does that, you could pull that sitemap on a regular basis and look for differences.
you're most likely going to want to use http://scrapy.org/ to go through the site and find new /neca/ and /stev/ urls, etc, then just trigger the script every so often.

Resources