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
File from app/App_Resources/Android/AndroidManifest.xml | |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="__PACKAGE__" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<supports-screens | |
android:smallScreens="true" |
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
/*Base64 dönüşüm fonksiyonları*/ | |
function intToBase64(i) { | |
var b64 = ''; | |
b64 += String.fromCharCode((i % 64) + 63); | |
for (var j = 0; j < 4; j++) { | |
i = Math.floor(i / 64); | |
b64 += String.fromCharCode((i % 64) + 63); | |
} | |
return b64; |
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
/* | |
* Pete Hodgson talks about how we can expand our programming minds by | |
* using JavaScript in unusual and experimental ways in his presentation | |
* from Forward JS. | |
* http://www.youtube.com/watch?v=n9qzwI4Krmo | |
*/ | |
cakes = ["coffee", "cheese", "bundt", "angel"]; | |
function Person() { |
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 binds the node-validator library to the req object so that | |
* the validation / sanitization methods can be called on parameter | |
* names rather than the actual strings. | |
* | |
* 1. Be sure to include `req.mixinParams()` as middleware to merge | |
* query string, body and named parameters into `req.params` | |
* | |
* 2. To validate parameters, use `req.check(param_name, [err_message])` | |
* e.g. req.check('param1').len(1, 6).isInt(); |
NewerOlder