Skip to content

Instantly share code, notes, and snippets.

View NekoTashi's full-sized avatar

Christopher Rubio Márquez NekoTashi

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<!-- compiled css output -->
<link href="css/ionic.app.css" rel="stylesheet">
@NekoTashi
NekoTashi / 030_modify_plist.sh
Created October 21, 2015 06:46
For Ionic to disable secure connect
#!/bin/bash
PLIST=platforms/ios/*/*-Info.plist
cat << EOF |
Add :NSAppTransportSecurity dict
Add :NSAppTransportSecurity:NSAllowsArbitraryLoads bool YES
EOF
while read line
do
@NekoTashi
NekoTashi / tesis.md
Last active October 24, 2015 01:23
fock

Delivery Tracking

Urls

192.168.0.28

Login

POST

@NekoTashi
NekoTashi / cards.js
Last active November 10, 2015 16:52
Añadir código de cartas.
[{
range_attack: "1",
code: "B01-009R",
cost: "3(2)",
name: "Abel",
title: "Infamous Knight Prowling Panther",
skills: "Blessed Knight's Protection / CONT / Your opponent cannot attack units cost 2 or less with their Rearguard. /// \"Dancing Lances of Red and Green\" / AUTO / [Tap an ally \"Cain\"] When this unit attacks, it can gain 40 attack.",
support: "10",
affinities: "Lance/Male/Horse",
attack: "60",
@NekoTashi
NekoTashi / order.md
Last active November 11, 2015 17:44

Orders

POST

Pedir orden

/api/order/

curl -v -X POST http://localhost:8000/api/orders/ \

Login

POST

/api/api-token-auth/

{
    "username": "foo",
 "password": "bar"
@NekoTashi
NekoTashi / ensure_csrf_token_header.js
Last active November 21, 2015 16:27
Asegura que el csrf token esté en los headers cuando se realiza el request.
(function () {
angular.module('MyApp').config(['$httpProvider', function () {
// set up CRSF handshake with Django Rest Framework
$httpProvider.defaults.xsrfCookieName = 'csrftoken';
$httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';
// we will use credentials
// https://developer.mozilla.org/es/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials
$httpProvider.defaults.withCredentials = true;
}]);
Rinkah 1 x4 | 1
Rinkah 3(2) x4 |
Kamui(F) 1 x4 |
Kamui(M) 1 x4 | 1
Takumi 1 x4 | 1
Hinoka 1 x4 | 1
Setsuna 1 x4 | 1
Oboro 1 x4 |
Ryoma 1 x4 | 1
{
"range_attack": "1",
"code": "B01-010N",
"cost": "1",
"name": "Abel",
"title": "Verdant Knight",
"skills": "Skill 1: \u201cBonds of Green & Red\u201d / \u221e / While having \"Cain\" as a support, this unit\u2019s attack power is increased by 30. /// Support Skill: \"Emblem of Strength\" / ATK\u2665 / Until the end of this attack, your attacking unit\u2019s attack power is increased by 20.",
"support": "10",
"affinities": "Male/Sword/Beast",
"attack": "40",
trucks = [
{
"pk": 1,
"numero_patente": "hcdd26",
"estado_camion": 0,
"factura_set": [
{
"pk": 17471,
"patente": "hcdd26",
"chofer": "Felipe Fuentes",