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
public void onCreate(Bundle savedInstanceState) { | |
System.out.println("Anubhaw-oncreate"); | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
// Get the UI widgets. | |
mAddGeofencesButton = (Button) findViewById(R.id.add_geofences_button); | |
mRemoveGeofencesButton = (Button) findViewById(R.id.remove_geofences_button); | |
// Empty list for storing geofences. |
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
<LinearLayout | |
android:id="@+id/myRectangleView" | |
android:layout_width="200dp" | |
android:layout_height="50dp" | |
android:background="@drawable/rectangle_view" | |
android:layout_alignParentBottom="true" | |
android:layout_alignLeft="@+id/table_t4" | |
android:layout_alignStart="@+id/table_t4" | |
android:layout_alignRight="@+id/table_t5" | |
android:layout_alignEnd="@+id/table_t5" |
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
<?php | |
if($_SERVER['REQUEST_METHOD']=='GET'){ | |
$request = $_GET["data"]; | |
$jsonData = json_decode($request,true); | |
echo($request); | |
echo "\r\nDivide"; | |
echo $jsonData; | |
echo $jsonData->['numbers']; | |
$link = mysqli_connect("xx", "xx", "xx", "xx") or die("Error " . mysqli_error($link)); |
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
import psutil | |
import os | |
import time | |
start_time = time.time() | |
import MySQLdb as mysql | |
import cv2 | |
import sys | |
import rpy2.robjects as robj | |
import rpy2.robjects.numpy2ri | |
rpy2.robjects.numpy2ri.activate() |
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
<?php | |
$aws_key = 'AK'; | |
$aws_secret = 'Fi'; | |
$source_file = '/var/www/html/pos/si/mag/sahara.txt'; // file to upload to S3 | |
$file_type = "text/plain"; // or other file type like "image/jpeg" for JPEG image, | |
// or "binary/octet-stream" for binary file | |
$aws_bucket = 'cst'; // AWS bucket |
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
[root@demoDB mod_wsgi-4.6.2]# sh -x ./configure --with-python /opt/Anaconda/bin/python | |
+ DUALCASE=1 | |
+ export DUALCASE | |
+ test -n '' | |
+ case `(set -o) 2>/dev/null` in | |
+ : | |
+ set -o posix | |
+ as_nl=' | |
' | |
+ export as_nl |