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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>my.group.id</groupId> | |
<artifactId>my.artifact.id</artifactId> | |
<version>1.0.0-SNAPSHOT</version> |
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 | |
xrandr --output HDMI3 --auto; | |
sleep 5; | |
xrandr --output LVDS1 --off; | |
sleep 5; | |
xrandr --output VGA1 --right-of HDMI3 --auto --primary; |
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
javascript:(function(){var%20canonical%3D%22%22%3Bvar%20links%3Ddocument.getElementsByTagName(%22link%22)%3Bfor(var%20i%3D0%3Bi%3Clinks.length%3Bi%2B%2B)%7Bif(links%5Bi%5D.getAttribute(%22rel%22)%3D%3D%3D%22canonical%22)%7Bvoid(canonical%3Dlinks%5Bi%5D.getAttribute(%22href%22))%7D%7Dif(canonical)%7Bvar%20feed%3D%22https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fuser_timeline.rss%3Fscreen_name%3D%22%2Bcanonical.substr(canonical.lastIndexOf('%2F')%2B1)%3Blocation%3D'http%3A%2F%2Fwww.google.com%2Freader%2Fview%2Ffeed%2F'%2BencodeURIComponent(feed)%7D})(); |
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
(defmacro with | |
"do things with the first expression passed, | |
and produce the result" | |
[expr & body] | |
`(let [~'% ~expr] ~@body)) | |
(defmacro within | |
"do things with the first expression passed (for side effects), | |
but produce the value of the first expression" | |
[expr & body] |