iso

No bootloader found on bootable medium

巧了我就是萌 提交于 2019-12-08 22:14:27
I'm currently playing with mkisofs, dd and assembly. I've created simple bootloader: BITS 16 ;------------------- ;SIMPLE BOOTLOADER ;------------------- start: mov ax, 0x07C0 mov ds, ax mov si, welcmsg call printstr mov ah, 0Eh mov al, 65 int 10h cli; hlt; printstr: pusha mov ah, 0Eh .loop: mov al, byte [ds:si] cmp al, 0 jz .end int 10h inc si jmp .loop .end: popa ret ;------------------- ;DATA ;------------------- welcmsg: db "Welcome!", 0x0D, 0x0A, 0 ;------------------- ;FILL ;------------------- times 510-($-$$) db 0 dw 0xAA55 I've compiled it on linux using NASM. After successful

How to change for 3D rotation on UIPanGesture?

柔情痞子 提交于 2019-12-08 13:34:32
问题 I have done animation opening a page on tapping on it but now I have to change it for Pan Gesture. How should I start? [UIView setAnimationDelegate:self]; [UIView commitAnimations]; CALayer *layer = ges.view.layer; CATransform3D initialTransform = ges.view.layer.transform; initialTransform.m34 = 1.0 / -1100; layer.transform = initialTransform; layer.anchorPoint = CGPointMake(-0.0, 0.5); [UIView beginAnimations:@"Scale" context:nil]; [UIView setAnimationDuration:2]; [UIView setAnimationCurve:

Data Member Validation - ISO 4217 (currency) and 639-1 (language)

做~自己de王妃 提交于 2019-12-08 06:47:56
问题 So, I am looking to do some custom Data Field Validation on some models in the .NET project I am currently working on. These involve a Default Language and a Default Currency. In order to meet the standards of this application and the various other applications and services involved, the currency needs to be a ISO 4217 (3 character currency) standard and the language needs to be a ISO 639-1 (2 character language). Seeing as no model validation is being done for this anywhere yet, I have the

Correct ISO week numbering in Crystal Reports XI

感情迁移 提交于 2019-12-08 02:31:40
问题 How can I get the ISO-8601 week number of a given date in Crystal Reports XI? 回答1: Crystal Reports supports the DatePart -function which can give you the ISO week number of a given date. NumberVar week := DatePart("ww", date, crMonday, crFirstFourDays); However, in Crystal Reports XI there is a bug that gives erronous results round new year. The best solution is probably to create an own function getISOWeekNumber: Function (optional DateVar d := CurrentDate) NumberVar week := DatePart("ww", d

CloudStack 4.4学习总结之注册ISO

限于喜欢 提交于 2019-12-07 18:46:19
CloudStack 4.4学习总结之注册ISO 2 、注册 ISO : 与其它虚拟化平台管理平台一样,Cloudstack可以通过系统ISO文件进行安装Linux虚拟机操作系统。但是Cloudstack不支持直接上传ISO文件到服务器上,需要采用http方式下载ISO,文件下载到辅助存储空间中, 需要等待一段时间 。 已就绪 yes, 与状态 Successfully Installed 表示成功。 此步骤,非常重要,没有iso,你无法创建实例。 ①、配置 web : 这里主要是使用web的方式,让cloudstack-management下载iso。 配置很简单了,只要安装httpd,启动httpd,并保证web目录下载iso,且能访问,即可。 注: 可能会出现【已就绪】那栏没有任何显示,这是你要看下【系统VM】是否都在running的状态了。 实例: [root@cloud-server ~]# mount /dev/cdrom /mnt/ mount: block device /dev/sr0 is write-protected, mounting read-only [root@cloud-server ~]# ll /mnt/ total 4495360 -r--r--r-- 1 4294967295 4294967295 4603248640 Mar 20

Maven plugin for generating ISO file

百般思念 提交于 2019-12-07 11:14:54
问题 Is there a maven plugin capable of generating ISO images? I need to take the output of some modules (mostly zip files containing jars) and combine them into a single ISO image. Thanks 回答1: There is now an ISO9660 maven plugin that does the job: https://github.com/stephenc/java-iso-tools/commits/master/iso9660-maven-plugin Documentation is sparse but got it working with the following: <plugin> <groupId>com.github.stephenc.java-iso-tools</groupId> <artifactId>iso9660-maven-plugin</artifactId>

Cannot display french accents in php mail

我的未来我决定 提交于 2019-12-07 11:00:35
问题 I have the following php script sends an email based on parameters returned: <? header('Content-Type: application/json; charset=utf-8'); $headers = "From: Source\r\n"; $headers .= "Content-type: text/html;charset=utf-8\r\n"; $to = $data["t_email"]; $subject = "Hello"; $message = (gather_post("locale") == "fr_CA")?"message français ééààèè": "english message"; mail($to, $subject, $message, $headers); ?> I've taken parts out that are not relevent. The message will be sent out fine, but the

Generating MAC by encrypting data

蓝咒 提交于 2019-12-07 10:20:43
问题 I hope this question will not get closed as not constructive. I've been banging my head to the wall to solve this and still got nowhere. so, this is my last hope: Question is basically about generating the MAC field of an ISO 8583-Rev 93 message. I have some dumps of valid messages and I'm trying to generate the correct MAC. Encryption Algorithm is DES , Mode=CBC , IV = new byte[] {0, 0, 0, 0, 0, 0, 0, 0} Encryption key is: new byte[] { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 } Data To

How to print the current time and date in ISO date format in java?

限于喜欢 提交于 2019-12-07 09:00:42
问题 I am supposed to send the current date and time in ISO format as given below: '2018-02-09T13:30:00.000-05:00' I have written the following code: Date date = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm"); SimpleDateFormat formatter1 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.000'Z'"); System.out.println(formatter.format(date)); System.out.println(formatter1.format(date)); It prints in the following way: 2018-04-30T12:02 2018-04-30T12:02:58.000Z But it

Leaks while adding to array in while loop

早过忘川 提交于 2019-12-07 08:18:26
I have function named: - (void) AddSortedCustomFeed :(NSMutableArray*) rssList; this function adds items(Articles) from sqlite database to NSMutableArray here how this function works: - (void) AddSortedCustomFeed :(NSMutableArray*)rssList { NSLog(@"\n\n\n ----- Add Sorted SQL Database -----"); NSLog(@"Start"); // Create Query String. NSString* sqliteQuery = [NSString stringWithFormat:@"SELECT mainLink, title, summary, pubDate, author, imageLink, body, favorites, pubdatetime FROM ARTICLES WHERE customfeed = 'Y' ORDER BY pubdatetime DESC"]; NSLog(@"Query String is: %@", sqliteQuery); // Pointer