Skip to content

Instantly share code, notes, and snippets.

View emalherbi-zz's full-sized avatar

Eduardo Malherbi Martins emalherbi-zz

View GitHub Profile
@netstart
netstart / app.module.ts
Last active February 28, 2023 21:16
Forçar que o Angular utilize o locale pt-BR em uma aplicação.
// https://github.com/angular/angular-cli/issues/6683
import { NgModule, LOCALE_ID } from '@angular/core';
// force to use locale pt-BR
providers: [ {provide: LOCALE_ID, useValue: 'pt-BR' } ]
// Or use below line to get locale from browser
// providers: [ {provide: LOCALE_ID, useValue: window.navigator.language} ]
@navid-taheri
navid-taheri / eb-cli-ubuntu-16-04
Last active October 25, 2024 13:48
How to install eb cli (awsebcli) on Ubuntu 16.04
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install python3-setuptools
sudo easy_install3 pip
pip -V
#pip 9.0.1 from /usr/local/lib/python3.5/dist-packages/pip-9.0.1-py3.5.egg (python 3.5)
sudo chown -R username:username ~/.local/
# add to ./*shrc
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@jrschumacher
jrschumacher / build-and-deploy.sh
Last active April 23, 2019 17:38
Ionic Automated Build and Deploy to HockeyApp
#!/bin/bash
PROJECT_NAME=MyApp
SCHEME_NAME=MyApp
STARTTIME=$(date +%s);
set -e
set -x
### Install dependencies
echo "--- Install dependencies [Time Elapsed $(($(date +%s) - $STARTTIME))s]"

Screencapture and animated gifs

I say "animated gif" but in reality I think it's irresponsible to be serving "real" GIF files to people now. You should be serving gfy's, gifv's, webm, mp4s, whatever. They're a fraction of the filesize making it easier for you to deliver high fidelity, full color animation very quickly, especially on bad mobile connections. (But I suppose if you're just doing this for small audiences (like bug reporting), then LICEcap is a good solution).

Capturing (Easy)

  1. Launch quicktime player
  2. do Screen recording

screen shot 2014-10-22 at 11 16 23 am