All posts by PF

ERROR 502 – connect() to unix:/var/run/php5-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream

 

2015/11/24 12:01:49 [error] 48055#0: *14094117 connect() to unix:/var/run/php5-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client:

Once again, i’m struggling with nginx + php-fpm

sudo nano /etc/php5/fpm/pool.d/www.conf

search for

listen = /var/run/php5-fpm.sock

and replace it for

listen = 127.0.0.1:7777

On the *.conf files of sites-enabled (/etc/nginx/sites-enabled/)

replace (or comment)

fastcgi_pass unix:/var/run/php5-fpm.sock;

with

fastcgi_pass 127.0.0.1:7777;

More readings

instagram – html link to open on instagram

  • link to open instagram app
    <a href = “instagram://app”>open instagram</a>
  • link to open instagram on camera mode
    <a href = “instagram://camera”>open instagram on camera mode</a>
  • link to open instagram on a mobile device library
    <a href = “instagram://library”>open instagram on device’s library</a>

 

  • link to open instagram on a user’s profile
    <a href = “instagram://user?username=pjrfigueiredo”>pjrfigueiredo profile</a>

 

Continue reading instagram – html link to open on instagram

Instagram API new rules

1447863625_Instagram

Instagram Platform and documentation update. Apps created on or after Nov 17, 2015 will start in Sandbox Mode and function on newly updated API rate-limits and behaviors. Prior to going Live, and being able to be used by people other than the developers of the app, these apps will have to go through a new review process. Please read the API documentation or the Change Log for more details.

Any app created before Nov 17, 2015 will continue to function until June 2016. After June 2016, the app will automatically be moved to Sandbox Mode if it wasn’t approved through the review process. The previous version of our documentation is stil available here.

Source: http://www.instagram.com/developer/

MacRumors

Instagram has instituted much stricter rules for accessing its API, effectively killing off a large number of apps that read Instagram feeds.

Source: http://www.macrumors.com/2015/11/17/instagram-new-api-changes/

Related links

http://developers.instagram.com/post/133424514006/instagram-platform-update
http://stackoverflow.com/questions/tagged/instagram http://www.macrumors.com/2015/11/10/malicious-instaagent-instagram-app/
icon: https://www.iconfinder.com/tahsintahil

 

Packages 404 Not Found [IP: 192.241.164.26 80]

Whatz uppppp digitalocean?

Err http://mirrors.digitalocean.com trusty-updates/main amd64 Packages
 404 Not Found [IP: 192.241.164.26 80]
Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
Fetched 2,451 kB in 2min 15s (18.1 kB/s)
W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages 404 Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

 

Scheduled tweets

I’m working on a Social Network App for a client…
On the research, i’v found some nice stuffs to look at….

https://business.twitter.com/pt/help/scheduled-tweets
Business Scheduled Tweets

1381528286_78008

http://twittimer.com/
POST WHENEVER YOU WANT!
Schedule messages to your social networks, we take care of the rest

thumb

 

http://twuffer.com/
OMG, it’s a Twitter™ buffer!
Twuffer allows the Twitter user to compose a list of future tweets, and schedule their release.

tweetQueue

TextBelt A free, open source API for outgoing texts.

TextBelt

A free, open source API for outgoing texts.

Maintained by Ian Webster. Open source on github.

TextBelt is a REST API that sends outgoing SMS. It is available as a public service or as an internally self-hosted server.

Textbelt uses carrier-specific gateways to deliver your text messages for free, and without ads. The service is fairly reliable and has sent over 1 million texts.

Send a text with a simple POST request: