Skip to content

Instantly share code, notes, and snippets.

View murielsilveira's full-sized avatar

Muriel Silveira murielsilveira

View GitHub Profile
@hdubugras
hdubugras / gist:9985111
Last active August 29, 2015 13:58
VAGA DESENVOLVEDOR BACK-END Pagar.me

VAGA DESENVOLVEDOR BACK-END

O Pagar.me está crescendo e o nosso time também. Para isso, estamos contratando desenvolvedores para nos ajudar a resolver os grandes problemas do mercado de pagamentos brasileiro. Nossa aplicação é escrita principalmente em Javascript (Node.js e AngularJS) e somos fortemente adeptos a novas tecnologias. Adoramos usar as ferramentas certas para resolver nossos problemas e somos totalmente obcecados por testes e filosofia open-source.

Não procuramos pessoas apenas excepcionais em Javascript, Ruby ou outra linguagem, mas também em computação em si. Queremos gente apaixonada por UNIX, otimização (incluindo do seu editor de texto), testes, segurança e consistência. Amamos os que programam desde a adolescência ou infância e que não consigam dormir até resolver um problema.

Seguem algumas reportagens sobre o pagar.me e os fundadores:

@renatogalvones
renatogalvones / gist:09365a994e06f41967d7c448c87e4567
Last active September 1, 2016 13:51
Slides palestras BrazilJS 2016
@FeodorFitsner
FeodorFitsner / install-android-sdk.ps1
Created October 5, 2015 17:31
Installing Android SDKs
#$AndroidToolPath = "${env:ProgramFiles(x86)}\Android\android-sdk\tools\android"
$AndroidToolPath = "$env:localappdata\Android\android-sdk\tools\android"
Function Get-AndroidSDKs() {
$output = & $AndroidToolPath list sdk --all
$sdks = $output |% {
if ($_ -match '(?<index>\d+)- (?<sdk>.+), revision (?<revision>[\d\.]+)') {
$sdk = New-Object PSObject
Add-Member -InputObject $sdk -MemberType NoteProperty -Name Index -Value $Matches.index
Add-Member -InputObject $sdk -MemberType NoteProperty -Name Name -Value $Matches.sdk
@mhazy
mhazy / codeship-s3-sync.sh
Last active August 29, 2017 14:34
CodeShip deployment script for syncing build to S3 and setting per-file cache settings
# make sure awscli is installed
pip install awscli
# build
grunt build-staging
# Clear staging path on s3
aws s3 rm s3://[BUCKET NAME]/[DIRECTORY] --recursive
# Sync the dist folder
aws s3 sync ./dist s3://[BUCKET NAME]/[DIRECTORY] --acl public-read --cache-control "public, max-age=86400"
# Update index.html to have a 60sec cache
aws s3api copy-object --copy-source [BUCKET NAME]/[FILEPATH] --cache-control "public, max-age=60" --content-type "text/html" --bucket [BUCKET NAME] --key [FILEPATH] --metadata-directive="REPLACE"
@imagescape
imagescape / UpgradeDjango.md
Last active June 27, 2018 12:16
Upgrade Django from 1.1 to 1.5.1. This highlights some of the issues that one may encounter when updating Django. It's not possible to cover every case, but this should provide a good general starting point.

Upgrade Django from 1.1 to 1.5.1. This highlights some of the issues that one may encounter when updating Django. It's not possible to cover every case, but this should provide a good general starting point.

Change to DATABASES variable in settings.py.

Django now supports multiple databases and changes are needed to how the database connections are defined.

  • Changed in Django 1.2
  • Change Required by Django 1.4
  • Source:
@paulochf
paulochf / get_slack_threads.ipynb
Last active July 30, 2018 16:26
Get starred threads dialogs from Slack
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@magemore
magemore / gist:4499587
Created January 10, 2013 04:56
Amazon Linux AMI (Fedora) install htop
# update
sudo yum -y update
sudo yum -y upgrade
# enable EPEL6 by changing enabled=0 -> enabled=1
sudo vim /etc/yum.repos.d/epel.repo
# install htop
sudo yum install htop
@gauntface
gauntface / toggle-remote-styles.js
Last active March 12, 2020 12:56
A book marklet to toggle styles.
javascript:(function(){var styles = document.querySelectorAll('link[rel=\'stylesheet\']'); for (var s = 0; s < styles.length; s++) {styles[s].mediax = styles[s].media;if (styles[s].media === 'only x') { styles[s].media = styles[s].mediax; } else if (styles[s].media !== 'print') {styles[s].media = 'only x';}}})();
@ronanrodrigo
ronanrodrigo / zoom.sh
Last active April 16, 2020 18:41
This way, a meeting notification through Zoom Client, will appear 1 minute before meeting start. This script is necessary because through the UI settings, this custom threshold isn't available to choose (only 5, 10 and 15).
# 1. Enable Google calendar sync
# 1.1. Access https://zoom.us/profile;
# 1.2. Enable "Calendar and Contact Integration";
# 2. Quit Zoom client;
sqlite3 ~/Library/Application\ Support/zoom.us/data/zoomus.db << EOF
UPDATE zoom_kv SET value = "true" WHERE key = "com.zoom.conf.enable.remind.meeting.time";
UPDATE zoom_kv SET value = 1 WHERE key = "com.zoom.conf.threshold.to.remind.meeting.time";
SELECT key,value FROM zoom_kv WHERE key = "com.zoom.conf.enable.remind.meeting.time";
SELECT key,value FROM zoom_kv WHERE key = "com.zoom.conf.threshold.to.remind.meeting.time";
@mpj
mpj / README.md
Last active December 12, 2020 00:15
REALLY quick and dirty static file dev server

Usage

node dirtyserve.js

The point your browser to

http://localhost:3000/myfile.xxx

and the server will try to serve that file from the local server.