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
<?php | |
/** | |
* Tpl - A PHP template engine | |
* | |
* Tpl is a simple hierarchical template engine inspired by the | |
* {@link http://www.djangoproject.com/ Django} template engine. Since PHP is | |
* already a template language (of sorts), Tpl does not attempt to replace it, | |
* but extends it with a useful inheritance framework to simplify the writing | |
* of templates for both small and complex web applications. | |
* |
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
# Maintainer: pisuka <[email protected]> | |
# Contributor: Alan Briolat <[email protected]> | |
pkgname=heroku-toolbelt | |
pkgver=2.32.14 | |
pkgrel=2 | |
pkgdesc="Everything you need to get started using Heroku" | |
arch=(any) | |
url="https://toolbelt.heroku.com" | |
license=(GPL) | |
groups=() |
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
# Maintainer: Dominic Werner <[email protected]> | |
# Contributor: Jonathan Lestrelin <[email protected]> | |
# Part of this PKGBUILD was taken from the monodevelop one from: | |
# Contributor: Daniel Isenmann <[email protected]> | |
# Contributor: Timm Preetz <[email protected]> | |
# Contributor: Giovanni Scafora <[email protected]> | |
pkgname=monodevelop-git | |
_pkgname=monodevelop | |
pkgver=20120727 |
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
fortran_hell.f95:146.12: | |
j = foo * foo | |
1 | |
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (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
class ValueFilter(object): | |
"""A descriptor which applies *filter* to assigned values, which are stored | |
at *attr*. If the value is unset it is *default*. | |
""" | |
def __init__(self, attr, filter, default=None): | |
self.attr = attr | |
self.filter = filter | |
self.default = default | |
def __get__(self, instance, owner): |
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
class Color(object): | |
def __init__(self, initial=None): | |
self.value = initial | |
def __get__(self, obj, objtype): | |
return self.value | |
def __set__(self, obj, value): | |
self.value = value | |
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
echo "blacklist snd_hda_intel_hdmi" >> /etc/modprobe.d/blacklist.conf |
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
# This file is sourced by Xsession(5), not executed. | |
STARTGKD= | |
GNOME_KEYRING_DAEMON=/usr/local/bin/start-gnome-keyring-daemon.sh | |
#if has_option use-gnome-keyring-daemon; then | |
STARTGKD=yes | |
#fi | |
if [ -n "$STARTGKD" ]; then |
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
def schm(word): | |
return 'schm' + word.lstrip("y").lstrip("bcdfghjklmnpqrstvwxz") | |
if __name__ == '__main__': | |
import sys | |
print sys.argv[1], schm(sys.argv[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
program foo | |
real, parameter :: A(2, 3) = reshape((/ 0, 0, 0, 0, 0, 0 /), (/ 2, 3 /)) | |
real, parameter :: B(2) = (/ 0, 0 /) | |
real, parameter :: C(3) = matmul(B, A) | |
! 1 | |
!Error: Different shape for array assignment at (1) on dimension 1 (3 and 2) | |
!f951: internal compiler error: in gfc_simplify_reshape, at fortran/simplify.c:5104 | |
! This works in some versions of gfortran: |