Skip to content

Instantly share code, notes, and snippets.

View merencia's full-sized avatar

Lucas Merencia merencia

View GitHub Profile
@merencia
merencia / google-form-to-github-issue.md
Created May 4, 2017 12:31 — forked from bmcbride/google-form-to-github-issue.md
Create a new GitHub Issue from a Google Form submission

Wiring up a Google Form to GitHub is not that difficult with a little bit of Apps Script automation. All you need is a Google account, a GitHub account, and a web browser...

Set up your GitHub Personal Access Token

Personal access tokens provide an easy way to interact with the GitHub API without having to mess with OAuth. If you don't already have a personal access token with repo or public_repo access, visit your GitHub settings page and generate a new token.

Be sure to copy your token some place safe and keep it secure. Once generated, you will not be able to view or copy the token again.

Set up the Form & Spreadsheet

  1. Create a Google Form.

Keybase proof

I hereby claim:

  • I am merencia on github.
  • I am merencia (https://keybase.io/merencia) on keybase.
  • I have a public key whose fingerprint is FA0A C38A 7C3B 902D 6E06 BA99 9915 7D7C AE48 06A9

To claim this, I am signing this object:

$ sudo apt-get update
$ sudo apt-get install curl git-core gcc make libssl-dev g++ libpq-dev nodejs
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc (ou zshrc...)
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install 2.1.4
$ rbenv global 2.1.4
@merencia
merencia / eclipse-install.sh
Created September 22, 2014 17:02
Install eclipse
#!/bin/sh
# Resolving Eclipse package
if [ `uname -m` = 'x86_64' ]; then
URL="http://eclipse.c3sl.ufpr.br/technology/epp/downloads/release/luna/R/eclipse-jee-luna-R-linux-gtk-x86_64.tar.gz"
else
URL="http://eclipse.c3sl.ufpr.br/technology/epp/downloads/release/luna/R/eclipse-jee-luna-R-linux-gtk.tar.gz"
fi
#!/bin/sh
# Sublime Text 3 install with Package Control
# http://simonewebdesign.it/install-sublime-text-3-on-linux/
# Run this script with:
# $ curl -L git.io/sublimetext | sh
if [ `uname -m` = 'x86_64' ]; then
AllowUserLocalTrust=1
AssetCacheSize=20
AutoUpdateDisable=0
AutoUpdateInterval=-1
AVHardwareDisable=0
DisableDeviceFontEnumeration=0
DisableProductDownload=0
ErrorReportingEnable=0
FileDownloadDisable=0

#INSTALAR O FODENDO GIT PRIMEIRO

#Sublime text

sudo add-apt-repository ppa:webupd8team/sublime-text-2

sudo apt-get update

sudo apt-get install sublime-text

<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap.js"></script>
<meta charset=utf-8 />
</head>
<body>
$ ->
$('.weal-palette').wealpalette {between: 3, variant: 7, expurge: 2, dropdown: true},
(color) ->
$(this).css('background', color)
@merencia
merencia / niftyauthentication
Created August 23, 2012 03:02
Rails nifty:authentication
add on Gemfile
gem ‘nifty-generators’
gem "bcrypt-ruby", :require => "bcrypt"
$ bundle install
$ rails g nifty:authentication