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
start_string = "abcdefg" | |
replace_string = "abc" | |
endstring = start_string.replace(replace_string, "") | |
# Result endstring: "defg" |
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
# Maintainer: William Turner <willtur.will@gmail.com> | |
# Maintainer: Caleb Maclennan <caleb@alerque.com> | |
pkgname=afdko | |
pkgver=3.0.2a5 | |
pkgrel=1 | |
pkgdesc='Adobe Font Development Kit for OpenType' | |
arch=('x86_64') | |
url="https://github.com/adobe-type-tools/$pkgname" | |
license=('custom') |
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 | |
#command="optirun -b none nvidia-settings -c :8" | |
command="nvidia-settings -c :0" | |
# fan speed offset from temperature value | |
offset=0 | |
# sets the refresh interval in seconds | |
interval=10 | |
# reset values upon termination |
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
# $Id$ | |
# Maintainer: Maxime Gauduin <alucryd@archlinux.org> | |
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> | |
# Contributor: Ben Reedy <thebenj88@gmail.com> | |
# Contributor: Clement Guerin <geecko.dev@free.fr> | |
# Contributor: Thiago Kenji Okada <thiago.mast3r@gmail.com> | |
pkgbase=ppsspp | |
pkgname=('ppsspp' 'ppsspp-headless' 'ppsspp-qt') | |
pkgver=1.5.4.r374.b6ce6e2e6 |
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/sh | |
export CC="ccache gcc" | |
export CXX="ccache g++" | |
export CPPFLAGS="-D_FORTIFY_SOURCE=2" | |
export CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt -m32" | |
export CXXFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt -m32" | |
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m32" | |
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' |
NewerOlder