This file contains hidden or 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 | |
# Generate PDF of XeTeX typeset chemical formula. | |
xelatex <<EOF | |
\documentclass[border=1pt]{standalone} | |
\usepackage{unicode-math} | |
\setmathfont{Cambria Math} | |
\usepackage{chemformula} | |
\setchemformula{font-spec=Cambria} | |
\begin{document} | |
\ch{$1} |
This file contains hidden or 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 | |
# Generate PDF of XeTeX typeset math. | |
xelatex <<EOF | |
\documentclass[border=1pt]{standalone} | |
\usepackage{unicode-math} | |
\setmathfont{Cambria Math} | |
\begin{document} | |
$\displaystyle | |
$1 | |
$ |
This file contains hidden or 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
/* glpk.h (GLPK API) */ | |
/*********************************************************************** | |
* This code is part of GLPK (GNU Linear Programming Kit). | |
* | |
* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | |
* 2009, 2010, 2011, 2013, 2014 Andrew Makhorin, Department for Applied | |
* Informatics, Moscow Aviation Institute, Moscow, Russia. All rights | |
* reserved. E-mail: <[email protected]>. | |
* |
This file contains hidden or 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 python | |
import pipes | |
from ansible.module_utils.basic import * | |
def query_group(module, port_path, group): | |
rc, out, err = module.run_command('{} select --list {}'.format( | |
pipes.quote(port_path), pipes.quote(group))) |
This file contains hidden or 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 | |
DARK_MODE=/path/to/dark-mode | |
case $1 in | |
period-changed) | |
case $3 in | |
daytime) | |
$DARK_MODE --mode Light | |
;; | |
night) | |
$DARK_MODE --mode Dark |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
doilinks | |
~~~~~~~~~~~~~~~~~~~ | |
Extension to add links to DOIs. With this extension you can use e.g. | |
:doi:`10.1016/S0022-2836(05)80360-2` in your documents. This will | |
create a link to a DOI resolver | |
(``https://doi.org/10.1016/S0022-2836(05)80360-2``). | |
The link caption will be the raw DOI. | |
You can also give an explicit caption, e.g. |
This file contains hidden or 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 python | |
import dbus | |
if __name__ == '__main__': | |
bus = dbus.SystemBus() | |
manager_obj = bus.get_object('org.freedesktop.GeoClue2', '/org/freedesktop/GeoClue2/Manager') | |
manager = dbus.Interface(manager_obj, 'org.freedesktop.GeoClue2.Manager') | |
client_path = manager.GetClient() |
This file contains hidden or 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> | |
<head> | |
<!-- | |
Donation Address: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN | |
Notice of Copyrights and Licenses: | |
*********************************** | |
The bitaddress.org project, software and embedded resources are copyright bitaddress.org. | |
The bitaddress.org name and logo are not part of the open source license. |
This file contains hidden or 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
[globals] | |
version=v0.1_pre20121216-8-g500ebf9 | |
map.col_size=6 | |
map.row_size=6 | |
split=0 | |
update_map_initial_pos=24,8 | |
cfg.left=57 | |
cfg.right=57 | |
game_type=0 | |
game_tick=-63176704 |

NewerOlder