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
#include <iostream> | |
#include <string> | |
#include <algorithm> | |
#include <iterator> | |
#include <vector> | |
using namespace std; | |
int main(){ | |
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
package com.paad.comparison; | |
import java.io.FileOutputStream; | |
import java.io.FileWriter; | |
import android.app.Activity; | |
import android.os.Bundle; | |
public class ComparisonOfControlCreationActivity extends Activity { | |
@Override |
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
public static void write (String filename,Context c,String string) throws IOException{ | |
try { | |
FileOutputStream fos = c.openFileOutput(filename, Context.MODE_PRIVATE); | |
fos.write(string.getBytes()); | |
fos.close(); | |
} catch (FileNotFoundException e) { | |
// TODO Auto-generated catch block | |
e.printStackTrace(); | |
} | |
} |
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
{ | |
"buses":[ | |
{ | |
"origin":"La Florida", | |
"destiny":"Delfin Gallo", | |
"time":"05:30" | |
}, | |
{ | |
"origin":"Los Ralos", | |
"destiny":"Ranchillos", |
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
{ | |
{ | |
"origin": "SMT", | |
"destiny": "FLO", | |
"days": ["L","M","X","J","V"], | |
"timetable": | |
[ | |
{ | |
"time":"05:00", | |
"branch":"ALD" |
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
function ispalindrome(){ | |
var palindrome = true; | |
var text = "arra"; | |
var array = text.toUpperCase(); | |
array = array.split(" "); | |
array = array.join(""); | |
for(var i in array) | |
{ |
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 | |
define($hash_token,"$%&123");//$hash_token is the key to use in crypt() | |
public function crypt_password($password){ | |
return $encripted_password = crypt($password,$hash_token); | |
} | |
public function login($user_name, $dumb_password){ |
NewerOlder