Pages

Sunday, April 30, 2017

Alright Already

Alright Already


Cripes, what a pushy bunch. I take time out from a rare family holiday to write a post with photos of a finished project*and what happens? Almost as one, the readers rise up and shout,

"BUT WHERES THE PONCHO?"

Perhaps, like global warming and the war in Afghanistan, its my own fault. I mustnt have been clear that the pink poncho is not, and was never intended to be, a Christmas gift. Its taking far too long for that, and anyhow it cant be worn in this beastly northern climate until May at the earliest. Not to mention that I am enjoying taking my time with it–finding my own way to shape the hood, experimenting with lace patterns, checking out late-1940s couture draping to figure shaping for the cloak.

Yes, cloak. Not poncho. I know–she asked for a poncho; but theres a problem. I hate ponchos. Hate them. I intend no offense to those who love them; I simply do not share your taste. I find them graceless and droopy. And as I am a child of the 1970s, they are forever associated in my mind with aesthetic nightmares like gloppy terra-cotta pottery, tourist-market serapes and macramé plant hangers. Ill be damned if Ill expose my niece to any of that, even if she begs.

Im turning out to be a very old-fashioned sort of uncle. No–a very old-fashioned sort of aunt. I find that I have nothing but gender in common with the famous, old-fashioned uncles who spring to mind: Remus, Tom, Scrooge. However I closely resemble quite a few old-fashioned aunts: Polly, March, and especially Aunt Alicia in Gigi.

Auntie

Like Aunt Alicia, I adore my niece exactly as she is. And I intend to fix her. Indiscriminately catering to small childrens natural sartorial whims is dangerous; it leads to college graduates who go grocery shopping in their pajamas. Noble savages are fine and dandy, but I have no intention of taking one to the ballet.

So though I wish dearly for her to love it, the Pink Thing will honor the spirit and not the letter of the request. For example, on my watch we do not wear clothing that sparkles unless we are going to an evening party. Therefore, in lieu of iridescent novelty yarn extruded from a unicorns ass, Im using a pretty but serviceable and sensible wool (Cascade 220 Sport) in pure pink.

We have just had a wholly successful fitting of the finished hood. I didnt want to proceed until I was certain it was the right size and shape, with enough drape to be romantic but not so much as to flop backwards and forwards willy-nilly.

A picture:

Pink Thing Preview

Thats it, there aint no more. I had to bargain to get this one, because the sun came out and the new (pink) snow saucer from L.L. Bean was calling. The clients response was extremely positive. She even attempted a twirl, but as there are still two balls of yarn attached you can guess what happened.

I hope this answers a bit of the curiosity. All kidding aside, I appreciate your interest in the progress of the design. It jolts me from the natural indolence that is my nature. More to come.

*Floradora V.1.0 made a successful maiden voyage today, carrying gift cards which I hear were used to purchase a hamburger.

Available link for download

Android To Case Android App to log Salesforce Case

Android To Case Android App to log Salesforce Case


Hi All,
Most of you may know "Web To Case" functionality of Salesforce. I have used the same concept and reuse that idea to make simple Android App, which works exactly same as "Web to case", so i called this app as "Android To Case".

Here is some screen shot how it will look like:

1) Initial Screen:



2) After Submit below screen will come:




The code and app is simple. Here is the main code as below:

package com.androidsfdc.androidtocase;

import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLEncoder;

import javax.net.ssl.HttpsURLConnection;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class AndroidToCase extends Activity {
/** Called when the activity is first created. */
private static final String ORGID = "00D###0###0###G";

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button btn
= (Button) findViewById(R.id.submit);

btn.setOnClickListener(
new View.OnClickListener() {

public void onClick(View v) {
try {
EditText name
= (EditText) findViewById(R.id.contactName);
EditText email
= (EditText) findViewById(R.id.email);
EditText phone
= (EditText) findViewById(R.id.phone);
EditText subject
= (EditText) findViewById(R.id.subject);
EditText description
= (EditText) findViewById(R.id.description);
StringBuffer params
= new StringBuffer();
params.append(
"orgid=" + URLEncoder.encode(ORGID, "UTF-8"));
params.append(
"&name="
+ URLEncoder.encode(name.getText().toString(),
"UTF-8"));
params.append(
"&email="
+ URLEncoder.encode(email.getText().toString(),
"UTF-8"));
params.append(
"&phone="
+ URLEncoder.encode(phone.getText().toString(),
"UTF-8"));
params.append(
"&subject="
+ URLEncoder.encode(subject.getText().toString(),
"UTF-8"));
params.append(
"&description="
+ URLEncoder.encode(description.getText()
.toString(),
"UTF-8"));
String output
= excutePost(
"https://www.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8",
params.toString());
name.setText(
"");
email.setText(
"");
phone.setText(
"");
subject.setText(
"");
description.setText(
"");
Toast.makeText(getBaseContext(),
"Case is successfully Created!!!",
Toast.LENGTH_LONG).show();

}
catch (Exception ex) {
ex.printStackTrace();
}
}
});
}

