- install brasero (gnome automatically installs it)
- install libdvdcss
- start brasero
- install disk
- set region code
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
How to create a 4MB FreeDOS boot disk for eg, doing a motherboard bios upgrade. | |
Originally from http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html | |
The following is a brief outline of how I created a 4MB CD boot image to update the bios on a motherboard I have been considering buying. | |
I do not have this motherboard, but I have tested the bootable CD up to the point of actually flashing the bios. | |
FWIW, my computer runs PATA / IDE HDs and optical drives. Not SATA. | |
Adjust accordingly to your distro, hardware, etc. | |
I'm human, and make typos on occasion. So double check your input. |
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
#!/usr/bin/env python | |
import sys, paramiko | |
if len(sys.argv) < 5: | |
print "args missing" | |
sys.exit(1) | |
hostname = sys.argv[1] | |
password = sys.argv[2] |
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
//importScript("Test.js"); // Imports & executes Test.js | |
// Wohooo, JavaScript inside of JavaScript. That's meta. | |
execute("(function() { print('Hello world') })();"); | |
print("--- Let's have a cake ---"); | |
var myCake = new Cake(); | |
myCake.Info(); | |
print("--- I'm hungry ---"); |
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
// --- vibrateDevice--------------- | |
value nme_vibrate_device() | |
{ | |
#ifdef WEBOS | |
VibrateDevice(); | |
return alloc_null(true); | |
#enif | |
} | |
DEFINE_PRIM(nme_vibrate_device,0); |
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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
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
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
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
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
class MyFrame extends JFrame { | |
private JButton btnTutup = new JButton("Tutup"); | |
private JButton btnTambah = new JButton("Tambah"); | |
private JTextField txtA = new JTextField(); |
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
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
import java.util.*; | |
class Combo extends JFrame{ | |
private JLabel lbl1 = new JLabel("Bilangan : "); | |
private JTextField tBil = new JTextField(); | |
private JButton btnTambah = new JButton("Tambah"); | |
private DefaultComboBoxModel ganjil = new DefaultComboBoxModel(); |
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
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using Microsoft.Win32; | |
namespace skat.Printserver | |
{ | |
/// <summary> | |
/// A wrapper around Adobe Acrobat Reader that helps to print PDF files. |
OlderNewer