Skip to content

Instantly share code, notes, and snippets.

View charlieouyang's full-sized avatar

Charlie Ou Yang charlieouyang

View GitHub Profile
# THis is the problem I'm trying to solve.
def my_func():
print('hello 123')
@charlieouyang
charlieouyang / image_picker.dart
Created September 1, 2020 00:03
Image picker
import 'package:flutter/material.dart';
import 'dart:async';
import 'dart:typed_data';
import 'package:http/http.dart' as http;
import 'package:multi_image_picker/multi_image_picker.dart';
import 'dart:convert';
void main() => runApp(new MyApp());
class MyApp extends StatefulWidget {
@charlieouyang
charlieouyang / Abi
Created September 15, 2017 19:57
File
fsd
@charlieouyang
charlieouyang / gist:85a790f652ec4e103e85
Created December 29, 2015 21:17
Contextual UI Save workflow
Save a strategy with a few Peer39 targeting segments
targeting_segments (for IAS and Peer39 segments) save
POST /api/v2.0/strategies/1119723/targeting_segments
form-body
segments.1.id:146
segments.1.restriction:INCLUDE
segments.1.operator:OR
segments.2.id:152
@charlieouyang
charlieouyang / Bulkedit UI Research
Created December 1, 2015 19:12
UI Research, questions, and concerns
Current Bulkedit Structure
main
-> init
-> strategies
-> strategiesGrid
-> tabs
-> creatives
-> iconGrid
-> location
1) User navigates to location targeting
2) User clicks on the browse button in zip code targeting
3) User selects a file and clicks open
UI makes API call
POST /api/v2.0/strategies/947508/target_postcodes
Payload
------WebKitFormBoundaryVleV4FL5cW8u0LDn
@charlieouyang
charlieouyang / campaign-viewer.css
Last active August 29, 2015 14:00
My interview!
#campaignViewer{
width: 100%;
height: 100%;
margin-top: 20px;
}
th{
text-align: center;
}