-
Install XQuartz.
-
Install dwm using Homebrew (or whatever):
brew install dwm
-
Create a
xinitrc.d
script for dwm:
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 gui; | |
import java.awt.Dimension; | |
import java.awt.event.ActionEvent; | |
import javax.swing.AbstractAction; | |
import javax.swing.Action; | |
import javax.swing.BorderFactory; | |
import javax.swing.JFrame; | |
import javax.swing.JMenu; |
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
// .. odtrhneme zbytecnou tecku s nulou | |
if (vysledek.endsWith(".0")) | |
vysledek = vysledek.substring(0, vysledek.length() - 2); |
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> | |
<head> | |
<script src='http://code.jquery.com/jquery-1.4.2.min.js' type='text/javascript'></script> | |
<script> | |
$(document).ready(function() { | |
$('#lookEditorToggler').click(function(e) { | |
e.preventDefault(); | |
var output = document.body.innerHTML; | |
output = output.replace(/<!-- b\[(.+?)\] -->/g, '<a class="lookEditationLink">$1</a><div>'); |
NewerOlder