This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -54,12 +54,12 @@ int asm_option[ASM_OPT_NUM]; | |
/* These chars start a comment anywhere in a source file (except inside | |
another comment. */ | |
-const char comment_chars[] = "#/"; | |
+const char comment_chars[] = ";"; | |
/* These chars only start a comment at the beginning of a line. */ | |
-const char line_comment_chars[] = "#/"; | |
+const char line_comment_chars[] = ";"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nolist | |
.TITLE AY Test | |
.include "macros.s" | |
.include "hwdefs.s" | |
.=040; .word start # program’s relative start address | |
.=042; .word 01000 # initial location of stack pointer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; vim: set fileformat=dos filetype=asmpdp11 tabstop=8 noexpandtab shiftwidth=8 autoindent : | |
.Title SRAMT | |
.Ident /V0.01/ | |
.MCall .TTYIn, .TTYOut, .Print, .Exit | |
PR7 = 7*40 ; highest priority to CPU | |
PR0 = 0 ; lowest priority to CPU |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BootstrapFormBuilder < ActionView::Helpers::FormBuilder | |
delegate :capture, :content_tag, :tag, to: :@template | |
%w[text_field text_area password_field collection_select].each do |method_name| | |
define_method(method_name) do |name, *args| | |
errors = object.errors[name].any?? " error" : "" | |
error_msg = object.errors[name].any?? content_tag(:span, object.errors[name].join(","), class: "help-inline") : "" | |
content_tag :div, class: "clearfix#{errors}" do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
desk_id=$(xdotool get_desktop) | |
apps_table=$(wmctrl -lx | awk -v desk_id=$desk_id '$2==desk_id {print $0}') | |
win_id=$(printf '%x' $(xdotool getactivewindow)) | |
active_window_class=$(echo "$apps_table" | awk -v id=$win_id '$0 ~ id {print $3}') | |
if [[ "$active_window_class" = "$2" ]]; | |
then | |
xdotool getactivewindow windowminimize; | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": | |
[ | |
{ | |
"type": "qemu", | |
"iso_url": "http://mirror.yandex.ru/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso", | |
"iso_checksum": "88c0437f0a14c6e2c94426df9d43cd67", | |
"iso_checksum_type": "md5", | |
"output_directory": "output_centos_tdhtest", | |
"shutdown_command": "sudo shutdown -P now", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System authorization information | |
auth --enableshadow --passalgo=sha512 | |
# Use CDROM installation media | |
cdrom | |
# Perform the kickstart installation in text mode | |
text | |
# X will not be configured | |
skipx | |
# Don't run the Setup Agent on first boot | |
firstboot --disable |