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
// | |
// TextMeter.cs | |
// Created by Alexey Kinev on 11 Feb 2015. | |
// | |
// Licensed under The MIT License (MIT) | |
// http://opensource.org/licenses/MIT | |
// | |
// Copyright (c) 2015 Alexey Kinev <[email protected]> | |
// | |
// Usage example: |
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
// | |
// Avatar.cs | |
// Created by Alexey Kinev on 26 Feb 2015. | |
// | |
// Licensed under The MIT License (MIT) | |
// http://opensource.org/licenses/MIT | |
// | |
// Simple rounded avatar class example for Xamarin.Forms. | |
// | |
using System; |
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
// | |
// ImageMeter.cs | |
// Created by Alexey Kinev on 9 May 2015. | |
// | |
// No Rights Reserved | |
// http://creativecommons.org/publicdomain/zero/1.0/ | |
// | |
// Get image size by name in Xamarin.Forms for iOS and Android platforms. | |
// | |
using System; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.hellofire"> | |
<!-- the android:debuggable="true" attribute is overwritten by the compiler when the debug info option is set --> | |
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<application | |
android:label="@string/app_name" | |
android:icon="@drawable/icon" | |
android:debuggable="true"> |
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
// NoEmptyRowsTableViewRenderer.cs | |
// | |
// No Rights Reserved | |
// http://creativecommons.org/publicdomain/zero/1.0/ | |
// | |
// Assume you have `MyProject.MyTableView` sublass of | |
// `Xamarin.Forms.TableView` and want to hide extra | |
// empty rows at the bottom. All you need on iOS is to set | |
// `TableFooterView` to empty `UIView` in custom renderer. | |
// |
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
/*! | |
Classify plugin for binding elements to objects or functions ('classes') | |
and events to 'methods'. | |
Example: | |
var Navbar = { | |
signIn: function(evt, target) { ... }, | |
signUp: function(evt, target) { ... }, | |
}; |
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
/*! | |
Stream signle file upload with PUT octet-stream request. | |
(c) 2015 Alexey Kinev <[email protected]> | |
The MIT License, https://opensource.org/licenses/MIT | |
*/ | |
(function ( $ ) { | |
$.fn.putUpload = function( opts ) { | |
var el = $( this ); |
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
/*! | |
jQuery plugin for "smart" links like back button etc. | |
Example: | |
// Handle elements with `data-href` as links | |
$('[data-href]').smartLinks('href'); | |
// Handle elements with `data-back` as back button | |
$('[data-back]').smartLinks('back'); |
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
#!/usr/bin/env python | |
# | |
# No Rights Reserved | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
"""Git post-receive hook script | |
Suggested project structure:: | |
/home/$_USER/ | |
env/ |