This file contains 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
<? | |
$Header = array('Item', 'Price', 'Quantity'); | |
$body = array(array('Chicken Breast', '10$', 1), array('French Fries', '3$', 5)); | |
$primary_array = array("Header"=>$Header,"Body"=>$body); | |
echo "****XXXXXXXXXXXXXXXXXXXXXXXXXXXXX******SAMPLE ARRAY FORMAT NOTES*****XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*****"; | |
echo "<pre>"; | |
print_r($primary_array); | |
echo "****XXXXXXXXXXXXXXXXXXXXXXXXXXXXX******SAMPLE ARRAY FORMAT NOTES*****XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*****"; | |
echo "<br>"; |
This file contains 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/env python | |
# vim: ts=4:sw=4:expandtab:autoindent: | |
import os | |
import sys | |
import requests | |
import filecmp | |
from fabric.context_managers import hide, settings, prefix | |
from fabric.api import sudo, task, run, cd, env | |
from fabric.contrib.console import confirm | |
from fabric.colors import green |
This file contains 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/env python | |
# vim: ts=4:sw=4:expandtab:autoindent: | |
import os | |
import sys | |
import requests | |
import filecmp | |
from fabric.context_managers import hide, settings, prefix | |
from fabric.api import sudo, task, run, cd, env | |
from fabric.contrib.console import confirm | |
from fabric.colors import green |
This file contains 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
var Promise = require("es6-promise").Promise; | |
function test() { | |
return new Promise(function (resolve, reject) { | |
reject(true); | |
}); | |
} | |
function test2() { | |
return test() |
This file contains 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
from django.core.management.base import AppCommand, BaseCommand | |
from django.core.management import call_command | |
from django.conf import settings | |
class Command(BaseCommand): | |
def handle(self, *args, **options): | |
test_app_path = () | |
for app in settings.MY_INSTALLED_APPS: |
This file contains 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
from django.core.management.base import AppCommand, BaseCommand | |
from django.core.management import call_command | |
from django.conf import settings | |
class Command(BaseCommand): | |
def handle(self, *args, **options): | |
test_app_path = () | |
for app in settings.MY_INSTALLED_APPS: |