This file contains 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
[global] | |
map to guest = bad user | |
[shared] | |
writeable = yes | |
wide links = no | |
path = /home/blah | |
force directory mode = 777 | |
force group = blah | |
force user = blah |
This file contains 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
"Resource/UI/HudMedicCharge.res" | |
{ | |
"Background" | |
{ | |
"ControlName" "CTFImagePanel" | |
"fieldName" "Background" | |
"wide" "0" | |
"tall" "0" | |
"visible" "1" | |
"enabled" "0" |
This file contains 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
echo "Hey bob don't forget to replace the - with :" >"%HOMEPATH%\desktop\ip.txt" | |
ipconfig >> "%HOMEPATH%\desktop\ip.txt" | |
start notepad "%HOMEPATH%\desktop\ip.txt" | |
This file contains 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
ipconfig /all > "%HOMEPATH%\desktop\ip.txt" | |
start notepad "%HOMEPATH%\desktop\ip.txt" |
This file contains 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/bash | |
# /etc/init.d/selenium | |
# debian-compatible selenium-grid startup script. | |
# Based on jenkins startups | |
# Praneeth Bodduluri <lifeeth[at]gmail.com> | |
# update-rc.d -n -f selenium start 90 2 3 4 5 . stop 10 0 1 6 . | |
### BEGIN INIT INFO | |
# Provides: selenium-grid | |
# Required-Start: $remote_fs $syslog $network | |
# Required-Stop: $remote_fs $syslog $network |
This file contains 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 drbd::drbd_config { | |
# require Class[drbd::drbd_install] | |
# require Class[drbd::drbd_service] | |
# $drbd_resource = ymllookup('drbd_resource') | |
$drbd_resource = { data_share1 => { 'node1.local' => ['192.168.222.21','/dev/drbd1'], | |
'node2.local' => ['192.168.222.22','/dev/drbd1'] }, | |
data_share2 => { 'node1.local' => ['192.168.222.21','/dev/drbd2'], | |
'node2.local' => ['192.168.222.22','/dev/drbd2'] } |
This file contains 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/ruby | |
# require Class[drbd::drbd_install] | |
# require Class[drbd::drbd_service] | |
# $drbd_resource = ymllookup('drbd_resource') | |
drbd_resource = { "data_share1" => { 'node1.local' => ['192.168.222.21','/dev/drbd1'], | |
'node2.local' => ['192.168.222.22','/dev/drbd1'] }, | |
"data_share2" => { 'node1.local' => ['192.168.222.21','/dev/drbd2'], | |
'node2.local' => ['192.168.222.22','/dev/drbd2'] }} |
This file contains 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
"Brute force an ignorance time | |
if line =~ '^\s*#' | |
return indent | |
elseif line =~ ':\s*$' | |
return increase | |
elseif line =~ ':\s*#.*$' | |
return increase | |
else | |
return indent | |
endif |
This file contains 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 indent file | |
" Language: Yaml | |
" Author: Ian Young | |
if exists("b:did_indent") | |
finish | |
endif | |
"runtime! indent/ruby.vim | |
"unlet! b:did_indent | |
let b:did_indent = 1 |
This file contains 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
package Assign1; | |
public class PizzaOrder { | |
//declaring variables | |
private int id; | |
private String name; | |
private String phoneNumber; | |
private String order; | |
private String type; |
OlderNewer