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 | |
## | |
## Session globals | |
## | |
# unset DISPLAY | |
export XDG_CURRENT_DESKTOP=gamescope # necessary for ryujinx to render properly | |
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 |
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 | |
# | |
# Ansible role test shim. | |
# | |
# Taken from this gist by Jeff Geerling on May 10th 2018: | |
# https://gist.github.com/geerlingguy/73ef1e5ee45d8694570f334be385e181 | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "ubuntu1804") | |
# - playbook: a playbook in the tests directory (default = "test.yml") |
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 | |
# | |
# Ansible role test shim. | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "centos7") | |
# - playbook: a playbook in the tests directory (default = "test.yml") | |
# - role_dir: the directory where the role exists (default = $PWD) | |
# - cleanup: whether to remove the Docker container (default = true) | |
# - container_id: the --name to set for the container (default = timestamp) |
This file has been truncated, but you can view the full file.
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
# tracer: nop | |
# | |
# entries-in-buffer/entries-written: 176240/504939540 #P:4 | |
# | |
# _-----=> irqs-off | |
# / _----=> need-resched | |
# | / _---=> hardirq/softirq | |
# || / _--=> preempt-depth | |
# ||| / delay |
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
--[[ | |
awesome.lua - main config of my window manager | |
awesome v3.5.4 (Brown Paper Bag) | |
os: archlinux x86_64 | |
cpu: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz | |
grapic: Intel Graphics 4400 | |
screen: 1920 x 1080 | |
--]] | |
-- {{{ Awesome Library |
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
# ~/.tmux.conf | |
# Informations {{{ | |
# File : ~/.tmux.conf | |
# Purpose: Setup file for the terminal multiplexer called "tmux" | |
# Author : Reza Jelveh | |
# Set the command for new windows to "zsh" | |
set -g default-command zsh |
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
-- libquvi-scripts | |
local Vidwoot = {} | |
function ident(qargs) | |
return { | |
can_parse_url = Vidwoot.can_parse_url(qargs), | |
domains = table.concat({'embed.vidwoot.com'}, ',') | |
} | |
end |
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
-- libquvi-scripts | |
local Mp4upload = {} | |
function ident(qargs) | |
return { | |
can_parse_url = Mp4upload.can_parse_url(qargs), | |
domains = table.concat({'mp4upload.com'}, ',') | |
} | |
end |
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 ruby | |
require "net/http" | |
# regexp = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/ix | |
# regexp = /(https?:\/\/embed.vidwootcom([-\w\.]+)+(:\d+)?(\/([\w\/_\.]*(\?\S+)?)?)?)/ | |
regexp = /"(https?:\/\/[^"]*(?:vidwoot|mp4upload|vidbull|yourupload).*?)"/ | |
if ARGV[0] | |
uri = URI(ARGV[0]) |
NewerOlder