Skip to content

Instantly share code, notes, and snippets.

View corinnekrych's full-sized avatar
🐝

corinnekrych corinnekrych

🐝
View GitHub Profile
~/s/f/pushstarter-ios-app git:FH-2530 ❯❯❯ xctool -workspace PushStarter.xcworkspace -scheme PushStarter -sdk iphonesimulator build test
[Info] Loading settings for scheme 'PushStarter' ... (1210 ms)
=== BUILD ===
xcodebuild build PushStarter
Pods / Reachability (Debug)
✓ Check dependencies (775 ms)
✓ Write auxiliary files (532 ms)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
~/w/f/digger-art git:master ❯❯❯ grunt art:local_ios --hybrid
Running "art:local_ios" (art) task
Running "_before:local_ios" (_before) task
Running "jshint:all" (jshint) task
>> 11 files lint free.
Running "clean:0" (clean) task
>> 1 path cleaned.
fh-digger output
----------------
server created
Started fh-digger version 2.1.0-BUILD-NUMBER on port: 8888 with pid 95434
^[[AaddTaskToQueue: 1ms
set user to corinne
set group to henryg
tar: Failed to set default locale
a Dockerfile
addTaskToQueue: 0ms
set user to corinne
set group to henryg
tar: Failed to set default locale
a Dockerfile
a files
a files/AndroidManifest.xml
a files/assets
a files/build.xml
a files/libs
~/fhcap ❯❯❯ fhcap cluster provision --name meh1 --git-ref RHMAP-8225
Cluster::Provision: name = meh1, strategy = chef
Repo::Checkout: repo = fhcap, git-ref = RHMAP-8225, remote = origin
run git checkout -B deploy --quiet from "./repos/fhcap"
run git fetch origin RHMAP-8225 --quiet from "./repos/fhcap"
run git reset --hard FETCH_HEAD --quiet from "./repos/fhcap"
run librarian-chef install from "/Users/corinne/fhcap/repos/fhcap"
Repo::Checkout: repo = fhcap-dev, git-ref = RHMAP-8225, remote = origin
run git checkout -B deploy --quiet from "./repos/fhcap-dev"
run git fetch origin RHMAP-8225 --quiet from "./repos/fhcap-dev"
~/w/f/fh-digger git:ant-support ❯❯❯ sudo ./fh-digger.js config/dev_corinne.json ◼
Password:
Configuration is valid
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
server created
Started fh-digger version 2.1.0-BUILD-NUMBER on port: 8888 with pid 37520
addTaskToQueue: 0ms
set user to corinne
set group to henryg
@corinnekrych
corinnekrych / base_log.txt
Created August 25, 2016 12:59
base_log.txt
❯❯❯ docker build -t feedhenry/android:base [email protected]:feedhenry-staff/digger-containers.git#:android/base ⏎
Sending build context to Docker daemon 5.632 kB
Step 1 : FROM centos:7
7: Pulling from library/centos
3d8673bd162a: Pull complete
Digest: sha256:a66ffcb73930584413de83311ca11a4cb4938c9b2521d331026dad970c19adf4
Status: Downloaded newer image for centos:7
---> 970633036444
Step 2 : MAINTAINER Red Hat <[email protected]>
---> Running in cfbd21a4673b
~/w/f/digger-art git:master ❯❯❯ grunt art:sif1                                                                                                                              ✱ ◼
Running "art:sif1" (art) task

Running "_before:sif1" (_before) task

Running "jshint:all" (jshint) task
>> 9 files lint free.

Running "clean:0" (clean) task
{
"name": "dev",
"description": "Development role",
"json_class": "Chef::Role",
"default_attributes": {
"host_src_dir": "/Users/corinne/src/fheng",
"feedhenry_common": {
"src": "/mnt/src"
},
"vm": {
@corinnekrych
corinnekrych / gist:f10f97c9d449f526850b
Last active August 29, 2015 14:10
OAuth2 / Open ID Connect for native apps and beyond

OAuth2 / Open ID Connect for native apps and beyond

http://mdevcon.com/

Do you want to build a cool iOS/Android app to share your photos on Twitter, Facebook or Google+? If so, you will need to authenticate through OAuth2. Instead of using their own authentication schemes, most providers choose to implement OAuth2. It gives users a secure way to talk to their services, but more importantly, allows users to safely authorise access to their data from third-party services without giving them their credentials.

If you think security topic is hard to tackle, join us! We'll make OAuth2 framework, OpenID Connect protocol, JWT (Json Web Token), and even encryption (with Alice and Bob) easy to understand. With some drawings and chatting, tokens are fun and OAuth2 will have no secret to you!

We'll see the challenges to overcome from a native app perspective: embedded web view vs external browser, URL schema for callback, local storage for tokens, refresh access tok