This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//------------- PRUEBA DE AUTENTICACION API 4G PAYMENTS ----------------------- | |
//Datos de conexion para el Api 4G | |
$Api_data = array("grant_type" => "client_credentials","client_id" => "[CLEINT_ID]", "client_secret" => "[CLIENT_SECRET]"); | |
$Api_Url = "https://api.payments.4geeks.io/authentication/token/"; | |
//------------------------------- CONEXION ------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* @ngdoc function | |
* @name mall4gApp.controller:AdminMediaUploadCtrl | |
* @description | |
* # AdminMediaUploadCtrl | |
* Controller of the mall4gApp | |
*/ | |
angular.module('mall4gApp') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author: Allan Porras | |
Emil: [email protected] | |
June 3, 2015 | |
""" | |
import csv | |
from collections import defaultdict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
class Course(object): | |
id = None | |
limit_courses=3 | |
description = "" | |
name = "" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> |
NewerOlder