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
# | |
# wm independent hotkeys | |
# | |
# terminal emulator | |
super + Return | |
alacritty | |
# program launcher | |
super + @space |
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 | |
sxhkd & | |
bspc monitor -d I II III IV V VI VII VIII IX X | |
bspc config border_width 2 | |
bspc config window_gap 6 | |
bspc config split_ratio 0.52 |
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
<li repeat.for="product of products" class="list-group-item"> | |
<span i18n="products.${product.code}">[product description by code from translation.json]</span> | |
</li> |
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
import * as fs from 'fs'; | |
export class Runner { | |
constructor() {} | |
readFile(filename: string): Promise<any | Error> { | |
return new Promise((resolve, reject) => { | |
fs.readFile(filename, (err, result) => { |
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
import org.apache.wicket.markup.html.form.TextField; | |
import org.apache.wicket.model.IModel; | |
import org.joda.time.LocalTime; | |
import org.slf4j.Logger; | |
import static org.slf4j.LoggerFactory.getLogger; | |
public class TimeField extends TextField<LocalTime> { | |
private static final Logger LOG = getLogger(TimeField.class); |
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 main | |
import ( | |
"os" | |
"fmt" | |
"net/http" | |
"io/ioutil" | |
) | |
func handler(w http.ResponseWriter, req *http.Request, path string) { |
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
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa AAAA.... [email protected] | |
coreos: | |
units: | |
- name: docker-tcp.socket | |
command: start | |
enable: yes | |
content: | |
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 | |
# | |
# artifactory startup script. | |
# | |
# $FreeBSD: artifactory 2014-04-15 raugustinus $ | |
# | |
# Make sure you have the artifactory user and artifactory home or set them below accordingly! | |
# PROVIDE: artifactory | |
# REQUIRE: NETWORKING SERVERS |