-
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
<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>'); |
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
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
#!/bin/bash | |
# | |
# === MITize === | |
# Create an MIT license file with one command. | |
# No parameters, just run it and forget about it. | |
# | |
# Check if there is not a license file already | |
[[ -f LICENSE || -f LICENSE.txt || -f LICENSE.md ]] && |
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
* INFO: - ./bootstrap.sh -- Version 2014.10.14 | |
* WARN: Running the unstable version of bootstrap-salt.sh | |
* INFO: System Information: | |
* INFO: CPU: GenuineIntel | |
* INFO: CPU Arch: x86_64 | |
* INFO: OS Name: Linux | |
* INFO: OS Version: 3.16.3-1-ARCH | |
* INFO: Distribution: Debian 7.7 |
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
<script src='bench.js'></script> |
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> | |
<title>hi</title> | |
</head> | |
<body> | |
hi | |
</body> | |
</html> |
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/sh | |
# Description: Lists packages that were explicitly installed by user. | |
# Run this: curl -Ls goo.gl/RV7oiB | sh | |
export LC_ALL=C | |
MIN=2 # First is the OS installation | |
MAX=$(yum history | awk 'NR==4 { print $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
; | |
; Infimouse.au3 | |
; an AutoIt script | |
; | |
; Author: Ondrej Simek | |
; License: MIT | |
; | |
; If you move mouse to one border, it'll come from the other. | |
; | |
; Works for multiple screens too, but will have issues if the screen |
OlderNewer