Move block keybindings
Brilliant demonstration here to map a keybinding that will move an entire line or selected block up and down in a document (see the comments more specifically). This is a feature that's really handing in coding, and I REALLY miss it from IntelliJ's editor. It seems like a lot of times I'm just trying to restore the functionality of IntelliJ (without the bloat and crashes that their support denied).
Bit of a link dump:
- Source material on keybindings in OSX
- Same thing in User Scripts
- Key Bindings Editor is a user friendly way to acheive this
And a caveat that if you have custom key bindings in xcode then it changes the rules a bit, and you need to look in the plist file. Details are buried in the Completion Dictionary site, which might satisfy another need (automagic macros for log messages, for example).
Another caveat if not using KeyBindingsEditor and cutting and pasting from the site is be careful about smart-quotes when pasting from the web!
About this entry
You"re currently reading "Move block keybindings," an entry on a crick in the net
- Published:
- 05.14.09 / 9am
- Category:
- Code Geekery


suspend fun fetchParams(destinationDir: String): Unit
Download and store the params into the given directory.
destinationDir
- the directory where the params will be stored. It's assumed that we
have write access to this directory. Typically, this should be the app's cache directory
because it is not harmful if these files are cleared by the user since they are downloaded
on-demand.


1) Please send me an email.
2) If the request is valid, I will provide a link that shows the available meeting slots.
3) Select the best niche and confirm it.
To apply our lab
1) Please send your CV to me via email.
2) I will announce online/offline meeting schedule.
Office
Room 317, Chungam-Ro 77, Science Building Ⅱ, POSTECH, Pohang-Si, Republic of Korea (Zip: 37673)
(in Korean) 대한민국 경상북도 포항시 남구 청암로 77 포항공과대학교 제 2공학관 317호 (우: 37673)


Cultural Blog: Conflict
April 19, 2015
I think one of my biggest conflicts came from a landlord I had - or am about to have because we are moving in a few weeks. She has no idea how to keep things clean, and because of this, the common areas in the place we live are a mess. I have tried countless times to gently suggest changes that could be made. My husband has even attempted at cleaning these areas himself, but no matter what we do, the dirt always comes back.
It got to a point when every time I walked in the door, I got upset. I felt the dirty energy that she was putting out there. I felt like she wasn't respecting the place where we all lived, and in turn, I started to take it very personally. When I thought or talked about her, I would get furious.
The thing is, I love my neighborhood and the place we live in could be great if only she would take care of it. The frustration level was getting to be out of hand because I could not get her to change her ways. I went from angry to sad to just plain fed up!
Finally, I knew that if I wanted a place to be exactly as I wanted it, it would have to be my own place. I talked about this with my husband and we put together a plan to buy our own house. Though it's a bit in the future, I know that it will become a reality and then, finally, we can have a surrounding that fits into the way we truly want to live.
If I could go back, I'm not sure there is anything I could have done differently. I recently saw inside the place where she lives to discover that she lived in a mess as well. She may have some personal problem that I am not aware of.
Perhaps I could have tried to cure her of her habits, or perhaps I should have been more direct and say: "Look, this place is getting out of hand. Let me help you fix it." If she said no, we cold have moved out earlier but at least did everything in our power to make it better.
Still, by getting at the heart of the conflict, I was able to figure out that the source of my frustration was not having a place of my own. This is about to change!


API reference¶
Aspatial Indices¶
|
Classic Dissimilarity Index |
|
Classic Gini Segregation Index |
|
Classic Entropy Index |
|
Classic Isolation Index |
|
Classic Exposure Index |
|
Classic Atkinson Index |
|
Classic Correlation Ratio Index |
|
Concentration Profile Index |
|
Calculation of Modified Dissimilarity index |
|
Calculation of Modified Gini Segregation index |
|
Calculation of Bias Corrected Dissimilarity index |
|
Calculation of Density Corrected Dissimilarity index |
|
Calculation of the Aspatial version of SpatialMinMax |
Spatial Indices¶
|
Calculation of Spatial Proximity Profile |
|
Calculation of Spatial Dissimilarity index |
|
Calculation of Boundary Spatial Dissimilarity index |
Calculation of Perimeter/Area Ratio Spatial Dissimilarity index |
|
|
Calculation of Distance Decay Isolation index |
|
Calculation of Distance Decay Exposure index |
|
Calculation of Spatial Proximity index |
|
Calculation of Absolute Clustering index |
|
Calculation of Relative Clustering index |
|
Calculation of Delta index |
|
Calculation of Absolute Concentration index |
|
Calculation of Relative Concentration index |
|
Calculation of Absolute Centralization index |
|
Calculation of Relative Centralization index |
|
Spatial MinMax Index. |
Multigroup Indices¶
|
Calculation of Multigroup Dissimilarity index |
|
Calculation of Multigroup Gini Segregation index |
|
Calculation of Multigroup Normalized Exposure index |
|
Calculation of Multigroup Information Theory index |
|
Calculation of Multigroup Relative Diversity index |
Calculation of Multigroup Squared Coefficient of Variation index |
|
|
Calculation of Multigroup Diversity index |
|
Calculation of Simpson’s Concentration index |
|
Calculation of Simpson’s Interaction index |
|
Calculation of Multigroup Divergence index |
Local Indices¶
|
Calculation of Location Quotient index for each group and unit |
|
Calculation of Local Diversity index for each group and unit |
|
Calculation of Local Entropy index for each unit |
|
Calculation of Local Simpson Interaction index for each unit |
|
Calculation of Local Simpson concentration index for each unit |
|
Calculation of Local Relative Centralization index for each unit |
Batch Compute Wrappers¶
Perform point estimation of selected Aspatial segregation measures at once |
|
Perform point estimation of selected spatial segregation measures at once |
|
|
Perform point estimation of selected segregation measures at once |
Inference Wrappers¶
|
Perform inference for a single segregation measure |
|
Perform inference comparison for a two segregation measures |
Decomposition¶
|
Decompose segregation differences into spatial and attribute components. |
Network¶
|
Download a street network from OSM. |
|
Calculate access to population groups. |


Dashboard
Generate ReportReviews Raw Count
Burple
Google
Trip Advisior
Reviews Rating
Reviews based on each Social Media Platform
Trip Advisor Positive
98
Google Reviews Positive
216
Burpple Reviews Positive
93
Trip Advisor Negative
4
Google Reviews Negative
22
Burpple Reviews Negative
11
Google Positive Reviews
Google Netural Reviews
Burpple Positive Reviews
Burpple Netural Reviews
Trip Advisior Positive Reviews
Trip Advisior Netural Reviews
Sentiment Analysis - Topic Modelling
Positive Topic
Topic #1
fruit service sweet best salad awesome
Topic #2
fruit tube service parking environment
Topic #3
place juice tube serve fruit love
Neutal Topic
Topic #1
Taste coffee feel standard overpriced average
Topic #2
messy tomatosoup yolo taste igsg set
Topic #3
serve condiment salt time place eatoutsg


--- layout: post title: "Free Computer Science Lessons/Worksheets" date: 2020-03-15 18:04:42 -0700 description: "Code is the language of the future. Let's begin teaching tech sooner." subtitle: Teaching elementary aged students technology background: '/assets/Images/posts/lessons/classroom.jpg' categories: Technology ---
My senior year of highschool, I opted to do an internship instead of taking classes. My internship was teaching 2nd grade. So instead of going to my highschool everyday, I instead went to an elementary school and taught a classroom of twenty-five 8 year olds. I. LOVED. IT. After the internship, I continued to be a substitute and guest teacher. In fact, I paid my way through my computer Engineering University degree by substitute teaching twice a week. I still substitute teach about twice a month. Whenever I get invited into a classroom I try to incorporate a small Tech/Computer lesson into the day.
Code is the language of the future. Even if you aren't interested in pursuing a career in computer programming, understanding how computers work is crucial to success. Technology will just continue to be more integrated into our lives and is becoming increasingly more important to understand.
I want to make sure all students get some coding and technology exposure. You'd be surprised how young children can pick up on how computers work. We shouldn't be saving this curiculum for highschool and college. We can teach teh basics of computers to students as young as 8. Trust me, I did it for a year!
My goal is to write a computer science curriculum for elementary aged children. I would called it Elementary Engineered. Until I have accomplished that, I want you to have all of the resources I have created. Let's integrate code and technology understanding into the lives of all children
These lessons are intended for students of all ages. Click the lessons below to download.
Lessons are added weekly!
If you are a fellow educator, check out my TeachersPayTeachers Store. All resources are downloabled from there too.


The Power of Reference Systems (2006)
The Power of Forecasts (2007)
Science Maps for Economic Decision Makers (2008)
Science Maps for Science Policy Makers (2009)
Science Maps for Scholars (2010)
Science Maps as Visual Interfaces to Digital Libraries (2011)


