Skip to content

Instantly share code, notes, and snippets.

View chipcerio's full-sized avatar
🏠
Working from home

Chip Cerio chipcerio

🏠
Working from home
View GitHub Profile

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

Checklist for B206-03

Normal (Standard)

  • Pre-Start
  • Rear Cabin and Cockpit
    • Fuselage, Cabin, Aircraft - Secure
    • Climb-in, Strap-in, Seat, Controls - Test and Adjust
  • Landing Lights - Off and Stowed
@chipcerio
chipcerio / android_studio_issues.md
Created August 21, 2019 12:56
Android Studio issues

Android Studio issues

AS doesn't show layout preview

When you're using this, for some reason Theme.AppCompat.Light.DarkActionBar causes this layout preview to not show;

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
@chipcerio
chipcerio / adb_over_wifi.md
Created August 21, 2019 11:04
Debug android app without using a usb cable.

adb over WiFi

Debug android app without using a usb cable.

Connect device to computer

You need to connect your device to your computer via USB cable. Make sure USB debugging is working. You can check if it shows up when running adb devices.

adb tcpip

@chipcerio
chipcerio / ssh_config
Created May 27, 2019 04:41
ssh configuration for multiple profile
# personal Bitbucket
Host bitbucket.org
User git
Hostname bitbucket.org
AddKeysToAgent yes
UseKeychain yes
PreferredAuthentications publickey
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa
@chipcerio
chipcerio / presigned_url.xml
Created March 8, 2019 00:43
presigned url error
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
<AWSAccessKeyId>AKIAJUXLWEL5UIOWJI3Q</AWSAccessKeyId>
<StringToSign>AWS4-HMAC-SHA256
20190308T004238Z
20190308/us-west-1/s3/aws4_request
447d6d7de950c7456f7f8c41e00f9a3b7c2072362f28294088b3c0892f96c2d6</StringToSign>
<SignatureProvided>b0e74c3b58cded32ae78ef7ac0fe69730cf6de277cd94c25eb9f8c3764e01163</SignatureProvided>
[user]
name = ${FIRST_NAME} ${LAST_NAME}
email = ${EMAIL}
[color]
ui = true
[alias]
co = checkout
br = branch
ci = commit
st = status
@chipcerio
chipcerio / ID.js
Created October 16, 2018 09:33
ID - a unique ID/name generator for JavaScript
// Generate unique IDs for use as pseudo-private/protected names.
// Similar in concept to
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>.
//
// The goals of this function are twofold:
//
// * Provide a way to generate a string guaranteed to be unique when compared
// to other strings generated by this function.
// * Make the string complex enough that it is highly unlikely to be
// accidentally duplicated by hand (this is key if you're using `ID`
@chipcerio
chipcerio / ISSUE_template.md
Created October 3, 2018 05:58
github issue template

Subject of the issue

Describe your issue here.

Your environment

  • version of angular-translate
  • version of angular
  • which browser and its version

Steps to reproduce

Tell us how to reproduce this issue. Please provide a working demo, you can use this template as a base.

export default [
'Abbaye de Belloc',
'Abbaye du Mont des Cats',
'Abertam',
'Abondance',
'Ackawi',
'Acorn',
'Adelost',
'Affidelice au Chablis',
"Afuega'l Pitu",