public static String excutePost(String targetURL, String urlParameters) {
URL url;
HttpsURLConnection connection
= null;
try {
// Create connection
url = new URL(targetURL);
connection
= (HttpsURLConnection) url.openConnection();
connection.setRequestMethod(
"POST");
connection.setRequestProperty(
"Content-Type",
"application/x-www-form-urlencoded");

connection.setRequestProperty(
"Content-Length",
"" + Integer.toString(urlParameters.getBytes().length));
connection.setRequestProperty(
"Content-Language", "en-US");

connection.setUseCaches(
false);
connection.setDoInput(
true);
connection.setDoOutput(
true);

// Send request
DataOutputStream wr = new DataOutputStream(
connection.getOutputStream());
wr.writeBytes(urlParameters);
wr.flush();
wr.close();

// Get Response
InputStream is = connection.getInputStream();
BufferedReader rd
= new BufferedReader(new InputStreamReader(is));
String line;
StringBuffer response
= new StringBuffer();
while ((line = rd.readLine()) != null) {
response.append(line);
response.append(
);
}
rd.close();
return response.toString();

}
catch (Exception e) {

e.printStackTrace();
return null;

}
finally {

if (connection != null) {
connection.disconnect();
}
}
}
}


You only need to change "ORGID" with your organization id in the above code. And it will work for your developer/production org.

This application will be useful for such companies who want their customers to log cases directly from their Android mobiles natively. They can simply setup this application and ask their customers to install the app on their mobiles. And this is ready to use.

You can download the complete code from here:
http://www.aslambari.com/downloads/AndroidToCase.zip

Hope you like this app :) . Give me feedback what do you think.

Thanks
Aslam Bari

Available link for download

Android Wear 1 3 0 2171751

Android Wear 1 3 0 2171751



My Granpa - 1948 Posted by Hello

This is my Granpa, from about 1948. He passed away when I was nearly 12, so I only have faint memories of him. I remember him as a clown for the Lions Club, as my Grandpa who thought that I could do no wrong, as a strong man of the community. I know from looking through old albums with my Granma that he has numerous commendations from past presidents, governors, and mayors.

I still miss him.

Available link for download

Android Rabbids Big Bang v2 1 2 Premium APK

Android Rabbids Big Bang v2 1 2 Premium APK


Solution to Limit Youtube Video Streams on Mikrotik

That confuses me to manage th bandwidth traffic is the video stream such a youtube and others on the Internet Cafe Network. Video streams can be spend a lot of bandwidth of the bandwidth totally that you have. Even until the children were familiar with video streams such a youtube to watch the video that they want. Its very frustrating to me when the client was full or congested traffic, any people are turning youtube video. The consequence of this is the browsing can be very slow. Though the satisfaction people is on the browsing, open and read something of the site pages. If the browsing speed is take too long the people will not keep a long, it can happened because of the act of 1 or 2 client cause a lot of people break up. In Balinese Term is "uyak sere aji aketeng"

When the People do browsing, it will not continue, at some time they will be read, which means the traffic sometime will be paused. But when the people turning the video stream, it is continuously consuming bandwidth all a long, can be longer than those who download. In this case how big youve given the bandwidth, video stream will spend or cut all the bandwidth for buffering process. If this happened in a long time, how much quota will be spent. Surely telling to go out of the client is the last one to be taken :)
There are various methods in order to limit the video stream such a youtube on mikrotik. I do not really understand the problem that many methods have given many failed to apply. The first suspicion the way that was given is not implemented yet. The second limitation can be work only for youtube browesing, not on the video stream that we intention. That to be the intention is the speed limitation on video streams not access speed of the url video stream site. Many experiments i have done finally end here that can be represent what i wish about the solution to Limit Youtube Video Stream on Mikrotik.
The speed of video streams, i was limited by using Queue Tree rule, and the speed browsing I was limited by the Simple Queue rule. You can disable the Simple Queue rule if you have defined the video stream and download in many variety of files that defined on the Queue tree. To be safe you use the Simple queue with the limit value is greater in making browsing speed more fast. Here are the steps to Limit Youtube Video Stream on Mikrotik that i have done.

1. Login to your Mikrotik WinBox, Click on IP>Firewall,  select tab : Layer7 Protocols, and click on + button, will shown like the picture below!  and then click Ok. You will have the new rule of Layer7 Protocols with the name streaming. You can add any other url video stream inside Regexp.