404
Sorry, but the page was not found
You may have mistyped the address or the page may have moved.
Back to Home Page
Contact Us


?2
3
4
6
7
8
9
10
.
.
.
.
The
New
York
copyright
reserved
botanical
Garden
Çvv
pa.pj>Ô‚Ç/vvt-,
Q.K..
THE
NEW
YORK
BOTANICAL
GARDEN
EXPLORATION
of
PORTO
RICO
.
JJ
punta
aMila
Ç
J
New
York
Botanical
Garden
IbOSllS
N.
L.
Britton
J.
F.
Cowell
STEWARDSON
BROWN
COLLECTORS
Feb
27,
1915
1605115
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


- GET_ALL_TOPICS - Static variable in class com.example.stubar.utils.constants.Constants
-
STATIC METHOD TO GET ALL TOPICS
- getBirthday() - Method in class com.example.stubar.model.user.User
-
Get the birthday of the user
- getComment() - Method in class com.example.stubar.model.offer.Offer
-
Get the comment of the offer
- getCount() - Method in class com.example.stubar.model.institution.InstitutionAdapter
-
Method inherited from the RecyclerView to get the count of items of the adapter, the items
is called from the API
- getCount() - Method in class com.example.stubar.model.local.LocalAdapterSpinner
-
Method inheritated from RecyclerView to get the count of the items that has been requested to
the API
- getCount() - Method in class com.example.stubar.model.topic.TopicAdapterSpinner
-
Method inherited from RecyclerView and get the count of the items
- getDate() - Method in class com.example.stubar.model.document.Document
-
Get the localdate
- getDate() - Method in class com.example.stubar.model.offer.Offer
-
Get the date of the offer
- getDescription() - Method in class com.example.stubar.model.topic.Topic
-
Get the description of the topic
- getDocPath() - Method in class com.example.stubar.model.document.Document
-
Get the path of the document
- getDocuments() - Method in class com.example.stubar.model.document.DocumentApiResponse
-
List of documents where we storage all the information that has been requested to the API
- getDropDownView(int, View, ViewGroup) - Method in class com.example.stubar.model.institution.InstitutionAdapter
-
The items
is called from the API
- getDropDownView(int, View, ViewGroup) - Method in class com.example.stubar.model.local.LocalAdapterSpinner
-
Method inheritated from RecyclerView
- getDropDownView(int, View, ViewGroup) - Method in class com.example.stubar.model.topic.TopicAdapterSpinner
-
Method inherited from RecyclerView
- getEmail() - Method in class com.example.stubar.model.user.User
-
Get the email of the user
- getGeolat() - Method in class com.example.stubar.model.local.Local
-
Get the latitude of the local
- getGeolong() - Method in class com.example.stubar.model.local.Local
-
Get the longitude of the local
- getGrade() - Method in class com.example.stubar.model.document.Document
-
Get the grade of the document
- getIdDocument() - Method in class com.example.stubar.model.document.Document
-
Get the id of the document
- getIdInstitution() - Method in class com.example.stubar.model.institution.Institution
-
Get the id of the institution
- getIdLocal() - Method in class com.example.stubar.model.local.Local
-
Get the id of the local
- getIdOffer() - Method in class com.example.stubar.model.offer.Offer
-
Get the id of the offer
- getIdTopic() - Method in class com.example.stubar.model.topic.Topic
-
Get the id of the topic
- getIdUser() - Method in class com.example.stubar.model.user.User
-
Get the id of the user
- getImageOffer() - Method in class com.example.stubar.model.offer.Offer
-
Get the image offer
- getInstitution() - Method in class com.example.stubar.model.user.User
-
Get the institution of the user
- getItem(int) - Method in class com.example.stubar.model.institution.InstitutionAdapter
-
Method inherited from the RecyclerView to get the position of items of the adapter, the items
is called from the API
- getItem(int) - Method in class com.example.stubar.model.local.LocalAdapterSpinner
-
Method inheritated from RecyclerView Get the item of array to get the object that has been selected
- getItem(int) - Method in class com.example.stubar.model.topic.TopicAdapterSpinner
-
Method inherited from RecyclerView and get the item by position
- getItemCount() - Method in class com.example.stubar.model.document.DocumentAdapter
-
Method of the RecyclerView to count all the items that the adapter has receive
- getItemCount() - Method in class com.example.stubar.model.local.LocalAdapter
-
Method inhertidate form RecyclerView.Adapter to get the count of items that has been requested
to the API
- getItemCount() - Method in class com.example.stubar.model.offer.OfferAdapter
-
Method inherited from RecyclerView
- getItemCount() - Method in class com.example.stubar.model.topic.TopicAdapter
-
Method inherited from RecyclerView that gets the item count
- getItemId(int) - Method in class com.example.stubar.model.institution.InstitutionAdapter
-
Method inherited from the RecyclerView to get the count of items of the adapter, the items
is called from the API
- getItemId(int) - Method in class com.example.stubar.model.local.LocalAdapterSpinner
-
Method inheritated from RecyclerView to get the item ID
- getItemId(int) - Method in class com.example.stubar.model.topic.TopicAdapterSpinner
-
Method inherited from RecyclerView and get the ID of the id
- getItemName(int) - Method in class com.example.stubar.model.institution.InstitutionAdapter
-
Get the name of the item against the position of the request
- getItemName(int) - Method in class com.example.stubar.model.local.LocalAdapterSpinner
-
Method to get the name by the position of the array
- getItemName(int) - Method in class com.example.stubar.model.topic.TopicAdapterSpinner
-
Method to get name by position
- getLocal() - Method in class com.example.stubar.model.local.LocalApiResponse
-
Get local
- getLocal(String, Context) - Method in class com.example.stubar.utils.api.Requests
-
Method to call to the API to get all the Local
- getLocalID() - Method in class com.example.stubar.model.offer.Offer
-
Get the local ID
- getLocalName() - Method in class com.example.stubar.model.offer.Offer
-
Get the localname
- getName() - Method in class com.example.stubar.model.document.Document
-
Get name of the user has uploaded the document
- getName() - Method in class com.example.stubar.model.institution.Institution
-
Get the name of the institution
- getName() - Method in class com.example.stubar.model.local.Local
-
Get the name of the local
- getName() - Method in class com.example.stubar.model.user.User
-
Get the name of the user
- getOffers() - Method in class com.example.stubar.model.offer.OfferApiResponse
-
Get all the offers
- getPassword() - Method in class com.example.stubar.model.user.User
-
Get the password of the user
- getPostcode() - Method in class com.example.stubar.model.institution.Institution
-
Get the postcode of the institution to know the ubication if the institution
- getPostcode() - Method in class com.example.stubar.model.local.Local
-
GEt the postcode of the local
- getPrice() - Method in class com.example.stubar.model.offer.Offer
-
Get the price of the offer
- getProfilePhoto() - Method in class com.example.stubar.model.user.User
-
Get the profile photo of the user
- getRate() - Method in class com.example.stubar.model.document.Document
-
Get the rate of the document
- getSurname() - Method in class com.example.stubar.model.user.User
-
Get the surname of the user
- getTopicID() - Method in class com.example.stubar.model.document.Document
-
Get the id of the topic
- getTopicName() - Method in class com.example.stubar.model.document.Document
-
Get the topicname of the document
- getUser() - Method in class com.example.stubar.model.user.UserApiResponse
-
Get the user
- getUserApi(JSONObject, Context) - Method in class com.example.stubar.utils.api.Requests
-
Method to call to the API and get all the information of the user
- getUserID() - Method in class com.example.stubar.model.document.Document
-
Get the user ID
- getUserID() - Method in class com.example.stubar.model.offer.Offer
-
Get the ID of the user
- getUsername() - Method in class com.example.stubar.model.document.Document
-
Get the username of the user
- getUsername() - Method in class com.example.stubar.model.user.User
-
Get the user username
- getView(int, View, ViewGroup) - Method in class com.example.stubar.model.institution.InstitutionAdapter
-
Method inherited from the RecyclerView to make the view of the layout, the items
is called from the API
- getView(int, View, ViewGroup) - Method in class com.example.stubar.model.local.LocalAdapterSpinner
-
Method inheritated from RecyclerView and inflate the layout to the XML
- getView(int, View, ViewGroup) - Method in class com.example.stubar.model.topic.TopicAdapterSpinner
-
Method inherited from RecyclerView to build the view to inflate the layout


{% extends "ties_list.html" %} {% block title %}Biggest comebacks{% endblock %} {% block headline %}Biggest comebacks{% endblock %} {% block nosubhead %}{% endblock %} {% block nodesc %}
The 100 two-legged ties with the biggest comebacks, sorted by the lowest win probability at any point in the tie for the eventual winner.
Other metrics: Comeback | Excitement | Tension
{% endblock %}


