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
AT*ZAP=1,0 | |
AT*PMODE=2,2 | |
AT*MISC=3,2,20,2000,3000 | |
AT*CONFIG_IDS=4,"71ca1641","00000000","1da978de" | |
AT*CONFIG=5,"custom:session_id","-all" | |
AT*PCMD_MAG=6,0,0,0,0,0,0,0 | |
AT*REF=7,290717696 | |
AT*PCMD_MAG=8,0,0,0,0,0,0,0 | |
AT*REF=9,290717696 | |
AT*PCMD_MAG=10,0,0,0,0,0,0,0 |
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
// This is the code from the updated navigation example, ardrone_ini.c:189 | |
ardrone_tool_set_progressive_cmd( | |
enable, | |
/*roll*/(float)(stick1LR-center_x1)/32767.0f, | |
/*pitch*/(float)(stick1UD-center_y1)/32767.0f, | |
/*gaz*/-(float)(stick2UD-center_x2)/32767.0f, | |
/*yaw*/(float)(stick2LR-center_y2)/32767.0f, | |
/*psi*/0.0, | |
/*psi_accuracy*/0.0); |
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
#!/bin/bash | |
#~/.scripts/git-sub | |
#Author: Khaja Minhajuddin <minhajuddin@cosmicvent.com> | |
#script which does a global search and replace in the git repository | |
#it takes two arguments | |
#e.g. git sub OLD NEW | |
old=$1 | |
new=$2 |
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
gcc -Wall -g -O0 -v -da -Q -DUSE_LINUX=yes -I/home/dk/Tools/ardrone/sdk/ARDrone_SDK_2_0/ARDroneLib -I/home/dk/Tools/ardrone/sdk/ARDrone_SDK_2_0/ARDroneLib/VP_SDK -I/home/dk/Tools/ardrone/sdk/ARDrone_SDK_2_0/ARDroneLib/VP_SDK/VP_Os/linux -I/home/dk/Tools/ardrone/sdk/ARDrone_SDK_2_0/ARDroneLib/Soft/Lib -I/home/dk/Tools/ardrone/sdk/ARDrone_SDK_2_0/ARDroneLib/Soft/Common -c autopilot.c | |
Using built-in specs. | |
COLLECT_GCC=gcc | |
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper | |
Target: x86_64-linux-gnu | |
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libst |
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 | |
import unittest | |
import random | |
class TestSequenceFunctions(unittest.TestCase): | |
def setUp(self): | |
self.graph = { 'a': ['c'], | |
'b': ['a'], |
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
{ "addr": "1 Main St", "card_bill_addr": "1 Main St", "card_bill_city": "Princeton", "card_bill_phone": "2345678901", "card_bill_state": "NJ", "card_bill_zip": "08542", "card_cvc": "123", "card_expiry": "02/2016", "card_expiry_month": "02", "card_expiry_year": "2016", "card_name": "John Smith", "card_number": "4111411141114111", "card_phone": "2345678901", "city": "Princeton", "delivery_date": "ASAP", "delivery_time": "ASAP", "em": "dk@gargoyle.co", "first_name": "John", "last_name": "Smith", "phone": "2345678901", "restaurant_id": 6373, "rid": 6373, "state": "NJ", "tip": 5.05, "tray": "8926239/1+8926254/1+8926305/1", "type": "res", "zip": "08542" } |
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
<style name="Widget.Button"> | |
<item name="android:background">@android:drawable/btn_default</item> | |
<item name="android:focusable">true</item> | |
<item name="android:clickable">true</item> | |
<item name="android:textAppearance">?android:attr/textAppearanceSmallInverse</item> | |
<item name="android:textColor">@android:color/primary_text_light</item> | |
<item name="android:gravity">center_vertical|center_horizontal</item> | |
</style> |
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
{"fetchResponse":{"responseCode":"NEW","responseCodeInt":4,"success":true,"data":[{"duration":0,"plannedEffort":90000000,"dates":{"plannedEarlyStart":"2013-01-01T23:54:24+0000","plannedEarlyFinish":"2013-12-31T23:54:24+0000","plannedLateStart":"2013-01-01T23:54:24+0000","plannedLateFinish":"2013-12-31T23:54:24+0000"},"resources":[{"personID":"512ce2e3e4b0355eee5044cf","billable":true,"subID":0}],"schedConstraints":[],"billable":false,"scheduled":false,"milestone":false,"externalService":false,"client":160,"text":[{"textType":"BusText","language":"en","text":"First Stage","original":false,"subID":0}],"hierarchies":[],"busUnits":["5123c186e4b06624ba84f79d"],"extID":"PRJ006-1","responsible":"512ce2e3e4b0355eee5044cf","assigned":["512ce2e3e4b0355eee5044cf"],"categories":[],"recentHistory":[],"files":[],"updateLock":false,"tags":[],"comments":[],"messages":[],"template":false,"intStatus":0,"id":"512d4b9ae4b0320061c843d8","createdOn":"2013-02-26T23:56:10+0000","createdBy":"512ce2e3e4b0355eee5044ce","changedOn":"201 |
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
#!/bin/bash | |
#~/.scripts/git-sub | |
#Author: Khaja Minhajuddin <minhajuddin@cosmicvent.com> | |
#script which does a global search and replace in the git repository | |
#it takes two arguments | |
#e.g. git sub OLD NEW | |
old=$1 | |
new=$2 |
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
VideoView video = (VideoView) findViewById(R.id.video); | |
//save video that is in assets folder into root of sd card to play | |
video.setVideoPath("http://www.androidbegin.com/tutorial/AndroidCommercial.3gp"); | |
video.start(); |