bootstrap
Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
Angular directives for Bootstrap angularjs (angular) native directives for bootstrap. small footprint (5kb gzipped!), no 3rd party js dependencies (jquery, bootstrap js) required! widgets: accordion, alert, buttons, carousel, collapse, datepicker, dropdown, modal, pagination, popover, progressbar, rating, tabs, timepicker, tooltip, typeahead,
One of my goals in creating the bootstrap project is to set a default log location. I would like the location to be based on the local app data folder. I cannot figure out how to reference the builtin Burn variable LocalAppDataFolder. I have found information about how to reference these variables in code, but not in the xml.
The reference to the property looks like this:
<MsiPackage SourceFile="MyInstaller.msi" LogPathVariable="[LogLocation]" />
The property is set like this:
<Variable Name="LogLocation" Value="[LocalAppDataFolder]MyLogFolder\Setup" Type="string"/>
The log output shows:
Initializing string variable 'LogLocation' to value
'[LocalAppDataFolder]MyLogFolder\Setup'
What am I missing to resolve [LocalAppDataFolder] ?
thanks in advance.
Source: (StackOverflow)
I am dealing with an imbalanced datasets with the R package randomForest. Some one has suggusted that, Bootstrap your data while over-sampling the rare class and under-sampling the common class. But I found that with the resampling size increasing, the OOB error decreasing to zero, which showd severe overfitting, I wonder why?
Actually this also happen with tree model(rpart).
Here is an example, althoug the data is balanced, just for testing of the effect of resample size:
require(randomForest)
set.seed(0)
iris500=iris[sample(1:nrow(iris),size=500,replace=TRUE),]
iris2000=iris[sample(1:nrow(iris),size=2000,replace=TRUE),]
formula="Species~Sepal.Length+Sepal.Width+Petal.Length+Petal.Width"
(rf0=randomForest(as.formula(formula),data=iris)) #OOB estimate of error rate: 4%
(rf1=randomForest(as.formula(formula),data=iris500)) #OOB estimate of error rate: 0.4%
(rf2=randomForest(as.formula(formula),data=iris2000)) #OOB estimate of error rate: 0%
table(iris[["Species"]])
#setosa versicolor virginica
# 50 50 50
Source: (StackOverflow)
Hi i am working with spring-mvc and bootstrap , i have to iterate over a map on my jsp ,but the map is iterating randomly , for example if from the controller class i am adding
key = cat,value =1
key = bat,value =2
key = mat,value =6
to a map as model.addAttribute("map",map)
when i am iterating over this map in my jsp the values which get shown on the page is random as
mat,6
cat,1
bat,2
but is there a way in which i can maintain the same order so that on jsp also i can display
cat,1
bat,2
mat,6
Source: (StackOverflow)
I am creating a bootstrapper package where it should support all platform [x86,x64,ia64]. When I included all different platform MSI in product.xml of MSXML6.0, SQL CLR type, Native client and SQL 2008 R2 SMO product.xml when I execute setup it fails telling that SMO dependent product MSXML install status is unknown even though it is installed, I checked them in Add/remove programs there it shows that MSXML is installed but when SMO try to install from bootstrapper it fails.
Well if I include only one MSI of any platform in xml of MSXML then SMO installation is success.
Bootstrapper log is
Running checks for command 'SMO\sharedmanagementobjects_X86.msi'
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'intel': false
Result of running operator 'ValueEqualTo' on property 'smox86' and value '0': false
Result of running operator 'ValueExists' on property 'smox86reg': false
Result of checks for command 'SMO\sharedmanagementobjects_X86.msi' is 'Install'
'SQL server 2008 R2 SMO' RunCheck result: Install Needed
Verifying file integrity of C:\DOCUME~1\xcxc\LOCALS~1\Temp\VSDDB.tmp\SMO\sharedmanagementobjects_X86.msi
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\WINNT\system32\msiexec.exe' and parameters ' -I "C:\DOCUME~1\dfsdf\LOCALS~1\Temp\VSDDB.tmp\SMO\sharedmanagementobjects_X86.msi" -q /qn'
Process exited with code 1603
Status of package 'SQL CLR Types' after install is 'InstallUnknown'
Status of package 'MSXML 6.0' after install is 'InstallUnknown'
Status of package 'SQL Native Client' after install is 'InstallUnknown'
Status of package 'SQL server 2008 R2 SMO' after install is 'InstallFailed'
My SMO-product.xml
<?xml version="1.0" encoding="utf-8"?>
<Product ProductCode="SQL SMO 2008" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
<PackageFiles CopyAllPackageFiles="false">
<PackageFile Name="sharedmanagementobjects_X86.msi" HomeSite="http://go.microsoft.com/fwlink/?LinkID=188438&clcid=0x409" PublicKey="3082010A0282010100BD3089FB4572A8536B9E894F0023C0BED41D3DB1594038F373918226E696120053D91C820E3CCE1DBBBDF7428D97D4FC381AE4B9F9E3ECD36103BFA0D3D6754D5C46A9ED5EF0D2E2695B1A73EAB31C8D04CD2944A064592F1E985D6EC7AB18398265C4A7BCAB758819EA87971426B37F2676A4D4383984E3B326D518F92BE9D2C9165A5421F2978D878629FEF4492CE68BF8043F7DCDCD9692860D7103E2D0FE0C4235FFD7B83FDD8E450A7DF6D74BAD5BF076721D77237D8935C41C5DB250034B476D07A75588980680A681AD544ED881D6FABF42C031BE550D99D553491230EBE5A5887C5EC47A5A148708B43769A0EB32248C08EBF9D414BAE0FCCDEAA4150203010001" />
<PackageFile Name="sharedmanagementobjects_X64.msi" HomeSite="http://go.microsoft.com/fwlink/?LinkID=188439&clcid=0x409" PublicKey="3082010A0282010100BD3089FB4572A8536B9E894F0023C0BED41D3DB1594038F373918226E696120053D91C820E3CCE1DBBBDF7428D97D4FC381AE4B9F9E3ECD36103BFA0D3D6754D5C46A9ED5EF0D2E2695B1A73EAB31C8D04CD2944A064592F1E985D6EC7AB18398265C4A7BCAB758819EA87971426B37F2676A4D4383984E3B326D518F92BE9D2C9165A5421F2978D878629FEF4492CE68BF8043F7DCDCD9692860D7103E2D0FE0C4235FFD7B83FDD8E450A7DF6D74BAD5BF076721D77237D8935C41C5DB250034B476D07A75588980680A681AD544ED881D6FABF42C031BE550D99D553491230EBE5A5887C5EC47A5A148708B43769A0EB32248C08EBF9D414BAE0FCCDEAA4150203010001" />
<PackageFile Name="sharedmanagementobjects_ia64.msi" HomeSite="http://go.microsoft.com/fwlink/?LinkID=188440&clcid=0x409" PublicKey="3082010A0282010100BD3089FB4572A8536B9E894F0023C0BED41D3DB1594038F373918226E696120053D91C820E3CCE1DBBBDF7428D97D4FC381AE4B9F9E3ECD36103BFA0D3D6754D5C46A9ED5EF0D2E2695B1A73EAB31C8D04CD2944A064592F1E985D6EC7AB18398265C4A7BCAB758819EA87971426B37F2676A4D4383984E3B326D518F92BE9D2C9165A5421F2978D878629FEF4492CE68BF8043F7DCDCD9692860D7103E2D0FE0C4235FFD7B83FDD8E450A7DF6D74BAD5BF076721D77237D8935C41C5DB250034B476D07A75588980680A681AD544ED881D6FABF42C031BE550D99D553491230EBE5A5887C5EC47A5A148708B43769A0EB32248C08EBF9D414BAE0FCCDEAA4150203010001" />
</PackageFiles>
<InstallChecks>
<MsiProductCheck Property="smox86" Product="{B692E59A-055C-43B7-BE0A-9C2FE0AB88B6}" />
<RegistryCheck Property="smox86reg" Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B692E59A-055C-43B7-BE0A-9C2FE0AB88B6}" />
<MsiProductCheck Property="smox64" Product="{F10ADDB9-839B-448B-BD2E-3BCB5C1E4B55}" />
<RegistryCheck Property="smox64reg" Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F10ADDB9-839B-448B-BD2E-3BCB5C1E4B55}" />
<MsiProductCheck Property="smoia64" Product="{DD33796B-D54B-42CE-BEA8-E4B150FB2EF3}" />
<RegistryCheck Property="smoia64reg" Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DD33796B-D54B-42CE-BEA8-E4B150FB2EF3}" />
</InstallChecks>
<Commands Reboot="Defer">
<Command PackageFile="sharedmanagementobjects_X86.msi" Arguments="/qn">
<InstallConditions>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="intel" />
<BypassIf Property="smox86" Compare="ValueEqualTo" Value="0" />
<BypassIf Property="smox86reg" Compare="ValueExists" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
<Command PackageFile="sharedmanagementobjects_X64.msi" Arguments="/qn">
<InstallConditions>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="Anunexpectederroroccurre" />
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64" />
<BypassIf Property="smox64" Compare="ValueEqualTo" Value="0" />
<BypassIf Property="smox64reg" Compare="ValueExists" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
<Command PackageFile="sharedmanagementobjects_ia64.msi" Arguments="/qn">
<InstallConditions>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="Anunexpectederroroccurre" />
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="ia64" />
<BypassIf Property="smoia64" Compare="ValueEqualTo" Value="0" />
<BypassIf Property="smoia64reg" Compare="ValueExists" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
</Commands>
<RelatedProducts>
<DependsOnProduct Code="MSXML6.0" />
<DependsOnProduct Code="SQL CLR TYPES" />
<DependsOnProduct Code="SQL Native Client" />
</RelatedProducts>
</Product>
MSXML- product.xml
<?xml version="1.0" encoding="utf-8"?>
<Product ProductCode="MSXML6.0" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
<PackageFiles CopyAllPackageFiles="false">
<PackageFile Name="msxml6_x86.msi" HomeSite="http://www.microsoft.com/downloads/info.aspx?na=41&srcfamilyid=d21c292c-368b-4ce1-9dab-3e9827b70604&srcdisplaylang=en&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fa%2ff%2feafb8ee7-667d-4e30-bb39-4694b5b3006f%2fmsxml6_x86.msi" PublicKey="3082010A0282010100CD819638AE5CA2F2C1DFDED0AB958DD63C9D1F8BC35D862E5DF0B172F5ABAC886AB5DAB1227B0BC8C8A54B915E2213E9F9F5239DB5F46E76AEEFEEA43CC7C4C0595C3FABB3733326A662816179A162F46E8895D06EDDC79FD2A451117661BA708A65A1961689A75D81D04466E5DB569E40CAFCDC76242E443000E5D67D7B9511D5581DA3E84F0BC988DCA2D653996CCA63CA996A9A925E4C4D11E82FD35B5B5E5F52A3732DA5BB84450D8C191576CB08DA9AA67015E84DEC69FD5DB26B8FED295137388BC6464915945098B0F468A4D7DE097167749E778C1D856B97EAE75F45CCE0E6710DD16300937B31988E0BB413BDB3D0EEF1DF21EEA96061EE37433DC30203010001" />
<PackageFile Name="msxml6_x64.msi" HomeSite="http://www.microsoft.com/downloads/info.aspx?na=41&srcfamilyid=d21c292c-368b-4ce1-9dab-3e9827b70604&srcdisplaylang=en&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fa%2ff%2feafb8ee7-667d-4e30-bb39-4694b5b3006f%2fmsxml6_x64.msi" PublicKey="3082010A0282010100CD819638AE5CA2F2C1DFDED0AB958DD63C9D1F8BC35D862E5DF0B172F5ABAC886AB5DAB1227B0BC8C8A54B915E2213E9F9F5239DB5F46E76AEEFEEA43CC7C4C0595C3FABB3733326A662816179A162F46E8895D06EDDC79FD2A451117661BA708A65A1961689A75D81D04466E5DB569E40CAFCDC76242E443000E5D67D7B9511D5581DA3E84F0BC988DCA2D653996CCA63CA996A9A925E4C4D11E82FD35B5B5E5F52A3732DA5BB84450D8C191576CB08DA9AA67015E84DEC69FD5DB26B8FED295137388BC6464915945098B0F468A4D7DE097167749E778C1D856B97EAE75F45CCE0E6710DD16300937B31988E0BB413BDB3D0EEF1DF21EEA96061EE37433DC30203010001" />
<PackageFile Name="msxml6_ia64.msi" HomeSite="http://www.microsoft.com/downloads/info.aspx?na=41&srcfamilyid=d21c292c-368b-4ce1-9dab-3e9827b70604&srcdisplaylang=en&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fa%2ff%2feafb8ee7-667d-4e30-bb39-4694b5b3006f%2fmsxml6_ia64.msi" PublicKey="3082010A0282010100CD819638AE5CA2F2C1DFDED0AB958DD63C9D1F8BC35D862E5DF0B172F5ABAC886AB5DAB1227B0BC8C8A54B915E2213E9F9F5239DB5F46E76AEEFEEA43CC7C4C0595C3FABB3733326A662816179A162F46E8895D06EDDC79FD2A451117661BA708A65A1961689A75D81D04466E5DB569E40CAFCDC76242E443000E5D67D7B9511D5581DA3E84F0BC988DCA2D653996CCA63CA996A9A925E4C4D11E82FD35B5B5E5F52A3732DA5BB84450D8C191576CB08DA9AA67015E84DEC69FD5DB26B8FED295137388BC6464915945098B0F468A4D7DE097167749E778C1D856B97EAE75F45CCE0E6710DD16300937B31988E0BB413BDB3D0EEF1DF21EEA96061EE37433DC30203010001" />
</PackageFiles>
<InstallChecks>
<MsiProductCheck Property="msxmlx86" Product="{A43BF6A5-D5F0-4AAA-BF41-65995063EC44}" />
<MsiProductCheck Property="msxmlx64" Product="{633F3A7E-471D-4C08-A643-C184A2EE19AB}" />
<MsiProductCheck Property="msxmlia64" Product="{03FCC50D-87AD-44A4-955F-E5D57D089530}" />
</InstallChecks>
<Commands Reboot="Defer">
<Command PackageFile="msxml6_x86.msi" Arguments="/qn">
<InstallConditions>
<BypassIf Property="msxmlx86" Compare="ValueEqualTo" Value="0" />
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="intel" />
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Success" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
<Command PackageFile="msxml6_x64.msi" Arguments="/qn">
<InstallConditions>
<BypassIf Property="msxmlx64" Compare="ValueEqualTo" Value="0" />
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
<Command PackageFile="msxml6_ia64.msi" Arguments="/qn">
<InstallConditions>
<BypassIf Property="msxmlia64" Compare="ValueEqualTo" Value="0" />
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired" />
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="ia64" />
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
</Commands>
</Product>
guide me i dont know what i am doing wrong. it is very critical for my project. Thanks in advance.
Source: (StackOverflow)
I would like use Spring.NET for IoC , DI, AOP and Caliburn as MVVVM framework.
But I can’t find any sample how configure bootstraper for Spring.NET.
Thank you for help
Source: (StackOverflow)
I am getting this error while running in device please do need full help to solve this;
Couldn't register com.XXXXX.deviceapp with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”.
Source: (StackOverflow)
So I've hit the wall after four days. I'm working with the OSDev tut and have searched high and low for two days. I've tried everything. First I realized stupid me I was attempting 64 compilation and that's why I got a "..relocation truncated to fit: rva32 against..". I moved onto Cygwin 32 and now I'm unable to see the main in my kernel.
Sorry if it's stupid, I'm trying to work on this in between classes and I'm burnt
boot.asm compiled with >>> nasm -f elf boot.asm -o boot.o
MBALIGN equ 1<<0 ; align loaded modules on page boundaries
MEMINFO equ 1<<1 ; provide memory map
FLAGS equ MBALIGN | MEMINFO ; this is the Multiboot 'flag' field
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
CHECKSUM equ -(MAGIC + FLAGS) ; checksum of above, to prove we are multiboot
section .multiboot
align 4
dd MAGIC
dd FLAGS
dd CHECKSUM
section .bootstrap_stack
align 4
stack_bottom:
times 16384 db 0
stack_top:
section .text
global _start
_start:
mov esp, stack_top
call kernel_main
cli
.hang:
hlt
jmp .hang
kernel compiled with >>> g++ -c kernel.cpp -o kernel.o -ffreestanding -O2 -Wall -Wextra -fno-exceptions -fno-rtti
#include <stddef.h>
#include <stdint.h>
/* Hardware text mode color constants. */
enum vga_color
{
COLOR_BLACK = 0,
COLOR_BLUE = 1,
COLOR_GREEN = 2,
COLOR_CYAN = 3,
COLOR_RED = 4,
COLOR_MAGENTA = 5,
COLOR_BROWN = 6,
COLOR_LIGHT_GREY = 7,
COLOR_DARK_GREY = 8,
COLOR_LIGHT_BLUE = 9,
COLOR_LIGHT_GREEN = 10,
COLOR_LIGHT_CYAN = 11,
COLOR_LIGHT_RED = 12,
COLOR_LIGHT_MAGENTA = 13,
COLOR_LIGHT_BROWN = 14,
COLOR_WHITE = 15,
};
uint8_t make_color(enum vga_color fg, enum vga_color bg)
{
return fg | bg << 4;
}
uint16_t make_vgaentry(char c, uint8_t color)
{
uint16_t c16 = c;
uint16_t color16 = color;
return c16 | color16 << 8;
}
size_t strlen(const char* str)
{
size_t ret = 0;
while ( str[ret] != 0 )
ret++;
return ret;
}
static const size_t VGA_WIDTH = 80;
static const size_t VGA_HEIGHT = 24;
size_t terminal_row;
size_t terminal_column;
uint8_t terminal_color;
uint16_t* terminal_buffer;
void terminal_initialize()
{
terminal_row = 0;
terminal_column = 0;
terminal_color = make_color(COLOR_LIGHT_GREY, COLOR_BLACK);
terminal_buffer = (uint16_t*) 0xB8000;
for ( size_t y = 0; y < VGA_HEIGHT; y++ )
{
for ( size_t x = 0; x < VGA_WIDTH; x++ )
{
const size_t index = y * VGA_WIDTH + x;
terminal_buffer[index] = make_vgaentry(' ', terminal_color);
}
}
}
void terminal_setcolor(uint8_t color)
{
terminal_color = color;
}
void terminal_putentryat(char c, uint8_t color, size_t x, size_t y)
{
const size_t index = y * VGA_WIDTH + x;
terminal_buffer[index] = make_vgaentry(c, color);
}
void terminal_putchar(char c)
{
terminal_putentryat(c, terminal_color, terminal_column, terminal_row);
if ( ++terminal_column == VGA_WIDTH )
{
terminal_column = 0;
if ( ++terminal_row == VGA_HEIGHT )
{
terminal_row = 0;
}
}
}
void terminal_writestring(const char* data)
{
size_t datalen = strlen(data);
for ( size_t i = 0; i < datalen; i++ )
terminal_putchar(data[i]);
}
extern "C"
{
void kernel_main()
{
terminal_initialize();
/* Since there is no support for newlines in terminal_putchar yet, \n will
produce some VGA specific character instead. This is normal. */
terminal_writestring("Hello, kernel World!\n");
}
}
linker call >>> g++ -T linker.ld -o myos.bin -ffreestanding -O2 -nostdlib -fno-exceptions boot.o kernel.o -lgcc
ENTRY(_start)
SECTIONS
{
/* Begin @ 1 MB*/
. = 1M;
/* multiboot header -> text */
.text BLOCK(4K) : ALIGN(4K)
{
*(.multiboot)
*(.text)
}
/* Read only data */
.rodata BLOCK(4K) : ALIGN(4K)
{
*(.rodata)
}
/* Read-write data */
.data BLOCK(4K) : ALIGN(4K)
{
*(.data)
}
/* Read, write, and stack */
.bss BLOCK(4K) : ALIGN(4K)
{
*(COMMON)
*(.bss)
*(.bootstrap_stack)
}
/* Additional Here */
}
Maybe I'm just burnt and am not seeing something simple, but that's why I'm here
Source: (StackOverflow)
I have to make an android app that should communicaticate peer to peer. After searching over internet I found one solution is Sip2peer http://code.google.com/p/sip2peer/ but I am not able to implement Bootstrap peer and SBC.
Is there any one who has implemented all this, please provide me steps to implement these stuff.
Any help would be appreciated.
Regards,
Pawan
Source: (StackOverflow)
where can i find the whole process flow of an iPhone application, like there are bootstrap processes in web applications that define the flow of processes, calls to predefined hooks, and tells that in which orders functions would be called?
functions like:
viewDidLoad()
viewWillAppear()
viewDidAppear()
Searching for the process flow.
Source: (StackOverflow)
This question already has an answer here:
I am trying to format date time attribute in MVC 4 class like this :
[Required]
[DataType(DataType.Date)]
[DisplayFormat(ApplyFormatInEditMode = true,DataFormatString = "{0:dd/MM/yyyy}")]
public DateTime DateOfBirth { get; set; }
but not work DateOfBirth attribute accept date format month before day (EX:accept 1/27/1990 and not accept 27/1/1990)
I am searching for answers and trying many solution but not work like
enter link description here
using html helper:
@Html.TextBoxFor(Model => Model.DateOfBirth)
I appreciate any help thanks
Source: (StackOverflow)
I have a problem with my gemset.
I created a new one after a fresh install on my computer, just one step after cloning the repo.
Running bundle install
but I get this error
Could not find gem 'sprockets (= 2.2.2.backport2) ruby' in the gems available on this machine
I'm using Rails 3.2.11 and ruby 2.1
I have followed the suggestion of the bootstrap-sass
Readme
But it doesn't work
Here is the part of my Gemfile with assets group
group :assets do
gem 'sass-rails', " ~> 3.2.3"
gem 'compass-rails'
gem 'sprockets-rails', '=2.0.0.backport1'
gem 'sprockets', '=2.2.2.backport2'
gem 'bootstrap-sass', '~> 3.1.1'
gem 'coffee-rails', "~> 3.2.1"
gem 'uglifier', '>=1.0.3'
gem 'eco'
gem 'i18n-js'
end
The project works on other machines. What can I do?
UPDATING THE QUESTION
Now I have the same problem but with rbenv
, and I don't know how to solve it because rbenv
doesn't have gemsets!
Source: (StackOverflow)
I'm new to Yeoman and I`m trying to setup a yeoman bootstrap sass/compass enviroment.
I've followed this link for the creation of the Yeoman Webapp.
And this link to the compass recipe.
When I run grunt serve I get the following:
Running tasks: compass:server
Running "compass:server" (compass) task
Verifying property compass.server exists in config...OK
File: [no files]
Options: sassDir="app/styles", cssDir=".tmp/styles", imagesDir="app/images", javascriptsDir="app/scripts", fontsDir="app/styles/fonts", generatedImagesDir=".tmp/images/generated", importPath="bower_components", httpImagesPath="../images", httpGeneratedImagesPath="../images/generated", httpFontsPath="fonts", relativeAssets=false, assetCacheBuster=false, debugInfo
Error: invalid option: --import-path=bower_components
Usage: compass compile [path/to/project] [path/to/project/src/file.sass ...] [options]
I have searched around all over to fix the issue with no success any help would be deeply appreciated.
Thank's
Source: (StackOverflow)
I have tried to clean out all targets and caches, restart XCode, reset the simulator, kill all simulator processes and also restart my laptop, but nothing works and the following error still shows:
Couldn't register com.yourcompany.myApp with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.
Is there a solution to this error?
Many thanks in advance.
Source: (StackOverflow)
(TL;DR version is the question in bold at the bottom)
When Entity Framework 4.1 Code First was originally released (actually it was around CTP5 time), there was a NuGet package called EFCodeFirst
. This could be used in conjunction with another NuGet package called EFCodeFirst.SqlServerCompact
which allowed the use of EF with SQL Server Compact 4.0 (SQL Server CE).
Installing the EFCodeFirst.SqlServerCompact
package would scaffold, or generate a "bootstrapper" class called SQLCEEntityFramework.cs
within an App_Start
folder which would setup things like EF's Database.DefaultConnectionFactory
along with generating "stubs" for other useful methods (initializing, seeding the db etc.) by using the WebActivator
package
These two packages (EFCodeFirst
& EFCodeFirst.SqlServerCompact
) are now deprecated, and appear to have been replaced by equivalent packages of EntityFramework
& EntityFramework.SqlServerCompact
and both are currently at version 4.3.1
My problem is that, using these new packages in a new project, they do not seem to create the "bootstraper" class in order to set-up EF to use SQL Server Compact at run-time. Sure, I can just copy an old version of the class from a previous project, but it would be nice to know that the NuGet package still contained this functionality (that would potentially be updated over time).
Is there any way to get the latest version (4.3.1 at the time of this writing) of the EFCodeFirst.SqlServerCompact
package to create the SQLCEEntityFramework.cs
bootstrapper class, either upon installation or after the fact (perhaps via a powershell command?) ?
UPDATE:
I've just noticed that a previous version of the EFCodeFirst.SqlServerCompact
NuGetPackage still has a dependency upon the WebActivator
package (which is leveraged by the bootstrapper class) however this dependency has been removed from both the latest version and the one immediately preceding the latest version. Looks like the functionality that generates the bootstrapper class has been removed, but why I wonder?
Source: (StackOverflow)
I'd like to study C and assembly codes related to bootstrapping. I have tried to google with many keyword, but most webpages contain overview of bootstrapping. Of course, because I'm poor at english, I couldn't find appropriate keyword to the desired results. I mean I want webpages or books that describe what the following files do.
usr/src/linux-3.2.28/arch/x86/boot/header.S
usr/src/linux-3.2.28/arch/x86/boot/main.c
usr/src/linux-3.2.28/arch/x86/boot/pm.c
usr/src/linux-3.2.28/arch/x86/boot/pmjump.S
usr/src/linux-3.2.28/arch/x86/boot/compressed/head_32.S
arch/x86/boot/kernel/head_32.S
usr/src/linux-3.2.28/arch/x86/boot/compressed/misc.c
init/main.c
Any webpage?
Source: (StackOverflow)