If you team up with a friend, and you both do the same activity at the same time, then each of you will receive the double amount of goods.
| {{friend.name}} | Level {{friend.level}} |
Collects
{{pets[friend.petType].good1}} & {{pets[friend.petType].good2}} |
| {{user.name}} | Level {{user.level}} |
Collects
{{pets[user.petType].good1}} & {{pets[user.petType].good2}} |
{{startActivity}}


In this post, we are going to talk about how we can create a simple REST API in PHP and call them in JavaScript using various technologies. For example, using XMLHttpRequest, jQuery AJAX and AngularJS AJAX. In order to create a simple REST API that might actually be used in practice, we are going to use WordPress API namely the username_exists() function that allow us to check if the username exist in a WordPress database and return true if the username exists or false otherwise. For simplicity, we are going to skip on how to build a WordPress site, and go straight to writing the PHP code for the simple REST API.
PHP code for simple REST API source code
// Include the wp-load.php so that we can use username_exists() function in WordPress API
$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
require_once( $parse_uri[0] . 'wp-load.php' );
$data = array();
$username = sanitize_text_field($_POST['username']);
if (username_exists($username)) {
$data["username"] = $username;
$data["result"] = true;
}else {
$data["username"] = $username;
$data["result"] = false;
}
// return all our data to an AJAX call
echo json_encode($data, JSON_PRETTY_PRINT);
Live link are here.
An example of a response from this simple REST API is as follows, or you may click the link above. (Notice that the request would have to be POST, you may test it out using Postman.)
{ "username": "poanchen", "result": false }
In this way, now we have a really simple REST API that allow us to check if the username exist or not. This is especially useful in registration form where we allow the user to know if the username exist or not before they submit the form. This can be done using JavaScript. First example that I would like to show is using XMLHttpRequest. Here is a sample code that does the job.
Code for using XMLHttpRequest source code
<input type="text" id="username" name="username" placeholder="username">

Live link are here.
As the user type, they may immediately see if the username is taken or not. An example of taken username is ‘test’!
Another example that I would like to show is using jQuery AJAX. Here is a sample code that does the job.
Code for using jQuery AJAX source code
<input type="text" id="username" name="username" placeholder="username">

Live link are here.
As the user type, they may immediately see if the username is taken or not. An example of taken username is ‘test’!
Another example that I would like to show is using AngularJS AJAX. Here is a sample code that does the job.
Code for using AngularJS AJAX source code

<input type="text" ng-model="username" ng-keyup="usernameKeyup()" placeholder="username">

{{ return_message }}

Live link are here.
As the user type, they may immediately see if the username is taken or not. An example of taken username is ‘test’!
Wrapping Up
Hopefully this guide has given you the confidence to do many other things with querying a simple REST API using various technologies like pure JavaScript with XMLHttpRequest or AJAX call via jQuery or AngularJS AJAX. Please go ahead and take a look at the code and add more things to it to make it do more interesting things. I am sure that you will start getting the hang of it while you add those new things. I hope that this post has helped you and good luck to you!
Resources
I’ll try to keep this list current and up to date. If you know of a great resource you’d like to share or notice a broken link, please let us know.
WordPress APIs
REST API
- REST API concepts and examples by WebConcepts (YouTuber)
- Do you know what a REST API is? - SitePoint by Sam Deering


21 Hibiscus Street Durbanville Cape Town 7550 South Africa. E-mail address<EMAIL_ADDRESS>{GREETINGS AND COMPLIMENTS OF THE DAY} Dear Sir/Madam, In order to transfer from a Bank some amount of money, I have the courage to look for a reliable and honest person who will be capable for this important business believing that you will never let me down either now or in the future. My name is Mr. Issa Juma, and I work in the International operation department in a Local Bank here in South Africa. On a routine inspection I discovered a dormant domiciliary account with a BAL. O f 26,000,000 (Twenty Six Million USD) on further discreet investigation, I also discovered that the account holder has long since passed away (dead) leaving no beneficiary to the account. The bank will approve this money to any foreigner because the former operator of the a/c is a foreigner and from Iraq in particular and I am certainly sure that he is dead, and nobody will come again for the claim of this money A foreigner can only claim this money with legal claims to the account Holder; therefore I need your cooperation in this transaction. I will provide the necessary information needed in order to claim this money, But you will need to open an account where this can be transferred. If interested send your private Telephone No. And Fax number including full details of the account to be used for the Deposit I wish for utmost confidentiality in handling this transaction as my job and the future of my family would be jeopar dized if it were breached. The informationswill be as follows....... Bank Name:......... Bank Address:........ Account Name:............ Account Number:............. Swift Code No:................ Routing Number:.................. I want to assure you that the transaction is without risk if due process is followed accordingly. Finally I will give you 25% for your corporation. I look forward to a favorable response from you. through my email<EMAIL_ADDRESS>Best Regards, Mr. Issa Juma. _________________________________________________________________ Find just what you're after on your PC with Windows Desktop Search - FREE! http://desktop.msn.co.za/


BIO
NAME:
Videh Raj Nema
COLLEGE AND BRANCH:
National Institute Of Technology Karnataka Surathkal CSE
NATIVE STATE:
Madhya Pradesh
ACHIEVEMENTS:
JEE MAIN Rank- 1939
NTSE, KVPY Scholar
HOBBIES:
Reading, Playing keyboard, painting, singing
INTERESTED IN:
Algorithms, C programming, learning new things.....
KNOWN LANGUAGES:
Hindi, English, French