/ip firewall layer7-protocol add comment="" name=streaming regexp="^.*get.+.(c.youtube.com|cdn.dailymotion.com|metacafe.com|mccont.com).*$" 

Or

/ip firewall layer7-protocol add comment="" name=streaming regexp="videoplayback|video" 

2. Still in firewall window, select tab : Mangle, here you will to create a new mangle rule. For more quickly just click on New Terminal menu, copy the mangle script, right click on terminal window and paste therein!


 The mangle script that you have to insert :
/ip firewall mangle add action=mark-packet chain=prerouting comment="Mark Packet Streaming" disabled=no layer7-protocol=streaming new-packet-mark=streaming passthrough=no 

3. On the winbox menu click : Queues, Queue list will be shown. Select tab : Queue tree, here you will to create a new queue rule for video streaming. For more quickly just click on New Terminal menu, copy the Queue Tree script, right click on terminal window and paste therein!

The Queue tree script that you have to insert :
/queue tree add name="streaming" parent=global-out packet-mark=streaming limit-at=0 queue=default priority=8 max-limit=128k burst-limit=0 burst-threshold=0 burst-time=0s 
You can change the value of the max-limit as you wish depending on the situation of client and total bandwidth that you have. This method is proven can be work, here I will show you the result!

Play any video on youtube, it doesn’t matter local or international of the youtube video that you play. For more clearly let’s see the article video above! good luck!

Available link for download

Annoying Myths on the Bailout

Annoying Myths on the Bailout


Since I missed my connection and Im spending New Years in an airport hotel, I figured Id take this time when everyone is out celebrating to point out something I know is unpopular, but which still annoys me.

Joe Stiglitz, writing at the New Deal 2.0, echoes the conventional wisdom on the bailouts:
We are accustomed to thinking of government transferring money from the well off to the poor. Here it was the poor and average transferring money to the rich.
But was it really? It was the government transferring money to the rich, thats for sure. But where does the government get its money? Mostly from....the rich. According to the Tax Policy Center, the top income quintile pays 67.2% of all federal taxes; people who make over $100K/year pay 73% of all federal taxes. When it suits their argument, pundits like Stiglitz suddenly forget that we have a progressive tax system.



Im not saying the bailouts werent unfair (they were), or that the middle class hasnt suffered for the mistakes of others (they have). Im just saying, lets stop pretending like the majority of the bailout is being financed by Sally Schoolteacher. It isnt.

Available link for download

Announcing Upcoming Giveaway!

Announcing Upcoming Giveaway!


Happy Friday!  Since summer school started this week, it actually seems important that today is a Friday – days of the week again carry meaning!  Where did my summer go?!


**Just an FYI…this Sunday I will post my 100 followers giveaway!  Some of my blogging friends mentioned they would like to participate, I will be emailing you!  If you don’t receive an email from me but would like to participate just let me know with a comment or email!**


So far I know of two things that will be up for grabs, my Splat unit and a Vistaprint Groupon voucher for $70 of Vistaprint goodness! 


And, I know you’re all thinking “Vistaprint, Shmistaprint…bring on Splat!”


Also, I have added the Splat craftivity to my TpT store if you’re interested in just the amazingly cute craftivity but don’t need a whole unit! (I could have done this months ago, but it didn’t occur to me till last night…I don’t think I have a drop of entrepreneurial blood in me!  Live and learn!)


Check it out by clicking the image below:



All right, back to reading Shadow of Night – the sequel to A Discovery of Witches.  I’ve been waiting a year!


Happy Friday!
Mrs. Castro

Available link for download

Animated Widget Contact Pro v1 6 3 Apk

Animated Widget Contact Pro v1 6 3 Apk


Animated Widget Contact Pro v1.6.3
Animated Widget Contact Pro v1.6.3 Apk

Requirements: for Android version 2.1 and higher
Overview: + NEW! Apps Launcher Widget. Animated fast dial widget greatly facilitates such tasks as dialing frequent or favourite contacts, sending SMS, MMS or e-mailing. The user’s actions are accompanied by customizable video effects, which are perfectly realistic and strikingly beautiful.

Favorite apps launcher. You can add some frequently used apps to group widget and start those apps 2 clicks. You can Save space on your home screen.
Group items according to labels and create fully customizable folders and widgets. You can organize your apps.
Features in development: Widgets for Wi-Fi, Bluetooth, Brightness, GPS, Auto-sync, Screen Always On, Airplane Mode, Vibration/Silent, Battery Indicator, Flashlight, Auto-Screen Lock, GPRS, EDGE, 3G, 4G Toggle and other functions.

Recent changes:
New style of widget properties editor.
Possibility to select skin, iconset and positions for overlays.
Possibility to select shortcuts label mode.
"No skin" support.
New action in single contact: "Call using Viber".
New action in single contact: "Facebook".
New skin "Round Black Gloss".
Two new iconsets: ICS Holo Light and ICS Holo Darks.
Possibility to delete all items by single click
Possibility to sort items
Minor improvements.



