Extracting a tar ball fails with "Cannot open: Not a directory"
I am trying to extract an tarball, I keep getting this error
tar: mediatek/custom/common/lk/lcm/bp101wx1_n/bp101wx1_n.c: Cannot open:
Not a directory
tar: mediatek/custom/common/lk/lcm/hsd070idw1/hsd070idw1.c: Cannot open:
Not a directory
tar: mediatek/custom/common/lk/lcm/nt35582/nt35582.c: Cannot open: Not a
directory
tar:
mediatek/custom/common/lk/lcm/r63311_fhd_dsi_vdo_sharp/r63311_fhd_dsi_vdo_sharp.c:
Cannot open: Not a directory
tar:
mediatek/custom/common/lk/lcm/otm9608_wvga_dsi_cmd/otm9608_wvga_dsi_cmd.c:
Cannot open: Not a directory
tar: mediatek/custom/common/lk/lcm/lg4571/lg4571.c: Cannot open: Not a
directory
tar:
mediatek/custom/common/lk/lcm/hx8363b_wvga_dsi_cmd/hx8363b_wvga_dsi_cmd.c:
Cannot open: Not a directory
tar:
mediatek/custom/common/lk/lcm/lg4573b_wvga_dsi_vdo_lh430mv1/lg4573b_wvga_dsi_vdo_lh430mv1.c:
Cannot open: Not a directory
tar: Exiting with failure status due to previous errors
The original file was a .zip file that contained a .tar.gz file, so I
first used unzip then I used pigz with the -d option to create the tar
file.
I extracted the tar file using tar with xf option.
The tar file is 3.8 GB if that matters
Tuesday, 1 October 2013
Monday, 30 September 2013
Will my Cookie Clicker save last beyond a reboot=?iso-8859-1?Q?=3F_=96_gaming.stackexchange.com?=
Will my Cookie Clicker save last beyond a reboot? – gaming.stackexchange.com
I have been loathe to reboot my machine for risk my Cookie Clicker game
would lose all its hard-won progress. Am I being silly, here?
I have been loathe to reboot my machine for risk my Cookie Clicker game
would lose all its hard-won progress. Am I being silly, here?
Prove that $ P \cup Q = Q$ and $P \cap Q = P$ if $P$ is a subset of $Q$
Prove that $ P \cup Q = Q$ and $P \cap Q = P$ if $P$ is a subset of $Q$
pWhen $P$ is a subset of $Q$, use logical connectives to/p blockquote ol
lipProve $P \cup Q = Q$./p/li lipProve $P \cap Q = P$./p/li /ol
/blockquote pI know that they are true, but I don't know how to use the
definitions of union and intersection in terms of logical connectives to
prove them./p pThanks in advance!/p
pWhen $P$ is a subset of $Q$, use logical connectives to/p blockquote ol
lipProve $P \cup Q = Q$./p/li lipProve $P \cap Q = P$./p/li /ol
/blockquote pI know that they are true, but I don't know how to use the
definitions of union and intersection in terms of logical connectives to
prove them./p pThanks in advance!/p
Android and expandable results preview
Android and expandable results preview
what I want to do is realizing an awsome layout for my app. For this
reason I've thought to Display result of searches in a particular way: -
when I have less then or 4 results I display them in a simple listview; -
when I have more then 4 results I display the first four resoults and an
element that, when is clicked, expands my listview and shows all results.
I've seen ExpandableListView but it does not give me the possibility of
results preview. Any ideas?
what I want to do is realizing an awsome layout for my app. For this
reason I've thought to Display result of searches in a particular way: -
when I have less then or 4 results I display them in a simple listview; -
when I have more then 4 results I display the first four resoults and an
element that, when is clicked, expands my listview and shows all results.
I've seen ExpandableListView but it does not give me the possibility of
results preview. Any ideas?
VisualStateManager: how the page is aware of initial VisualState
VisualStateManager: how the page is aware of initial VisualState
I have one doubt regarding the working of VisualStateManager in Windows
Store apps...
Assume this sample page:
<common:LayoutAwarePage x:Name="pageRoot">
<Grid Style="{StaticResource LayoutRootStyle}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="400" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ListView Grid.Column="0"
x:Name="testElement" />
<Grid Grid.Column="1" />
</Grid>
<common:LayoutAwarePage/>
I declare the next VisualStateManager behavior, with a sample VisualState:
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ApplicationViewStates">
<VisualState x:Name="Snapped">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="testElement"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0"
Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
And now my questions:
How can the application determine that the "state" (I mean, the values of
the properties) is the one I used in the XAML declaration of the page?
Do I need to explicitly set the "initial" values of the page in - for
example - a FullScreenLandscapeOrWide VisualState?
Is it possible that the page will start (maybe with other screen
resolutions or particular devices) in a different VisualState "state" (not
FullScreenLandscapeOrWide), giving me problems if I do not declare the
FullScreenLandscapeOrWide VisualState (the initial status) ?
Thank you in advance for clarifications...
I have one doubt regarding the working of VisualStateManager in Windows
Store apps...
Assume this sample page:
<common:LayoutAwarePage x:Name="pageRoot">
<Grid Style="{StaticResource LayoutRootStyle}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="400" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ListView Grid.Column="0"
x:Name="testElement" />
<Grid Grid.Column="1" />
</Grid>
<common:LayoutAwarePage/>
I declare the next VisualStateManager behavior, with a sample VisualState:
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ApplicationViewStates">
<VisualState x:Name="Snapped">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="testElement"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0"
Value="Collapsed" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
And now my questions:
How can the application determine that the "state" (I mean, the values of
the properties) is the one I used in the XAML declaration of the page?
Do I need to explicitly set the "initial" values of the page in - for
example - a FullScreenLandscapeOrWide VisualState?
Is it possible that the page will start (maybe with other screen
resolutions or particular devices) in a different VisualState "state" (not
FullScreenLandscapeOrWide), giving me problems if I do not declare the
FullScreenLandscapeOrWide VisualState (the initial status) ?
Thank you in advance for clarifications...
Sunday, 29 September 2013
C++ return negative string
C++ return negative string
Hi i have the following code to convert string integer into integer, these
are the code:
#include <stdio.h>
int str_to_int(char* str) {
int output = 0;
char* p = str;
for (int i=0;str[i]!='\0';i++) {
char c = *p++;
if (c < '0' || c > '9')
continue;
output *= 10;
output += c - '0';
}
return output;
}
int main(){
printf("%d\n", str_to_int("456xy"));
printf("%d\n", str_to_int("32"));
printf("%d\n", str_to_int("-5"));
return 0;
}
But some how printf("%d\n", str_to_int("-5")); some how returning 5
instead -5, where am i wrong here? Thanks
Hi i have the following code to convert string integer into integer, these
are the code:
#include <stdio.h>
int str_to_int(char* str) {
int output = 0;
char* p = str;
for (int i=0;str[i]!='\0';i++) {
char c = *p++;
if (c < '0' || c > '9')
continue;
output *= 10;
output += c - '0';
}
return output;
}
int main(){
printf("%d\n", str_to_int("456xy"));
printf("%d\n", str_to_int("32"));
printf("%d\n", str_to_int("-5"));
return 0;
}
But some how printf("%d\n", str_to_int("-5")); some how returning 5
instead -5, where am i wrong here? Thanks
Umbraco 6.1.3 - Specified cast is not valid
Umbraco 6.1.3 - Specified cast is not valid
I am getting error that is "Specified cast is not valid." in umbraco 6.1.3
version. (Razor - MVC)
Page has macro that is rendering company list to the page. I am creating
company list data with ucomponents data grid component.
Also I added all error below. Why can i get this error? And how can i fix
this? I searched it but i didnt get any idea to fix.
Thanks
Server Error in '/' Application.
Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
Source Error:
Line 7:
Line 8: <div class="interior-page-content">
Line 9: @Umbraco.RenderMacro("All-FirmaListesi", new {anaSayfa="1055"})
Line 10: </div>
Source File:
c:\inetpub\vhosts\cbmeturkey.com\httpdocs\Views\KatilimListesi.cshtml
Line: 9
Stack Trace:
[InvalidCastException: Specified cast is not valid.]
System.Data.SqlClient.SqlBuffer.get_Byte() +52
System.Data.SqlClient.SqlDataReader.GetByte(Int32 i) +62
umbraco.DataLayer.RecordsReaderAdapter`1.GetByte(String fieldName) +168
umbraco.cms.businesslogic.macro.MacroProperty.setup() +215
umbraco.cms.businesslogic.macro.MacroProperty.GetProperties(Int32
MacroId) +189
umbraco.cms.businesslogic.macro.MacroModel..ctor(Macro m) +186
umbraco.macro..ctor(String alias) +117
Umbraco.Web.UmbracoHelper.RenderMacro(String alias, IDictionary`2
parameters) +59
Umbraco.Web.UmbracoHelper.RenderMacro(String alias, Object parameters) +47
ASP._Page_Views_KatilimListesi_cshtml.Execute() in
c:\inetpub\vhosts\cbmeturkey.com\httpdocs\Views\KatilimListesi.cshtml:9
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +199
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext
pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter
writer, Object instance) +257
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext,
TextWriter writer) +107
StackExchange.Profiling.MVCHelpers.WrappedView.Render(ViewContext
viewContext, TextWriter writer) +159
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
+291
System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext
controllerContext, ActionResult actionResult) +13
System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
+23
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter
filter, ResultExecutingContext preContext, Func`1 continuation) +245
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
+22
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter
filter, ResultExecutingContext preContext, Func`1 continuation) +245
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
+22
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext
controllerContext, IList`1 filters, ActionResult actionResult) +176
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext
controllerContext, String actionName) +311
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +23
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +19
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult
_) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult
ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult
asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult
asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult
ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult
result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+9629708
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.17929
I am getting error that is "Specified cast is not valid." in umbraco 6.1.3
version. (Razor - MVC)
Page has macro that is rendering company list to the page. I am creating
company list data with ucomponents data grid component.
Also I added all error below. Why can i get this error? And how can i fix
this? I searched it but i didnt get any idea to fix.
Thanks
Server Error in '/' Application.
Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
Source Error:
Line 7:
Line 8: <div class="interior-page-content">
Line 9: @Umbraco.RenderMacro("All-FirmaListesi", new {anaSayfa="1055"})
Line 10: </div>
Source File:
c:\inetpub\vhosts\cbmeturkey.com\httpdocs\Views\KatilimListesi.cshtml
Line: 9
Stack Trace:
[InvalidCastException: Specified cast is not valid.]
System.Data.SqlClient.SqlBuffer.get_Byte() +52
System.Data.SqlClient.SqlDataReader.GetByte(Int32 i) +62
umbraco.DataLayer.RecordsReaderAdapter`1.GetByte(String fieldName) +168
umbraco.cms.businesslogic.macro.MacroProperty.setup() +215
umbraco.cms.businesslogic.macro.MacroProperty.GetProperties(Int32
MacroId) +189
umbraco.cms.businesslogic.macro.MacroModel..ctor(Macro m) +186
umbraco.macro..ctor(String alias) +117
Umbraco.Web.UmbracoHelper.RenderMacro(String alias, IDictionary`2
parameters) +59
Umbraco.Web.UmbracoHelper.RenderMacro(String alias, Object parameters) +47
ASP._Page_Views_KatilimListesi_cshtml.Execute() in
c:\inetpub\vhosts\cbmeturkey.com\httpdocs\Views\KatilimListesi.cshtml:9
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +199
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext
pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter
writer, Object instance) +257
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext,
TextWriter writer) +107
StackExchange.Profiling.MVCHelpers.WrappedView.Render(ViewContext
viewContext, TextWriter writer) +159
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
+291
System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext
controllerContext, ActionResult actionResult) +13
System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
+23
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter
filter, ResultExecutingContext preContext, Func`1 continuation) +245
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
+22
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter
filter, ResultExecutingContext preContext, Func`1 continuation) +245
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
+22
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext
controllerContext, IList`1 filters, ActionResult actionResult) +176
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext
controllerContext, String actionName) +311
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +23
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +19
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult
_) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult
ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult
asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult
asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult
ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult
result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+9629708
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.17929
Subscribe to:
Posts (Atom)