Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Francis Rodrigues francisrod01

🎯
Focusing
Block or report user

Report or block francisrod01

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@francisrod01
francisrod01 / access.log
Last active Mar 26, 2019
AWS Beanstalk SSL and renewal with Let's Encrypt Free SSL
View access.log
172.31.43.189 - - [13/Jan/2018:03:01:56 +0000] "GET / HTTP/1.1" 404 139 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36" "191.37.20.2"
172.31.43.189 - - [13/Jan/2018:03:02:03 +0000] "GET / HTTP/1.1" 404 139 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 OPR/50.0.2762.58" "191.37.20.2"
172.31.20.92 - - [13/Jan/2018:03:07:10 +0000] "GET /.well-known/acme-challenge/<my-key-here> HTTP/1.1" 301 185 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)" "52.29.173.72"
172.31.20.92 - - [13/Jan/2018:03:07:10 +0000] "GET /.well-known/acme-challenge/<my-key-here> HTTP/1.1" 301 185 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)" "34.213.106.112"
172.31.43.189 - - [13/Jan/2018:03:07:10 +0000] "GET /.well-known/acme-challenge/<my-key-here> HTTP/1.1" 301 185 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation se
@francisrod01
francisrod01 / config.js
Last active Oct 12, 2017
angularJs - doubt with translate loaderPartial
View config.js
(function () {
'use strict';
var core = angular.module('app.core');
core.config(translations);
/* @ngInject */
function translations($translateProvider) {
@francisrod01
francisrod01 / gist:ebd620dd2584a15f28cc51e31aa95a67
Created Jul 2, 2017 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:ebd620dd2584a15f28cc51e31aa95a67

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
View app--blocks--router--routerHelperProvider.js
(function() {
'use strict';
angular
.module('blocks.router')
// .provider('routehelperConfig', routehelperConfig)
// .provider('routehelperConfig', routehelperProvider)
.provider('routerHelper', routerHelperProvider);
// .factory('routehelper', routehelper);
View aws-cloudformation-template-for-nodejs-v0.6.json
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "CloudFormation Sample Template for Node.js application. **WARNING** This template creates an Amazon EC2 instance. You will be billed for the AWS resources used if you create a stack from this template.",
"Parameters": {
"InstanceType": {
"Description": "EC2 instance type",
"Type": "String",
"Default": "t1.micro",
@francisrod01
francisrod01 / README.md
Created Feb 11, 2017 — forked from oodavid/README.md
Deploy your site with git
View README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
    • apache's home directory is /var/www/
@francisrod01
francisrod01 / HttpClientFactory.java
Last active Oct 21, 2015
[Help] Android - Convert JSON object for ArrayAdapter and ListView object
View HttpClientFactory.java
public class HttpClientFactory {
private HttpClient client;
private HttpPost httpPost;
private HttpGet httpGet;
private String responseBody;
public JSONObject sendGet(String url) {
client = new DefaultHttpClient();
httpGet = new HttpGet(Extras.BASE_URL + Extras.BASE_API + url);
@francisrod01
francisrod01 / SmsCtrl.js
Created Aug 20, 2015
SMS Send with Ionic
View SmsCtrl.js
app.controller('SmsCtrl', function($scope) {
if (SMS) {
var _phoneNumbers = '+554192292992'; // numero de teste com codigo do Brasil e DDD
SMS.sendSMS(_phoneNumbers, "hello, Francis!", function() {
console.log('watching!');
$scope.sendStatus = 'Watching!';
}, function() {
console.log('not watching!');
View gist:db3e4e7305de6b2a7b1a
bom dia Edgard
eu expliquei nesse plaste http://paste.ubuntu.com/8318549/
[9:19:46 AM] Francis: e neste a chamada das 2 classes http://paste.ubuntu.com/8318553/
[9:21:16 AM] Francis: e esse o final, tentando reusar o metodo putJob() http://paste.ubuntu.com/8318563/
@francisrod01
francisrod01 / .zshrc
Last active Aug 29, 2015
Ionic build android (in vagrant)
View .zshrc
vagrant@precise64:~$ cat .zshrc
# ~/.zshrc: executed by the command interpreter for login shells.
# Environments
export ANT_HOME=/usr/share/ant
export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64"
export VAGRANT_H=/home/vagrant
export SDK_P=$VAGRANT_H/sdKs
export SDK_ADT=adt-bundle/sdk
export NODE_PATH="/usr/lib/node_modules"
You can’t perform that action at this time.