I searched “amazon.com” in Opera quicksearch and it led me to this site: http://iyfnzgb.com/?pid=9PO1H9V71&dn=amanzon.com
Is it malicious? Opera didn’t open a proper internet page, only a screen with the opera logo. In the History it shows a directory icon.
Tag: page
javascript – How to add an input field with a date to the checkout page?
I’m studying Magento2, downloaded the module https://github.com/ecomteck/module-delivery-date and added it to the app / code / vendor / module-delivery-date folder
I cannot understand in which files and what needs to be changed in order to display my input and connect with the checkout module.
I hope for your help
Adding a type something like block on a page
I want to add a "type something" block on the front page with submit button which adds that particular content. I am getting a /node/add/article link but I do not want a link or button. I want the text area like a block on the page itself. Please help me with it.
AFP Page count in C#
I’m new to C# and I’m assigned a task where I have to write a program in C# to get AFP pagecount. We have a program written in C++ previously but this has to be done in C#.
this is the original code Snippet in C++,how do I write this in C#?
unsigned long ProcessAFPFile(char *szInputPath,char *szFileName,char *szMess)
{
char szInputFile(MAX_PATH);
struct StructuredFieldIntroducer{
char CB;
unsigned char M_Length;
unsigned char L_Length;
unsigned char M_Cmd;
unsigned char L_Cmd;
unsigned char Data(32758);
}SFI;
int RetVal = fread(&SFI,1,1,InputFile);
wsprintf(szInputFile,"%s\%s",szInputPath,szFileName);
if ((InputFile = fopen(szInputFile,"rb")) == NULL){
wsprintf(szMess,"Cannot open file");
return -0L;
}
RetVal = fread(&SFI,1,1,InputFile);
if(SFI.CB != 0x5A){
fclose(InputFile);
// wsprintf(szMess,"Invalid AFP file");
return -0L;
}
while(TRUE){
RetVal = fread(&SFI,9,1,InputFile);
if(feof(InputFile)){
fclose(InputFile);
// wsprintf(szMess,"");
return BPageCnt;
}
ReadSize = SFI.M_Length << 8;
ReadSize += SFI.L_Length;
ReadSize++;
if(!fread(&SFI,ReadSize,1,InputFile)){
fclose(InputFile);
// wsprintf(szMess,"Invalid file end");
return BPageCnt;
}
switch(SFI.M_Cmd){
case 0xA8:
if(SFI.L_Cmd == 0xAF)
BPageCnt++;
}
}
return BPageCnt;
}
Input to the above code is a AFP File.
Please note that I tried using binary reader to read the files and validate with given condition to get pagecount,but it’s not working as expected.
login – can not enter password on Windows 8 log-on page- Business domain
I am new here, I tried searching to see if there was a similar question and I could not find any. I hope this has not been asked before.
I have a laptop from my old job, that I got to keep after I left the company. On that laptop I have an account on the business domain. I am still using that laptop for personal matters and have not had any problem for 2 years. Today I had an issue, that when I was restarting my computer, I was not able to type anything out in the password box. the mouse was working, but nothing on the log on page seemed to be active (including restart button). If I reboot and start the laptop using the safe mode I don’t have this issue. But even after restarting many times the issue persisted. I finally made a local account without a password in safe mode to see if I can log on, I had first the same issue (freezing on the logon page), but that finally worked and I was able to switch user. My question is, does this problem have anything to do with the business domain? Or is it unrelated? How should I resolve it? I appreciate any help!
rewrite rules – Custom Post Type – Rewite Archive page
I’m trying to figure out the following :
- I have a CPT called “Podcast” which has a slug as /podcasts/
- I have a Page called “Podcasts” which has a slug as /podcasts/
I want my single podcast posts to have a permalink of /podcasts/%podcast_category%/post_name
When i do this, I cannot edit the podcasts page, as wordpress displays the archive page instead. How can i modify my code, so the archive page has a different slug, but still keeping /podcasts/%podcast_category%/post_name for single podcasts, and /podcasts/ can be used as a page.
//register podcast posts
function custom_post_podcasts_register(){
$labels = array(
'name' => _x('Podcast', 'post type general name'),
'singular_name' => _x('Podcast', 'post type singular name'),
'add_new' => _x('Add New', 'podcast'),
'add_new_item' => __('Add New Podcast'),
'edit_item' => __('Edit Podcast'),
'new_item' => __('New Integration'),
'view_item' => __('View Podcast'),
'search_items' => __('Search Podcast'),
'not_found' => __('Nothing found'),
'not_found_in_trash' => __('Nothing found in Trash'),
'parent_item_colon' => ''
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => null,
'show_in_rest' => true,
'rewrite' => array('slug' => 'podcasts','with_front' => false),
'has_archive' => 'podcast-all',
'supports' => array('title', 'editor', 'thumbnail', 'excerpt','podcast_category', 'podcast_tags'),
'taxonomies' => array( 'podcast_category', 'podcast_tags' ),
'menu_icon' => 'dashicons-format-quote',
'has_archive' => true
);
register_post_type('podcast' , $args);
}
add_action('init', 'custom_post_podcasts_register');
add_filter('manage_edit-podcast_columns', 'admin_remove_columns');
//create a custom taxonomy name it "type" for your posts
function podcast_custom_taxonomy() {
$labels = array(
'name' => _x( 'Podcast Category', 'taxonomy general name' ),
'singular_name' => _x( 'podcast_category', 'taxonomy singular name' ),
'edit_item' => __( 'Edit Podcast Category' ),
'update_item' => __( 'Update Podcast Category' ),
'add_new_item' => __( 'Add New Podcast Category' ),
'new_item_name' => __( 'New Podcast Category Name' ),
'menu_name' => __( 'Podcast Category' ),
);
register_taxonomy('podcast_category',array('podcast'), array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
'show_in_rest' => true,
'rewrite' => array( 'slug' => 'podcast_category' ),
));
}
// Let us create Taxonomy for Custom Post Type
add_action( 'init', 'podcast_custom_taxonomy', 0 );
// Register Custom Taxonomy
function podcast_tags_taxononmy() {
$labels = array(
'name' => 'Podcast Tag',
'singular_name' => 'Podcast Tag',
'menu_name' => 'Podcast Tags',
'all_items' => 'All Podcast Tags',
'parent_item' => 'Parent Podcast Tag',
'parent_item_colon' => 'Parent Podcast Tag:',
'new_item_name' => 'New Podcast Tag',
'add_new_item' => 'Add New Podcast Tag',
'edit_item' => 'Edit Podcast Tag',
'update_item' => 'Update Podcast Tag',
'separate_items_with_commas' => 'Separate Podcast Tags with commas',
'search_items' => 'Search Podcast Tags',
'add_or_remove_items' => 'Add or remove Podcast Tags',
'choose_from_most_used' => 'Choose from the most used Podcast Tags',
'not_found' => 'Not Found',
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
'show_in_rest' => true,
);
register_taxonomy( 'podcast-tags', array( 'podcast' ), $args );
}
// Hook into the 'init' action
add_action( 'init', 'podcast_tags_taxononmy', 0 );
computer architecture – How to calculate the size of page table and direct cache etc
- virtual address = 35 bits
- physical address = 28 bits
- page size = 213 bytes
- physical indexing and physical tag cache, cache size = 218 bytes(data part only)
- cache block = 8 Words
Question 1) How many bits is the size of the page table? There are only valid bits and page numbers in the page table entry.
Question 2) If it is a direct cache, how many bits is one cache tag?
Question 3) If it is a 16-way set associative cache, how many bits is one cache tag?
Question 4) If it is a fully associative cache, how many Kbits is the total size of the cache?0
I can’t solve this problem….help
accessibility – Is alt text required for an image if the information is present elsewhere on the page?
If a sighted user can view the image and derive any kind of context or detail from it that relates to the text of the page, then you should not treat the image as uninteresting or purely decorative.
If it does have context, then to the vision impaired user of course it’s important that there is an image of the described item. After all, you wouldn’t have put it on the website if it wasn’t of some value to the sighted reader. To deny the sight impaired reader at least a description of it is a potential cause of frustration.
To not give it an alt text is to say to the reader, “It’s not important for you really – don’t worry about it.” And to the reader, this is very well may be a source of frustration. It’s not unlike a hard of hearing person getting the frustrating response, “Forget it” or “Never mind” by someone who’s asked to repeat something. Do not deny the person relying on the alt text the experience others may have who can see.
As to what the alt text should be, it depends a lot on the appearance of the item being described. If it is something like an original historical document, then you should describe it to the viewer just like you’d describe it to someone verbally. E.g., “An image of the original document, hand written on tattered paper yellowed with age”, or “Typewritten pages from diary with tear repaired with clear tape”, etc. In the case of a document also fully quoted in the page (per your example), it might help that the alt text also state that the contents of the document are available in the page.
Lastly, irrespective of context, if the image can be clicked on and a higher resolution version be viewed, both the low res/thumbnail version needs alt text, as well as the high res version. The thumbnail should describe the item enough to let the vision impaired reader have as much a reason to be interested in the detailed version as a sighted reader. And of course the detailed version should have a detailed description.
I will build 11 smarts off page SEO techniques you need to use right now for $20
I will build 11 smarts off page SEO techniques you need to use right now
In our experience these
11 off-page SEO activities are the easiest to include and offer the best return:
- Brand Mentions
- Commenting
- Forums
- Influencer Outreach
- Guest Author
- Broken Link Building
- Social Networking
- Social Bookmarking
- Content Marketing
- Questions & Answers
- Newsletters
Adsbombing provides about each off-page SEO activity 3 packages.
Still, have any questions? Please ask. Contact us 24/7 to boost your business and get your desire work.
.
Increment/decrement buttons on category page without refeshing
I want to add increment and decrement buttons for quantity on catalog page without refreshing the page
Pease help!