Skip to content

Instantly share code, notes, and snippets.

View fmundaca's full-sized avatar

Felipe Mundaca fmundaca

View GitHub Profile
@iscott
iscott / rails_m1_mac_installation.md
Last active August 23, 2023 14:06
How to get rails to work on an M1 Mac

UPDATE IN PROGRESS:

Experimenting with this instead:

  • rbenv versions
  • rbenv uninstall x.y.z # uninstall all versions from the last step
  • brew uninstall rbenv
  • uninstalling homebrew
  • removing postgres.app
  • reinstall homebrew - not in rosetta 2
@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active May 21, 2024 18:26
To install Github Desktop for Ubuntu

IMPORTANT

See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)

For the sake of "maintaining the tradition" here is the updated version.

@grocky
grocky / upsource-aws-setup.md
Created April 24, 2016 20:25
Setting up Jebrains Upsource on AWS

Installing and configuring Upsource on AWS with SSL

Upsource is a tool that brings Jetbrains IDE's code insights to code reviews. Upsource's integration with Jetbrains IDEs and GitHub are some of the most attractive features for us at VideoBlocks since we're heavy users of them both. We currently have over 50 private repos and use IntelliJ, PHPStorm and WebStorm to build our core products. All of our infrastructure is hosted on AWS now, so I decided to get this up and running there for quick evaluation.

Launch an EC2 Instance

This step is straight forward and there are already some good resources for setting up an EC2 instance. I won't go into detail here, but I chose an Ubuntu AMI at a size of M3.large (which is the minimum instance size Jetbrains recommends). We're configuring our security group with the standard HTTP ports (80 and 443) and exposing the standard SSH port 22.

@funami
funami / gist:2407027
Created April 17, 2012 15:50
Upload file to S3 with AFNetworking
#import "AFNetworking.h"
- (IBAction)uploadTest:(id)sender {
NSURL *url = [NSURL URLWithString:@"https://xxx.s3-ap-northeast-1.amazonaws.com/"];
AFHTTPClient *httpClient = [[AFHTTPClient alloc] initWithBaseURL:url];
NSData *imageData = UIImagePNGRepresentation([UIImage imageNamed:@"194-note-2.png"]);
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
@"xxxxx/videos/XXXXW",@"key",
@"XXXXXXXX",@"AWSAccessKeyId",