Skip to content

Instantly share code, notes, and snippets.

# Maintainer: Christopher Snowhill <kode54 at gmail dot com>
# Contributor: johnnybash <georgpfahler at wachenzell dot org>
# Contributor: grmat <grmat at sub dot red>
pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
pkgver=19.50.967956
pkgrel=2
arch=('x86_64')
url='http://www.amd.com'
#!/bin/bash
blue='\e[0;34m'
red='\e[0;31m'
NC='\e[0m'
BTRFS_ROOT="/mnt/btrfs"
NUM_TO_KEEP=7
new_name=$(date +root_%Y-%m-%d_%T)
#!/bin/bash
for dir in "$@"; do
for f in "$dir"/*; do
echo "file '$f'" >> "$dir".list
done
ffmpeg -f concat -safe 0 -i "$dir".list -c copy "$dir".mkv
rm "$dir".list
#!/bin/bash
for f in "$1"/*; do
echo "file '$f'" >> "$1".list
done
ffmpeg -f concat -safe 0 -i "$1".list -c copy "$1".mkv
rm "$1".list
title Arch Linux (last)
linux /vmlinuz-linux-last
initrd /intel-ucode.img
initrd /initramfs-linux-last-fallback.img
options root=LABEL=archRoot rootflags=subvol=root-last rw
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=deluge
pkgver=2.0.3
pkgrel=0
pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model"
arch=(any)
url="https://deluge-torrent.org/"
@ipha
ipha / movement.cs
Last active December 30, 2016 23:22
using UnityEngine;
using System.Collections;
public class movement : MonoBehaviour {
const int numSamples = 10;
public GameObject head;
public float scalingFactor;
private Vector3 headPrev;
#!/usr/bin/env python3
from nltk.corpus import brown
PUNCTUATION = "!\"#$%'()*+,-./:;<=>?@[\\]^_`{|}~"
MIN_OCCURANCES = 20
NGRAM_LENGTH = 3
# Hold a count of words
countdict = {}
#!/usr/bin/env python3
from nltk.corpus import brown
PUNCTUATION = "!\"#$%'()*+,-./:;<=>?@[\\]^_`{|}~"
MIN_OCCURANCES = 20
# Hold a count of words
countdict = {}
#!/usr/bin/env python3
from nltk.corpus import brown
PUNCTUATION = "!\"#$%'()*+,-./:;<=>?@[\\]^_`{|}~"
MIN_OCCURANCES = 20
# Hold a count of words
countdict = {}