View media-upload.js
'use strict';
/**
* @ngdoc function
* @name mall4gApp.controller:AdminMediaUploadCtrl
* @description
* # AdminMediaUploadCtrl
* Controller of the mall4gApp
*/
angular.module('mall4gApp')
View publication-models.py
# -*- coding: utf-8 -*-
import os
import urllib
import pytz
from datetime import datetime, date
from django.db import models
from django.db.models import signals
View storage.py
# -*- coding: utf-8 -*-
from datetime import datetime
from django.core.files.base import ContentFile
from django.core.files.storage import Storage
from django.utils.deconstruct import deconstructible
from settings.base import get_env_variable
View exelcsv.py
"""
Author: Allan Porras
Emil: alpocr@gmail.com
June 3, 2015
"""
import csv
from collections import defaultdict
View salsa_test_1.py
#!/usr/bin/python
import sys
class Course(object):
id = None
limit_courses=3
description = ""
name = ""
View tomcat7-config.xml
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
View stream_to_youtube.sh
sudo ffmpeg -f v4l2 -i /dev/video0 -f alsa -i hw:1 -flags +global_header -ar 44100 -ab 16k -s 1280x720 -vcodec h264 -pix_fmt yuv420p -g 25 -vb 32k -profile:v baseline -r 30 -f flv "rtmp://a.rtmp.youtube.com/live2/STREAM-NAME"
View gist:a5ec0ffca531f5e0aae7
<!--
Copyright (c) 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
View upload file GCS template tester
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<form id="fileupload" name="fileupload" enctype="multipart/form-data" method="post">
<fieldset>
<input type="file" name="filename" id="filename"></input>
<input id="uploadbutton" type="button" value="Upload to GCS"/>
</fieldset>
</form>
<script type="text/javascript">
View gist:a31376d56a51f34aa4bf
Asunto: Feria AppEstimado David Smith: Espero que esté teniendo un gran día! Mi empresa XYZ ABC…