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
21:36:01.321 PATCH https://cloud.weitnahbei.de/index.php/apps/contacts/addressbook/local/6/contact/91 [HTTP/1.0 501 Not Implemented 123ms] | |
21:36:01.389 SyntaxError: JSON.parse: unexpected character core.js:5 |
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
= simple_form_for(@stable) do |f| | |
.form-inputs | |
# Stable has_one Owner. | |
%fieldset{:name => "owner"} | |
= f.simple_fields_for :owner do |o| | |
# Straightforward here... | |
- if @stable.owner.picture.exists? | |
= o.input :delete_picture, :as => :boolean, :class => 'delete_picture' |
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 | |
NAME_PDF1="1.pdf" | |
NUMPAGES_PDF1="100" | |
NAME_PDF2="2.pdf" | |
NUMPAGES_PDF2="100" | |
NAME_OUTPUT="out.pdf" | |
mkdir tmp{1,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
#!/usr/bin/env ruby | |
require 'maxminddb' | |
db = MaxMindDB.new('/usr/share/GeoIP/GeoLite2-City.mmdb') | |
ret = db.lookup(ARGV[0]) | |
if ret.found? | |
if ret.city.name | |
puts "#{ret.city.name}, #{ret.country.name}" |
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
# Wordpress configuration | |
"^/(.*/)?files/$" => "/index.php", | |
"^/(.*/)?files/(.*)" => "/wp-includes/ms-files.php?file=$2", | |
"^(/wp-admin/.*)" => "$1", | |
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "/$2", | |
"^/([_0-9a-zA-Z-]+/)?(.*\.php)" => "/$2", | |
"^/(.*)/?$" => "/index.php" |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>TITLE</title> | |
<script src="http://use.edgefonts.net/lobster-two.js"></script> | |
<style type="text/css"> | |
header { | |
margin: auto; | |
position: absolute; |
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
Work Safety Rules | |
Think before you act | |
Wear security shoes | |
Wear face mask | |
Use eye and hearing protection | |
Use hardhat | |
Access only | |
Wear safety belts | |
Climbing forbidden | |
Authorized personnel only |
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
gcc -c -g -Wa,-a,-ad test.c > foo.lsk |
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
gcc -c -g -Wa,-a,-ad test.c > test.lsk |
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
%--------------------------------------------------------------------------- | |
% Lovely without vowelisation: diwanibent (decorated), diwaniletter (fancy), | |
% scheherazade (conservative), oldanticdecorative, irannastaliq, bfantezy, | |
% bdavat, barabicstyle (like omani handwriting), arial (plain; readable), | |
% andalus (kufi script), amiri (conservative; nice ligatures), tholoth | |
% | |
% Working well with vowelisation: rabat, arabictypesetting | |
% | |
% Not displaying correctly (i.e. broken): traditionalarabic | |
% |
OlderNewer