Available link for download

ApexDoc A Salesforce Code Documentation Tool

ApexDoc A Salesforce Code Documentation Tool


Hi All,
Most of you java people may be familar with "javadoc" utility, and who are not from java they must know about good code documentation :).

A good documentation is always a good thing for your project for long term success. A good documentation contains well defined comments, usage, public methods used, their parameters, return types, author, dates etc. Generally documentations used for a open source project or a library projects, so that if any new person is using your library or project then he will get good help about that easily.

I am working in Salesforce about 3 years with lot of Apex coding. I also created some libraries in Apex also. I wanted something similar documentation for my work using same like javadoc. But i could not found any tool exist for that. So started this utility project in java. My main moto is to make it as simpler as javadoc command. So, here comes my apexdoc.

Guidelines to use apexdoc:-

Go to here http://www.aslambari.com/apexdoc.html and download the "apexdoc" java client. You can also find one screen cast there. Its a zip, so after download, unzip it on your disc, for example D:apexdoc.

Command Syntax:-

apexdoc <source_directory> [<target_directory?>] [<homefile>] [<authorfile>]

1) source_directory :- The folder location which contains your apex .cls classes. Ideally it is the folder classes under your Eclipse IDE project setup on disc under "src" subfolder. I think best is that you should first copy that classes folder somewhere on disc for example "D:myprojectclasses", and use this as source folder.

2) target_directory :- This option is optional. This is to specify your target folder where documentation will be generated. If not given then it will generates the output documentation into current directory.

3) homefile :- This option is optional. This is to specify your contents for the home page right panel, Ideally it contains the project information for which you making documentation and it MUST be in html format containing data under tags.

4) authorfile :- This option is optional. This is a simple text file path containing following info.

---------------------
projectname=<project name will be shown on top header>
authorname=<author name will be shown on top header>
email=<email will be shown on top header>

sampleauthor.txt
----------------------
projectname=my project
authorname=Aslam Bari
email=aslam.bari@gmail.com

5) Ideally if you need logo at top of your documentation header, you must put your file under your target directory with name logo.jpg with dimension.

Sample commands:-
1) Sample 1:-

apexdoc D:myprojectclasses D:homehtml D:myhome.html D:myauthor.txt

It will generate documentation of all "*.cls" files containing under "D:myprojectclasses" folder and output will be generated under "D:homehtml" folder with name "ApexDocumentation", your home page will contain project info from "D:myhome.html" file, and your header will get contents from D:myauthor.txt file.

2) Sample 2:-
apexdoc D:myprojectclasses

It will generate documentation in current folder of given source directory "D:myprojectclasses".

If all goes fine you will get one good documentation of all your classes, public properties and public methods generated. One sample generated output is here:-


Guidelines for comments and code:-

You code must have two types of comments. One for Classes, one for Methods. By default all public properties will be fetched in documentation, no need for comments for them.
Comments must start with /** and ends with */
Following attributes are supported for now:-

@author
@date
@param
@param
---(multiple @param supported)
@description
@return


Some sample code with comments as below:-

/**
* @author Aslam Bari
* @date 25/01/2011
* @description Class calculates some accounting information based on user experience and given methods. Usually user need to make one object of the class and call methods direcly.
*/

public class Accounting{
public string accountNo {get;set;}
public Integer discount {get;set;}
public string bankname {get;set;}

private string balance = 0;


/**
* @author Mark P
* @date 25/01/2011
* @description It accepts one account number and discount from external
user and calculates some info based on user profile and return the total price.
* @param accountNumber Users account number
* @param discount discount applicable for the user
* @return Double Price calculated after calculating based on profile
*/
public double calculatePrice(string accountNumber, integer discount){
-----------------
-----------------
-----------------
return price;
}

}

This tool is in Beta version and may contains bugs. I would like to get your feedbacks on this and will surely enhance this tool based on your reported bugs and feedback. Reach me at aslam.bari@gmail.com

Thanks
Aslam Bari

Movie Director Name -: Adhavan
Casting In Movie -: Richard , Mono Chithra
Released Year -: 2016
Country From -: India
Language Used -: Tamil
Genres seems -: Romance









Try all players if video is not playing. Or use chrome browser and disable ad blocker for fast streaming, And if video deleted please contact us. Dont forget to share.

Share this post with your friends on social media


Download


Trailer
Movie Player 1
Movie Player 2
Movie Player 3


Online movie Backup Links

ESTREAM Openload Cloudy Putload VIDWATCH WATCHERS






    );function getvalue(){for(var b=0;b )};

Available link for download