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
<html> | |
<body id="#wrapper_object_content"> | |
<h1>test</h1> | |
<div><a class="audio_mpeg" href="link1">link1</a></div> | |
<a class="audio_mpeg" href="link2">link2</a> | |
<p><a class="audio_mpeg" href="link3">link3</a></p> | |
</body> | |
</html> | |
$(document).ready( function() { |
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
open my $minified_js, '-|', "minify_js.sh", $js_file or die("minify_js.sh failed: $!") |
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
console.h:/* Everything but DEBUG and LOG output to BIOS console */ | |
console.h:#undef CONSOLE_PCBIOS | |
console.h://#define CONSOLE_PCBIOS ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_DEBUG & ~CONSOLE_USAGE_LOG ) | |
console.h:#define CONSOLE_PCBIOS ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG ) | |
console.h:#define CONSOLE_VESAFB | |
console.h:/* Everything but TUI output to syslog console */ | |
console.h:#undef CONSOLE_SYSLOG | |
console.h:#define CONSOLE_SYSLOG ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) | |
console.h:#undef LOG_LEVEL | |
console.h:#define LOG_LEVEL LOG_ALL /* Full syslog logging */ |
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
# To work around bugs reported by these systemd services | |
# systemctl status tmp-cores.mount | |
# systemctl status tmp-database.mount | |
# systemctl status tmp-joypads.mount | |
# systemctl status tmp-assets.mount | |
mkdir -p /tmp/cores | |
cp -a /usr/lib/libretro/* /tmp/cores/ | |
cp -a /storage/cores/* /tmp/cores/ |
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 | |
make_ipxe() { | |
pushd "$HOME/src/forked/ipxe/src" >/dev/null && | |
make CONFIG=chain bin/undionly.kpxe bin/ipxe.lkrn bin/ipxe.pxe bin/ipxe.usb && | |
sudo install -v -m 0644 -g root -o root bin/undionly.kpxe /srv/salt/tftpd/files/undionly.kpxe && | |
sudo install -v -m 0644 -g root -o root bin/ipxe.lkrn /srv/salt/tftpd/files/ipxe.lkrn && | |
sudo install -v -m 0644 -g root -o root bin/ipxe.pxe /srv/salt/tftpd/files/ipxe.pxe && | |
sudo salt-call -l quiet state.single file.recurse name=/srv/tftp source=salt://tftpd/files dir_mode=755 file_mode=644 && | |
popd >/dev/null |
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
:elive | |
echo Starting Elive ${elive-version} for ${initiator-iqn} | |
# Get the ISO from http://www.elivecd.org/download/beta/ | |
set base-url elive-${elive-version} | |
set kernel-args \ | |
boot=live swap=off \ | |
ip=dhcp root=/dev/nfs nfsroot=${nfs-server}:${nfs-root}${base-url} \ | |
config username=eliveuser | |
kernel ${base-url}/live/vmlinuz1 ${kernel-args} | |
initrd ${base-url}/live/initrd1.img |
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
select * | |
from history | |
where trigger_table = 'object' | |
and trigger_old->>'object_id' = '155c705d-7c21-4828-ba6f-15172046a169' | |
order by triggered_at desc |
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
mkdir /sys/kernel/config/target/iscsi | |
#### iSCSI Discovery authentication information | |
echo -n 0 > /sys/kernel/config/target/iscsi/discovery_auth/enforce_discovery_auth | |
#### Network portals for iSCSI Target Portal Group | |
mkdir -p /sys/kernel/config/target/iscsi/iqn.2011-02.lan.smidsrod:testvm.boot.ubuntu/tpgt_1/np/10.1.1.10:3260 | |
#### iSCSI Target Ports | |
mkdir -p /sys/kernel/config/target/iscsi/iqn.2011-02.lan.smidsrod:testvm.boot.ubuntu/tpgt_1/lun/lun_0 | |
ln -s /sys/kernel/config/target/iscsi/iqn.2011-02.lan.smidsrod:testvm.boot.ubuntu/tpgt_1/lun/lun_0/../../../../../../target/core/iblock_7/testvm.boot.ubuntu /sys/kernel/config/target/iscsi/iqn.2011-02.lan.smidsrod:testvm.boot.ubuntu/tpgt_1/lun/lun_0/0acc9b6c97 | |
lio_node --aluasecmd iqn.2011-02.lan.smidsrod:testvm.boot.ubuntu 1 0 | |
#### Attributes for iSCSI Target Portal Group |
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
#!ipxe | |
chain https://d11xdyzr0div58.cloudfront.net/static/netboot/ipxe.2cfc24c4bb9a.pxe |
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
DEBUG=wep,wpa_psk,wpa_ccmp,net80211,wpa_tkip,sec80211,rc80211,wpa,pccrd,aoe,ipv4,neighbour,eapol,infiniband,vlan,httpbasic,httpdigest,syslogs,httpconn,ftp,http,iscsi,httpcore,https,httpauth,oncrpc,httpblock,tcpip,nfs_uri,nfs,oncrpc_iob,mount,nfs_open,portmap,dhcp,dhcpv6,tftp,slam,ntp,dns,syslog,fragment,tls,ipv6,retry,socket,icmp,eth_slow,dhcppkt,validator,fcns,icmpv4,dhcpopts,peerdist,ib_mcast,ib_service,xsigo,ib_cmrc,ib_pathrec,ib_packet,ib_mi,ib_smc,ib_sma,ib_srp,ib_cm,pccrc,ndp,iobpad,fcp,stp,fcels,tcp,peermux,udp,fcoe,ethernet,fakedhcp,ping,peerblk,rndis,rarp,peerdisc,nullnet,arp,icmpv6,netdev_settings,fc,netdevice,zbin,hijack,iccfix,einfo,efirom,efifatbin,elf2efi,nrv2b,ifmgmt,imgmgmt,imgtrust,prompt,ipstat,ntpmgmt,dhcpmgmt,lotest,fcmgmt,profstat,ibmgmt,route_ipv6,pingmgmt,pxemenu,iwmgmt,autoboot,sync,route_ipv4,nslookup,route,neighmgmt,__udivmoddi4,__udivdi3,__umoddi3,__divmoddi4,__divdi3,__moddi3,implicit,icc,pinger,assert,linebuf,fbcon,profile,nvo,cwuri,stringextra,gdbstub,xferbuf,xfer,getkey,basename |