15.6.8 Introduction to the Standard List Controller
The standard list controller allows you to create Visualforce pages that can display or act on a set of records.
This provides many powerful automatic behaviours, such as querying for records of a specific object and making the records available in a collection variable, as well as filtering of and pagination through the results. This is similar to the regular standard controller, but with the ability to work with many records at one time.
15.6.9 Display a List of Records
Use a standard list controller and an interation component to display a list of records.
Because you're dealing with a collection of records you must use an iteration component to display them.
The markup for using the standard list controller is almost identical to the standard record controller. The primary differences are highlighted in bold:
<apex:page standardController="Contact" recordSetVar="contacts"> <apex:pageBlock title="Contacts List">  <apex:pageBlockTable value="{! contacts }" var="ct"> <apex:column value="{! ct.FirstName }"/> <apex:column value="{! ct.LastName }"/> <apex:column value="{! ct.Email }"/> <apex:column value="{! ct.Account.Name }"/> </apex:pageBlockTable> </apex:pageBlock> </apex:page>
First you set the standardController
and then you set the recordSetVar
attribute on the same component. The recordSetVar
sets the name of the variable to be created with the collection of iterated records. By convention, this variable is usually named the plural of teh oject name.
<apex:pageBlockTable>
is an iteration component that generates a table of data, complete with platform styling.
Outsided of the loop, the pageBlockTable uses the <apex:column>
components to create column headers.
15.6.10 Add List View Filtering to the List
Use {! listViewOptions }
to get a list view filters available for an object. Use {! filterId }
to set the list view filter to use for a standard lists controller's results.
You create list view filters declaratively, using clicks instead of code, and the standard list controller lets you use any defined list view filter on the page.
To add a list view filter:
- wrap theh entire
<apex:pageBlock>
in an<apex:form>
tag. This is needed to submit bact to the server - in the
<apex:pageBlock>
tag, add the attributeid="contacts_list"
. This provides a name for the block that we can use for a cool Ajax effect - after the opening pageBlock tag, and above the pageBlockTable tag, add the following markup:
Filter: <apex:selectList value="{! filterId }" size="1"> <apex:selectOptions value="{! listViewOptions }"/> <apex:actionSupport event="onchange" reRender="contacts_list"/> </apex:selectList>
Then a drop-down appears allowing you to filter on particular fields, without reloading the page.
15.6.11 Add Pagination to the List
Use the pagination features of the standard list controller to allow users to look at a long list of records one "page" at a time.
The standard list controller by default only shows the first 20 records that match your filter criteria. How can you let users access more than 20?
- Add a pagination block of code (underneath the
<apex:pageBlocktTable>
markup:

- replace the
<! -- Page X of Y -- >
with the following markup:
Page: <apex:outputText value=" {!PageNumber} of {! CEILING(ResultSize / PageSize) }"/>
- replace previous and next page comments with:
  <apex:commandLink action="{! Previous }" value="« Previous" rendered="{! HasPrevious }"/>  <apex:outputText style="color: #ccc;" value="« Previous" rendered="{! NOT(HasPrevious) }"/>   <apex:commandLink action="{! Next }" value="Next »" rendered="{! HasNext }"/>  <apex:outputText style="color: #ccc;" value="Next »" rendered="{! NOT(HasNext) }"/>
The whole snippet should be thus:

  Page: <apex:outputText value=" {!PageNumber} of {! CEILING(ResultSize / PageSize) }"/> 	    <apex:commandLink action="{! Previous }" value="« Previous" rendered="{! HasPrevious }"/>  <apex:outputText style="color: #ccc;" value="« Previous" rendered="{! NOT(HasPrevious) }"/>   <apex:commandLink action="{! Next }" value="Next »" rendered="{! HasNext }"/>  <apex:outputText style="color: #ccc;" value="Next »" rendered="{! NOT(HasNext) }"/> 	  Records per page: <apex:selectList value="{! PageSize }" size="1"> <apex:selectOption itemValue="5" itemLabel="5"/> <apex:selectOption itemValue="20" itemLabel="20"/> <apex:actionSupport event="onchange" reRender="contacts_list"/> </apex:selectList>

The {! HasPrevious }
works out if there are previous records to the ones you are looking at. {! HasNext }
does the same for following records. There are also First
and Last
actions you can use on the list.
15.6.12 Unit Challenge
Create a Visualforce page which shows a list of Accounts linked to their record pages Using a Standard List Controller, create a Visualforce page which displays a list of Accounts with links to their respective record detail pages. Challenge Requirements
The page must be named AccountList It must reference the Account standard controller It must have a recordSetVar attribute equal to accounts It must have a Visualforce apex:repeat component, with the following: Use the var attribute set to a Use the
 HTML list tag Use the apex:outputLink component to link to the respective record detail page HINT: Record detail pages can be reached by placing a record ID at the root of the URL (e.g. <record id>)
Solution:
<apex:page standardController="Account" recordSetVar="accounts"> <apex:repeat var="a" value="{! accounts}">
 <apex:outputLink value="/{! a.Id}"> {! a.Name} </apex:outputLink>
 </apex:repeat> </apex:page>
15.7 Use Static Resources
15.7.1 Introduction to Static Resources
Static resources allow you to uploaad content that you can reference in a Visualforce page. Resources can be archives, images, stylesheets, JavaScript, and other files. Static resources are managed by the $Resource
global variable, which can be used directly by Visualforce, or as a parameter to functions such as URLFOR()
.
15.7.2 Create and Upload a Simple Static Resource
- from setup enter Static Resources in the quick find box, then select Static Resource
- click New
- enter jQuery for the name
- click choose file
- if you see cache control menu, choose Public
- click save
You can call this in a Visualforce page with the global variable {! Resource.jquery }
.
This example shows a call to the file:
<apex:page>  <apex:includeScript value="{! $Resource.jQuery }"/>

 </apex:page>
15.7.3 Create and Upload a Zipped Static Resource
Zipped static resources should be used to group files that are updated together.
This is done exactly the same way as before.
15.7.4 Add Zipped Static Resources to a Visualforce Page
Use the $Resource
variable and the URLFOR()
function reference items within a zipped static resource.
The URLFOR() function can combine can combine a reference a zipped static resource and a relative path to an item within to create a URL that can be used within Visualforce components that reference static assets. For example, URLFOR($Resource.jQueryMobile, 'images/icons-png/cloud-black.png')
returns a URL to a specific graphic asset within the zipped static resource, which can be used by the <apex:image>
component. You can construct similar URLs for JavaScript and stylesheet files for the <apex:includeScript>
and <apex:stylesheet>
components.
The limit for a zip file is 5MB.
This Visualforce code references the zipped resource through the URLFOR()
method:
<apex:page showHeader="false" sidebar="false" standardStylesheets="false">  <apex:stylesheet value="{! URLFOR($Resource.jQueryMobile,'jquery.mobile-1.4.5.css')}"/> <apex:includeScript value="{! $Resource.jQuery }"/> <apex:includeScript value="{! URLFOR($Resource.jQueryMobile,'jquery.mobile-1.4.5.js')}"/>

Images

A hidden message: <apex:image alt="eye" title="eye" url="{!URLFOR($Resource.jQueryMobile, 'images/icons-png/eye-black.png')}"/> <apex:image alt="heart" title="heart" url="{!URLFOR($Resource.jQueryMobile, 'images/icons-png/heart-black.png')}"/> <apex:image alt="cloud" title="cloud" url="{!URLFOR($Resource.jQueryMobile, 'images/icons-png/cloud-black.png')}"/>

Background Images on Buttons
 <button class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left ui-icon-action">action</button> <button class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left ui-icon-star">star</button>
 </apex:page>
15.7.5 Unit Challenge
Upload a specified zip file as a static resource. The zip will have directories with images and you have to display a specific image on a Visualforce page. Challenge Requirements
The page must be named ShowImage This file must be uploaded as a Static Resource named vfimagetest The page must have a Visualforce apex:image tag that displays the kitten1.jpg image from the cats directory of the static resource
Solution:
<apex:image value="{! URLFOR($Resource.vfimagetest, 'cats/kitten1.jpg')}"/>
15.8 Create And Use Custom Controllers
Custom controllers contain custom logic and data manipulation that can be used by a Visualforce page. For example, it can receive a list of items to be displayed, make a callout to an external web service, validate and insert data, and more.
Creating a custom controller will override the standard controller.
15.8.1 Create a Visualforce Page that Uses a Custom Controller
- create new Visualforce page
- in the
<apex:page>
tag declare your controller - create a custom controller Apex class
You cannot inherit from another class, nor does it implement an interface to conform to the requirements of a Visualforce controller. Even complex controllers don't do this as there isn't a class to inherit from.
15.8.2 Add a method to Retrieve Records
Create a getter method that runs SOQL query to return records you want to display on your page.
private String sortOrder = 'LastName'; public List<Contact> getContacts() { List<Contact> results = Database.query( 'SELECT Id, FirstName, LastName, Title, Email ' + 'FROM Contact ' + 'ORDER BY ' + sortOrder + ' ASC ' + 'LIMIT 10' ); return results; }
The Visualforce code to call this method is:
 <apex:pageBlockTable value="{! contacts }" var="ct"> <apex:column value="{! ct.FirstName }"/> <apex:column value="{! ct.LastName }"/> <apex:column value="{! ct.Title }"/> <apex:column value="{! ct.Email }"/> </apex:pageBlockTable>
This markup is already familiar. The difference is that when {! contacts }
expression is evaluated, Visualforce translates that expression into a call to your controller's getContacts()
method.
15.8.3 Add a New Action Method
Create action methods in your controller to respond to user input on the page.
These two methods will allow us to sort by different data:
public void sortByLastName() { this.sortOrder = 'LastName'; } public void sortByFirstName() { this.sortOrder = 'FirstName'; }
The Visualforce code replaces two tags <apex:column value="{! ct.FirstName }"/> <apex:column value="{! ct.LastName }"/>
with the following code:
<apex:column value="{! ct.FirstName }"> <apex:facet name="header"> <apex:commandLink action="{! sortByFirstName }" reRender="contacts_list">First Name </apex:commandLink> </apex:facet> </apex:column> <apex:column value="{! ct.LastName }"> <apex:facet name="header"> <apex:commandLink action="{! sortByLastName }" reRender="contacts_list">Last Name </apex:commandLink> </apex:facet> </apex:column>
The action parameter is key here as it makes calls on the new methods to reset the sortOrder
variable, and providing a link at the top of the table.
The <apex:facet>
is the part that makes the headings clickable. The <apex:commandLink>
says what to do if that link is clicked.
In this example, the header text is hardcoded in the markup. You can make a call on the table header with <apex:outputText value="{! $ObjectType.Contact.Fields.FirstName.Label }"/>
- this allows for different languages. If the field name is ever changed, it will also change in the interface.
There are also setter methods that allow you to submit information back to the database.
An alternative to getters and setters is to use Apex properties. Properties are a combination of a variable with getter and setter methods, with a syntax that groups them together more clearly. A simple property is:
public MyObject__c myVariable { get; set; }
Properties can be public and private, read-only, write-only, by ommitting the get and set.
More about Custom Controllers can be seen here https://developer.salesforce.com/docs/atlas.en-us.224.0.pages.meta/pages/pages_controller.htm.
15.8.4 Unit Challenge
Create a Visualforce page that uses a custom controller to display a list of cases with the status of 'New'. Challenge Requirements
The page must be named NewCaseList The custom controller Apex class must be named NewCaseListController and include the following: A publicly scoped method named getNewCases Use the return type of List<Case> Return a list of case records that includes the ID and CaseNumber fields Filter the results returned to only have a status of New The NewCaseList Visualforce page must use an apex:repeat component, which is: Bound to newCases Refers to the var attribute as case With the component tags, bind an apex:outputLink component to the ID of the case. This will cause the the page to direct the user to the detail page of the respective case record.
Solution for the visualforce page:
<apex:page controller="NewCaseListController"> <apex:pageBlock> <apex:repeat var="case" value ="{! newCases }"> <apex:outputLink value="/{! case.Id }"> {! case.Id } </apex:outputLink> </apex:repeat> </apex:pageBlock> </apex:page>
Solution for the custom controller:
public class NewCaseListController { public List<Case> getNewCases(){ List<Case> cases = [SELECT Id, CaseNumber from Case WHERE status='New']; return cases; } }
16 Developer Console
16.1 Inspect Objects at Checkpoints
16.1.1 Unit Challenge
Set Checkpoints to Find Errors in Your Code Set a checkpoint in the EmailMissionSpecialist class. Then, execute the class using a valid email address, and analyze the objects logged at the checkpoint. Make sure that line 12 of your EmailMissionSpecialist Apex class still contains this code:
Messaging.SendEmailResult[] results = Messaging.sendEmail(
If line 12 doesn't contain that code, find the original version of the EmailMissionSpecialist class in Unit 2: Navigate and Edit Source Code, and replace the contents of EmailMissionSpecialist.apxc with that version. Then, set a checkpoint on line 12 and execute the EmailMissionSpecialist class using the Execute Anonymous statement that you used earlier in this unit.
Set a checkpoint on line 12 of the EmailMissionSpecialist class. Use Execute Anonymous to execute the EmailMissionSpecialist Apex class, using your email address. Observe the checkpoint results and see the values of the objects in memory.
Solution: Set a checkpoint at line 12.
16.2 Execute SOQL anD SOSL Queries
Use the query editor. Press execute button to execute query.
16.2.1 Unit Challenge
Now that you’ve successfully avoided collision with asteroid 2014 QO441, contact Mission Control at the Neptune Space Station to get cleared for landing so you can take a well-deserved break. Write an inline SOSL search to find and return the contact details of the Mission Specialist at the Neptune Space Station.
Using Execute Anonymous, like we did when we inserted records for the Control Engineers, insert the contact details for the Mission Specialist on Neptune.
Contact thisContact = new Contact( Firstname='Brian', Lastname='Dent', Phone='(619)852-4569', Department='Mission Control', Title='Mission Specialist - Neptune', Email='briandent@trailhead.com'); insert thisContact;
Search for the inserted record with an inline SOSL search, using Execute Anonymous. Instead of finding 'Crisis', like we did when we used Execute Anonymous to look for the Control Engineers' records, search for 'Mission Control'. Use the System.debug() method to display the contact's "lastname, firstname" in your debug log . Make sure that you see the returned records in the debug log.
Solution:
List<List<sObject>> searchList = [FIND 'Mission Control' IN ALL FIELDS RETURNING Contact(FirstName, LastName, Phone, Email, Title)]; Contact[] result = (Contact[])searchList[0]; System.debug(result[0].Lastname + ', ' + result[0].Firstname);
17 Optimizing Search
Limit the data that you are searching. Limit the data that you are returning.
Use the IN SearchGroup
to limit which data is searched.
FIND<EMAIL_ADDRESS>IN EMAIL FIELDS RETURNING Contact
SOSL allows us to return just a few fields. It includes more advanced elements:
ObjectTypeName
- specifies the object to returnFieldList
- specifies the fields to returnORDER By
- specifies which fields to order the results by. This can be ASC or DESCLIMIT n
- sets the maximum number of records returned for the given objectOFFSET n
- sets the starting row offset into the result set returned by your query
Examples:
FIND {Cloud Kicks} RETURNING Account
FIND {Cloud Kicks} RETURNING Account(Name, Industry)
FIND {Cloud Kicks} RETURNING Account (Name, Industry ORDER BY Name)
FIND {Cloud Kicks} RETURNING Account (Name, Industry ORDER BY Name LIMIT 10)
FIND {Cloud Kicks} RETURNING Account (Name, Industry ORDER BY Name LIMIT 10 OFFSET 25)
17.1 With Statements
With is used to filter statements, by a given field(s). By filtering, you return fewer results and improve performance.
| Resource | Example |
|---|---|
WITH DIVISION |
FIND {Cloud Kicks} RETURNING Account (Name, Industry) WITH DIVISION = 'Global' |
WITH DATA CATEGORY |
FIND {race} RETURNING KnowledgeArticleVersion (Id, Title WHERE PublishStatus='online' and language='en_US') WITH DATA CATEGORY Location__c AT America__c |
WITH NETWORK |
FIND {first place} RETURNING User (Id, Name), FeedItem (id, ParentId WHERE CreatedDate = THIS_YEAR Order by CreatedDate DESC) WITH NETWORK = '00000000000001' |
WITH PRICEBOOK |
Find {shoe} RETURNING Product2 WITH PricebookId = '01sxx0000002MffAAE' |
This works very much the same in SOQL.
Limit data - In SearchGroup
- WHERE
Specify the data to be returned - Returning FieldSpec
- SELECT
Sort results - ORDER BY
LIMIT
OFFSET
- ORDER BY
LIMIT
OFFSET
Filter data by category - WITH DATA CATEGORY
- WITH DATA CATEGORY
17.2 Display Suggested Results with REST
REST resources help here.
Types of REST resources:
- Search Suggested Records - returns a list of suggested records whose names match the user's search string. The suggestions resource provides a shortcut for users to navigate directly to likely relevant records, before performing a full search
- Search Suggested Article Title Matches - returns a list of Salesforce Knowledge articles whose titles match the user's search query string. Provides a shortcut to navigate directly to likely relevant articles before the user performs a search
- SObject Suggested Articles for Case - returns a list of suggested Salesforce Knowledge articles for a case
This is basic syntax for Search Suggested Article Title Matches:
/vXX.X/search/suggestTitleMatches?q=search string&language=article language&publishStatus=article publication status
Now, let's use this syntax with a specific example.
/vXX.X/search/suggestTitleMatches?q=race+tips&language=en_US&publishStatus=Online
And this is the JSON response:
{ "autoSuggestResults" : [ { "attributes" : { "type" : "KnowledgeArticleVersion", "url" : "/services/data/v30.0/sobjects/KnowledgeArticleVersion/ka0D00000004CcQ" }, "Id" : "ka0D00000004CcQ", "UrlName" : "tips-for-your-first-trail-race", "Title" : "race tips", "KnowledgeArticleId" : "kA0D00000004Cfz", "isMasterLanguage" : "1", } ], "hasMoreResults" : false }
17.3 Working with Admins
17.3.1 Synonyms
A search for 'USB' could mean 'flash drive'. How do we include those?
- in Setup, enter
Synonyms
in the quick find box - under Custom Synonym Groups click New to start a synonym group or Edit next to an existing one
- add two to six synonyms per group - no special characters
You can also import synonyms.
17.3.2 Promoted Search Terms
This helps get more eyeballs on an article that you know is commonly used to resolve a support case. Admins find the perfect article and then add terms to the Promoted Search Terms related list. Users who enter those terms, the aprticle pops up.
- the maximum number of characters per term is 100. For the best results, limit each promoted term to a few key words
- don't go overboard. Use them selectively. If you do, you could increase the amount of unwanted search results
- article search matches a promoted term whenever all keywords within the term occur within the user's search terms, in any sequence. Each keyword must match exactly
18 Apex
18.1 Variables and Data Types
18.1.1 Variables
Declaration has to happen - as Apex is strongly typed.
Integer i; i = 10;
This has a null value:
Integer x;
Declare and assign a value:
Integer accountBalance = 1000; Integer deposit = 100; Integer newBalance = accountBalance + depoist;
18.1.2 Data Types
You can't assign a string to an integer, due to strongly typing.
- Integer (32 bit number with no decimal)
- Decimal (32 bit number that does have decimal)
- String
- Boolean
- DateTime
- ID (18 character identifier for salesforce)
Booleans are true by default.
Integers do not need casting in a debug string concatenation.
DateTime - call a method on the DateTime class.
DateTime d = DateTime.newInstance(year, month, day, hour, minutes, seconds);
In debug mode, you see Salesforce's representation of DateTime (not local).
To get around this, you can call the format method:
System.debug.log(d.format());
18.1.3 Casting
Converting from one type to another. You add the type you want to cast to in brackets. If a is a decimal:
(Integer)a
converts a to an integer (from decimal).
18.1.4 sObjects
- complex data types
- contains fileds that are primitive data types
- can be saved to the salesforce database
Course object:
- title
- description
- start date
You need to know the API name of an sObject to work with it.


[§353-135] Law enforcement cooperation. The attorney general, and the chief of police and prosecuting attorney of each county, shall cooperate with the department in establishing and maintaining the system. [L 2012, c 190, pt of §1]


{% extends "base.html" %}
{% block title %}Deactivate user account {{ super() }}{% endblock %}
{% block body %}
{{ super() }}
This action cannot be undone. Your details will be made anonymous, and you will not longer be able to log in. Are you sure you want to do this?


#include <stPage.h>
Inheritance diagram for stPage:
Public Member Functions | |
| stPage (stSize size, stPageID pageid=0) | |
| virtual | ~stPage () |
| virtual void | Write (stByte *buff, stSize n, stSize offset) |
| virtual stSize | GetPageSize () |
| virtual stByte * | GetData () |
| stPageID | GetPageID () |
| void | SetPageID (stPageID pageID) |
| void | Copy (stPage *page) |
| void | Clear () |
Protected Attributes | |
| stByte * | Buffer |
| stSize | BufferSize |
Marcos Rodrigues Vieira<EMAIL_ADDRESS>Enzo Seraphim<EMAIL_ADDRESS>Definition at line 94 of file stPage.h.
|
|
Creates a new page.
|
|
|
Disposes this page and free all allocated resources. |
|
|
This method will clear this page (set all bytes to 0). Referenced by stSlimNode::RemoveAll(), stMNode::RemoveAll(), and stDFNode::RemoveAll(). |
|
|
This method will copy the content of a given page to this page. Both pages must have the same size.
|
|
|
Returns the pointer to the data array. This method allows the direct access to the internal page data array. It will be used by the stDiskPageManager to read/write this page from/to the disk. Avoid to use this method. If a read/write operation is required, use Read() and Write() methods instead.
Reimplemented in stLockablePage. Referenced by stDFNode::stDFNode(), stMNode::stMNode(), and stSlimNode::stSlimNode(). |
|
|
Returns the ID of this page.
Definition at line 148 of file stPage.h. References stPageID. Referenced by stVPNode::GetPageID(), stSlimNode::GetPageID(), stMNode::GetPageID(), stGHNode::GetPageID(), stDummyNode::GetPageID(), and stDFNode::GetPageID(). |
|
|
Returns the page size in bytes.
Reimplemented in stLockablePage. |
|
|
Sets the ID of this page.
Definition at line 158 of file stPage.h. References stPageID. |
|
|
Writes n bytes to this page and sets the cursor to the next writing position.
Reimplemented in stLockablePage. |
|
|
The page (buffer). Definition at line 183 of file stPage.h. Referenced by stLockablePage::GetTrueData(). |
|
|
The page size. Definition at line 188 of file stPage.h. Referenced by stLockablePage::GetTruePageSize(), and stLockablePage::Lock(). |


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 4-6
Dietary
Light, dainty madeleines make a lovely teatime treat.
Equipment: You will need a madeleine tin.
Preheat the oven to 170C/325F/Gas 3. Butter and flour a madeleine tin.
For the madeleines, place the flour and 250g/9oz of the caster sugar into a bowl and add the vanilla extract, eggs, honey and melted butter.
Stir well and add a heaped tablespoon of the batter into a madeleine tin.
Bake for 15-20 minutes until golden-brown and springy to the touch. Dust with the remaining caster sugar.
For the raspberry compôte, place the raspberries and icing sugar into a pan over a medium heat.
Heat until the raspberries are just starting to break down – adding a splash of water if needed.
Pour the raspberry compôte into a soup plate, place a scoop of ice cream in the centre and place a few madeleines alongside.


To access PDF version, go to www.brandingpays.com/resources
The brand strategy platform represents our methodology in template form. Think of it as a worksheet to help you to understand who you are and what your brand stands for. The brand strategy platform augments the positioning statement (chapter 2) by incorporating your icing. Few people think strategically about the emotional value that their brand delivers, and fewer still can articulate what it is. The brand strategy platform provides the vehicle to help you to put into words the essence and value of your brand.
Let’s take a section-by-section look at the brand strategy platform to help you understand how to use it. I’ll use Hillary Freeman as an example throughout each section to model how it is done. Other examples of brand strategy platforms will be included at the end of this chapter.
Core values should drive the behaviors you engage in and the decisions that you make.
We’ve added areas to help you explore what you love doing and your dreams in career and life—both goals that should be driven by core values. You may be surprised by what you discover when filling out the core values column.
| Core Values |
|
| What I love doing Making a difference through creative ideas and engagement |
| My life/career dreams Short-Term: Become a City Council member Long-Term: Become a motivational speaker |
What are the core values that drive who you are and what you are all about? Core values help you to have meaning in what you do and to “do the right thing” in your business, career, relationships and life. Try to narrow the list to just a handful of items. For instance, trust, transparency, honesty and integrity express similar values, so in the interest of brevity, pick one of these rather than including all of them. If necessary, you can develop a backup document that expounds on what you mean by that one word.
Hillary’s Core Values:
Hillary’s core values were true to her person as well as being meaningful to the electorate, which was hungry for passionate leaders who engaged well with the public in an open and democratic process.
Figuring out what you love doing is important. If you love doing a certain job or activity, then you’ll have a passion for it. You’ll have more energy and creativity—you’ll do your best work. Your passion and enthusiasm will come across in your personality, making you more attractive and engaging.
Sometimes when filling out this box, there can be a big “Aha!” moment when you discover that what you love doing and what you are currently doing are not in sync. This one section caused a personal branding client of mine to move from marketing to a lateral job in another area that better leveraged her interest and degree in science.
It is not always practical to drop your career and become, for example, a jazz musician. Perhaps you can find some of the things that you love about jazz (such as improvisation, creativity and teamwork) and find opportunities to do more of this in your current job or in an adjacent career path.
What Hillary Loves Doing:
Making a difference through creative ideas and engagement
It’s clear that her goal of becoming a City Council member aligns with her love of making a difference by leveraging creative thought and engaging with the public. Does your job or career align with what you love doing?
Few of us take the time to think about what we want out of our lives or our careers. Here’s your chance. Envision yourself engaged in what you’d like to be doing in 10 or 20 years. Then, imagine looking back and seeing what steps or paths you took to get there.
Try writing down a short-term career goal, and then a longer-term career or life goal. You can develop a brand strategy for today’s career goal, but keep your longer-term goal in mind as your brand changes throughout the years.
Hillary’s Life or Career Dreams:
Hillary has since left the world of high-tech sales to follow her passion for making a difference with young people. She leveraged her science degrees to become a middle-school science teacher and a Google Education Fellow. She has expanded the horizons of her students with educational trips to China, Japan, Spain and Trinidad. Hillary has co-authored a book on conflict resolution that brands her as an expert. She is a speaker and trainer at national conferences. Clearly, she is setting the foundation to realize her long-term goal.
| Strengths (Cake) |
| Hard Skills --Business analytics --Budgeting --Auditing --Sales |
| Soft Skills --Management --Public speaking --Team building and collaboration --Networking --Creative problem solving |
| Expertise/Experience --Sales and marketing executive --Palo Alto Schools, Site Council President & PTA --YMCA Board Member --Children’s Theatre Board Member --Youth sports coach & referee --Libraries Now! Founding Member --BA Marine Biology, MS Fisheries Biology |
The Strengths section helps you to articulate both the hard and soft skills as well as the expertise that make up your strengths. The Strengths column represents your cake, or rational value. Look at your positioning statement (chapter 2) to understand the strengths that should evidence your positioning claim.
As you inventory your strengths, also identify key weaknesses that may hinder your progress toward your desired brand. These weaknesses can be addressed in your action plan (chapter 6). We have chosen not to include a box for weaknesses, as our focus is on keeping this exercise positive.
Hard skills are something you were specifically trained to do, such as software programming, speaking a foreign language, market research or financial analysis. Hard skills use your Intelligence Quotient (IQ).
Hillary’s Hard Skills:
Hillary’s hard skills helped her to be credible when she campaigned as a candidate with business experience who knew how to budget, analyze and conduct audits.
Are the skills required for you to achieve your career or business goals in your Strengths column? If not, then add them to Strengths in your desired brand with an asterisk for action (we’ll address building needed skills in your action plan in chapter 6).
Soft skills can be thought of as people skills. Don’t get hung up on what are hard skills versus soft skills. The important thing is to list all of your strength attributes—both the obvious and the less obvious, or less tangible. You can edit the list later.
Soft skills rely more on your Emotional Quotient (EQ). Soft skills can include such skills as communicating, conflict management, human relations, making presentations, negotiating, team building, leadership skills, management skills, networking, collaboration and demonstrating empathy.
Hillary’s Soft Skills:
All of Hillary’s soft skills were necessary to be an effective member of the City Council. She was able to message and demonstrate all of them through campaign events and her volunteer activities.
In the professional world, being an expert in a domain area is important. Generalists without special skills, knowledge or experience are often seen as commodities that are expendable. If you don’t have an area of expertise, it is important to develop one. For instance, it can be a technical area, a market area or an area in which you provide thought leadership, such as managing diversity. Maybe you need to dust off an old educational degree to show evidence of your expertise. Remember Marnie from chapter 2? She is the retail professional turned elder care sales specialist who emphasized her psychology and counseling degrees to build credibility for her career change.
Hillary’s Expertise and Experience:
Hillary had an excellent background in business and community, providing evidence for her brand positioning.
The Personality column is all about icing, your emotional value or how people connect with you. For some technical jobs where the focus is heavily on your cake, or rational value, personality may be less important. But if you are personable, you will always have a leg up over someone with little personality or a negative personality.
The Personality column should be about likability. When was the last time you went the extra mile to help someone you did not like? Exactly. Do people think of you as someone who they would want to lead their team, go out for drinks with or work on their project? What are those attributes that attract people to you and make them like you?  They will be more willing to help you or advocate for you.
I know people who exude a calm confidence and empathy that make their quiet personalities desirable.
Some of your core values or soft skills (from your Strengths section) may also appear in your Personality column, such as being collaborative, honest and empathetic. It makes sense for certain values or EQ attributes to appear as a theme in several columns. That just means that these attributes are a strong part of your brand that you evidence in many ways.
| Personality (Icing) |
| Personality Attributes --Passionate about ideas --Engaging --Friendly --Empathetic |
| Type of leader, worker, friend --Inclusive & inspiring leader --Hard worker --Trusted friend |
| Brand Metaphor Community Gardens. These colorful gardens, planted and maintained by residents, are a metaphor for Hillary’s passion, engagement and community values as well as her fresh point of view and bright style. |
Personalities come in all flavors: passionate, cerebral, hard-edged, quiet, extroverted, witty or dull (hopefully, you are not the latter). Refer back to your goal. What kind of personality is more likely to achieve this goal? If you are looking for your first job and you lack confidence, companies won’t want to hire you. If you are a sales manager and act like a loner, you will be less likely to reach your goal of sales executive, someone who needs to build and inspire a team. If you are an entrepreneur without passion for your ideas, you will be less likely to inspire someone to invest in your company or buy your products.
Hillary’s Personality Attributes:
Hillary’s personality is perfectly aligned with her core values, strengths (soft skills) and positioning.
The focus here is how you show up as a leader, a worker or a friend in terms of personality. Are you inspiring, supportive, trustworthy, direct and caring? Some of your answers may be included as soft skills under Strengths, but repeating them here is fine. If you want to be an executive, you’ll want to focus on your leadership personality. If you are an individual contributor, your focus should be both on your worker and leadership personality, since all professionals should have leadership attributes.
Hillary’s Type of Leader, Worker and Friend:
We would not expect anything less of the Hillary Freeman brand, given what we know about her core values and how she is positioned.
The brand metaphor can help to free you in how you think about your brand. For instance, finding a celebrity, retail store or car brand that personifies your brand can help you to be clear about your brand type. If a luxury hotel is your brand metaphor, you’ll know that the highest-quality service and customer experience is key to what you are about. Your behaviors and communication should reflect these values.
Be creative when thinking about your brand metaphor. You can use any animate or inanimate thing as your metaphor. People have chosen kitchen appliances, museums, points of interest, animals and fashion brands. You can make it fun by polling your friends or colleagues about what metaphor they would use to represent your brand.
At the time, we didn’t have a brand metaphor for Hillary, but if I had to choose one today, I would say:
Community Gardens. These colorful gardens, planted and maintained by residents, are a metaphor for Hillary’s passion for engagement and community values as well as her fresh point of view and bright style.
The Brand Image section includes your brand associations, visual branding and relationship branding.
| Brand Image (Cake and Icing) |
| Brand Associations --New face of leadership: business leader with community values --Passion & engagement --Schools, libraries & youth sports advocate |
| External Image --Confident --Fresh style & bright colors --Professional but inviting look, including wardrobe --Engaging website & brochure with contemporary design |
| Relationship Image --Warmth and humanity --Supportive --Trusting --Respect for diversity |
You want people to associate you with your profession and unique positioning. Your branding has failed if all they remember is how you dress, not what you do or what value you provide.
For this template, focus your brand associations primarily on your cake, or positioning (see your positioning statement in chapter 2). Include bullet points for your positioning category and differentiating value. You’ll have plenty of opportunity in the next boxes to add the icing.
Hillary Brand Associations:
These are the brand associations that we wanted associated with Hillary the candidate.
Your external image should include what you look like, your presence and your visual branding.
Hillary’s External Image:
Hillary’s strategy for her external image reinforced her positioning messages about being the new face of leadership. Think about what messages your external image sends. If these messages are not consistent with your goal, consider changing your external brand strategy.
Are you seen as a supportive manager, a good partner and a trusted friend? How you treat others in a relationship demonstrates your values.
Hillary’s Relationship Image:
Hillary’s ability to build warm, genuine relationships was an important part of her brand. She was a welcome contrast to many of the council candidates who had a more difficult time developing authentic and engaging relationships. She was definitely someone whom you would enjoy having coffee with and getting to know.
Core values, strengths, personality and brand image should deliver on your brand promise. When people choose your brand, they should get what has been advertised. To deliver anything less breaks your brand promise to your customer or target audience.
| Brand Promise (Cake and Icing) |
| Rational Value New leadership that can solve Palo Alto problems by marrying business experience with community values |
| Emotional Value She makes me feel: --Heard & respected --I have a voice in government --Optimistic about the future |
| Brand Experience A passionate new leader marrying business know-how with community values who can solve our problems with citizen engagement |
Rational value consists of what others should expect from your cake—that is, your functional value.
Hillary’s Rational Brand Value:
New leadership that can solve Palo Alto problems by marrying business experience with community values
In Hillary’s brand strategy platform, the recurring themes of new leadership and marrying business and community experience are woven throughout. Don’t be afraid to sound like a broken record in your platform; if you see words or themes repeated, it means you are in alignment on many levels.
Emotional value is how people should feel when they engage with your brand. Using “I feel…” statements from your stakeholders’ viewpoint can help you to understand what emotional value they might feel in working with you or relating to you. Do they feel relief, empowerment, secure that things will be done well, enjoyment or respect?
Hillary’s Emotional Brand Value:
She makes me feel:
Having an emotional connection is key. This connection is what breeds brand loyalty. Does drinking coffee with friends at Starbucks, for instance, make you feel warm and cozy? This emotional association with the brand makes you want to return. For Hillary, making people feel heard and optimistic was key to her emotional brand value.
The brand experience is the overall experience that we want to deliver when others come into contact with our brand. The brand experience must deliver on your overall brand promise—both the rational value and the emotional value. Try to crystallize the experience in a short phrase that teams the essence of your cake (positioning) with key icing deliverables.
Hillary’s Brand Experience:
A passionate new leader marrying business know-how with community values who can solve our problems with citizen engagement.
Hillary’s brand experience goal meant that she had to:
Hillary had the right core values and strategy to drive her behavior and campaign actions to deliver on this brand experience. With the right brand strategy and consistently delivering on her brand experience, Hillary went from political unknown to the top vote-getter in her election.


JS Object <==> Immutable
var myself = Immutable.Map({ name: 'Tom' });
// Instead of changing myself in-place
// like I would with vanilla JavaScript,
// Immutable provides methods that yield new modified objects.
var someoneElse = myself.set('name', 'Thomas');
// If you've dealt with this problem before,
// you might notice that there's another way
// of approaching this problem ==> by cloning objects:
var myself = { name: 'Tom' };
// clone myself, to ensure that changing someoneElse doesn't
// mutate it.
var someoneElse = JSON.parse(JSON.stringify(myself));
myself.name = 'Thomas';


{% extends "layout.html" %} {% block body %} We are excited to improve from your feedback or answer any questions. Name Email address We'll never share your email with anyone else. Thoughts Submit {% endblock %}
We are excited to improve from your feedback or answer any questions.


Here's a little GDB trick, if you want to debug your program using assembly output.
From a GDB session, type:
display /i $pc break main
The first line will tell GCC to output the assembly code. The second one will create a breakpoint on the main function. You can of course choose another symbol for the breakpoint.
Once done, you can run your program:
run
In our example, to code will stop at the main function, showing the assembly code:
Breakpoint 1, main () at test.c:3 3 return 0; 1: x/i $pc 0x100000f3c : mov $0x0,%eax
You can then step to each assembly instruction with the si
command.


--- layout: default title: About Me ---
A video aggregator for all things Brazilian Jiu Jitsu. Easily create and share playlists and no signup required!


Player 1
This round: 0
Total: 0
player 2
This round: 0
Total: 0
Pig is a simple game which in its basic form is playable with just a single die. A player wins by being the first
palyer to score 100 or more points.
To play, you will need to input two player- names first.
 You may continue rolling and accumulate the points 'but risk rolling a one which
end's your turn'.
If a player rolls a 1, his turn is over and he looses all the points he accumulated
in that turn, and the turn passes to the next player.
The play passes from player to player until the winner
is determined
The first player to accumulate 100 or more points wins the game


{{Infobox prepared food | name = Puffed rice cakes | image = | caption = Chinese puffed rice cakes | alternate_name = | country = | region = | creator = | course = | type = Snack | served = | main_ingredient = Puffed rice | variations = | calories = | other = }} {{Unreferenced|date=February 2007}}
The puffed rice cake is a flat hard food made with puffed rice. Typically, it is eaten as a healthy snack or used as a base for other ingredients.
Some rice cakes are flavored. Common flavorings include chicken, sweet chili, cheese, butter, chocolate, caramel, or apple cinnamon.
Rice cakes are often made into sandwiches, especially when used by dieters as a substitute for higher-caloric bread.
Most rice cakes are round, though square varieties are available. Some manufacturers make mini rice cakes, suitable for snacking.
Traditionally, Wor Bar (Guoba in Mandarin, translates to "pot's burnt") refers to the slightly browned rice that is stuck to the bottom of clay pots, which, after caramelization, results in the rice being formed into a single piece and giving it a slightly burned flavor. It may be brewed into tea, or served as part of a main meal by pouring savory meat sauces over the heated puffed rice cake.
{{Rice Cakes}} {{DEFAULTSORT:Puffed Rice Cakes}}
{{Food-stub}}


Market Insider
-
- Week Ahead: Traders Expect a Volatile Final Week of the Quarter
- Silver Prices Slammed — Here's Why
- HP's CEO Decision Conundrum
- Friday Look Ahead: Stocks are Likely to Take Another Run at the Summer's Lows
- Global Meltdown: Investors Are Dumping Nearly Everything
- Thursday Look Ahead: Traders Look for Something to Break Gloom
- Fed's Statement on Operation Twist with a Twist
- Moody's 'Out of Its Mind,' Ratings Action 'Absurd': Bove
- Fed's 'Operation Twist' and Stocks: A History Lesson
- Wednesday Look Ahead: Fed Expected to Bring On Operation Twist, as Republicans Complain
EDITOR
CONTRIBUTORS
RSS FEED
Fed's Statement on Operation Twist with a Twist
CNBC Executive News Editor
Some traders found Wednesday's Fed statement to be a bit gloomier than expected.
One reason may be the addition of concern about Europe: "there are significant downside risks to the economic outlook, including strains in global financial markets."
The Fed did launch much anticipated "operation twist" with a twist—it is also taking direct aim at mortgages. The Fed said it would replace $400 billion in short-term Treasurys (3-years or less) to the same amount of longer term securities—with durations of 6- to 30-years.
But it also said it would reinvest the runoff from its maturing mortgage securities back into the mortgage market. Take a look here at the Fed's statement and how it was changed from the August statement, courtesy of Ian Lyngen, senior Treasury strategist at CRT Capital.
"Questions? Comments? Email us at
- With the European debt crisis shaking markets, the IMF/World Bank meeting is happening at the right time.
- Not every CEO is a college grad, but some schools produce more top execs than others. Here they are.
- Some jobs aren't flashy, but they have qualities that are overlooked. Here’s some jobs under the radar.
 Where should its pieces land? Our readers have suggestions.
- The CEO of Vail Resorts says the rich are still hitting the slopes and boosting his bottom line.
- How important is innovation to national success?


ANGEL HEART A film review by Clark Quinn Copyright 1987 Clark Quinn
Believe what you've heard. Harry Angel has been hired to search for the truth... Pray he doesn't find it.
Starring: Mickey Rourke, Robert DeNiro, Lisa Bonet, Charlotte Rampling Directed by: Alan Parker Produced by: Alan Marshall and Elliott Kastner Executive Producers: Mario Kassar and Andrew Vajna Screenplay by: Alan Parker From the novel: "Falling Angel" by William Hjortsberg Director of Photography: Michael Seresin
I saw this movie at a special pre-release screening here at UCSD. Before the movie started, there was a trailer stating something to the effect that the version we were seeing was not a finished product, and that color, editing, etc. (I can't remember the rest) may be adjusted. We saw the film Saturday night, the film is being released on Friday. Sidenote: can they really make major changes in that short a time?
The story is set in 1955, and involves a PI, Harry Angel (Mickey Rourke) hired by a mysterious stranger named Louis Cyphre (Robert DeNiro) to find Johnny Favorite, who welshed on a debt he owes Mr. Cyphre. The only information Angel has is that this man is supposed to be in a hospital in upstate New York, unrecovered from a traumatic wartime accident. The plot complicates as Angel tracks his man to New Orleans and encounters voodoo magic, murder, and a surprise ending. Unfortunately, only part-way into the movie I gradually recognized the story as one I had read in a magazine (undoubtedly either culled from the book or expanded into a book at a later date). While I remember feeling that the story was one of the more interesting and eerie that I had read, being privy to the solution of the mystery may have diluted the effect of some of the revelations in the movie. I did try and get an unbiased view of the effect of the pacing by talking to my viewing companion afterward, who was not aware of the story.
For this movie to work, it is important that the questions lead in a tighter and tighter spiral, the tension must mount, the pace quicken. While there can be occasional minor buildups and releases, overall there has to be a heightening sense of mystery and peril. On two of these scores the movie succeeds, and on one I believe it fails. First, the screenplay felt tight; the clues led ominously to the next one, and each one seemed to provide more questions than it answered, right up to the slow realization of the solution. There were a couple of plot holes, but only one truly felt jarring, and, set near the end, it did not detract from the pace. In addition, the cinematography set a tone that properly framed the action. Early on, a mood of foreboding pervades the movie, and the camera succeeds in capturing a seediness in the environs with drab colors and small details. Unfortunately, the pace is uneven. Certain scenes are dragged out for no obvious reason, and several mystery cliches are needlessly added. The worst offense is the seemingly obligatory horror scene that turns out to be a dream. One other time there is a dream sequence that seems unnecessary, but this scene is not so much of a red herring. I hope that if they change the film at all, it is the use of judicious editing to tighten the film and remove or trim the slow spots. In this movie, if you have too much time to think, the film loses. I think this weakness is particularly a shame, since director Alan Parker is taking away from nice work by screenwriter Alan Parker. I do not know what Alan Parker has previously done.
Mickey Rourke does a fine job of making Harry Angel an everyman's PI. Occasionally he seems to fall too far into the nervous school of acting, but his gradual realization of the real story is nicely evoked. Lisa Bonet is striking as the sexy, worldly young voodoo priestess. Robert DeNiro captures the mystery of Louis Cyphre well, but Charlotte Rampling is not given enough leeway to play her part of the fortune-teller debutante girlfriend of the missing man.
There is considerable violence and gore in the movie, perhaps more than necessary. There is also some flesh and sex, but not gratuitously. I especially think the ending twist is highly imaginative. Looking back, I think that a good job was done in translating the feel of the story to the screen. Overall, I would give the movie a high 1 on the Leeper scale of -4 to +4. A better job of editing would give it a solid 2.
-- Clark N. Quinn Institute for Cognitive Science C-015 University of California, San Diego La Jolla, California 92093<PHONE_NUMBER> (UCSD):<PHONE_NUMBER> (Home) {ucbvax,decvax,akgua,dcdwest}!sdcsvax!sdics!clark.uucp OR<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


--- layout: post title: MAKE | Makers CAN Change the World published: true ---
-->RIP Steve Jobs. You, and your Homebrew Computer cohort and Apple Computer, fundamentally changed our lives, through technology. Multiple times. You and Apple made magic with gadgets. I literally gasped the first time I picked up the current MacBook Air. Not a lot of consumer technology makes me gasp.
When I got my pre-ordered iPad 1, the FedEx driver who brought it to my door was itching with curiosity as I signed for it. We had never exchanged more than a “hello” and “thanks.” I finished and she turned to leave. But then she blurted out: “What is that!?” (like she was breaking some sort of company policy about asking people what was in their boxes). When I told her, she totally let down her guard and gushed: “OMG! How cool! I SO want one of those!” She was completely lit up like a kid at Christmas. “Please tell what you think about it. So exciting.” She was still smiling as she walked away. As I, equally excited, went back into the house to open it, I wondered: “Do you think Microsoft or Dell or even Sony products generate this kind of excitement where delivery people can’t help but ask what’s in the box?” Rarely, if ever, I bet.
Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do… -Steve Jobs 1955-2011
Thanks for the magic and for showing us how far a group of makers can take their inspired ideas.
Follow @make