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
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using UnityEngine; | |
using CustomAvatar; | |
public class CompileAvatarWindow : EditorWindow | |
{ |
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: Fernando Vasquez <[email protected]> | |
_gitname=wpgtk | |
pkgname="${_gitname}-git" | |
_gitbranch=master | |
_gitauthor=deviantfero # deviantfero | |
pkgver=r751.9145e4f | |
pkgrel=1 | |
pkgdesc="A gui wallpaper chooser that changes your Openbox theme, GTK theme and Tint2 theme" | |
url="https://github.com/${_gitauthor}/${_gitname}" |
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
import logging | |
import irc.bot | |
import requests | |
import toml | |
import re | |
from copy import deepcopy | |
from time import time, strftime, localtime | |
class TwitchBot(irc.bot.SingleServerIRCBot): |
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
[Console]::Beep(130, 100) | |
[Console]::Beep(262, 100) | |
[Console]::Beep(330, 100) | |
[Console]::Beep(392, 100) | |
[Console]::Beep(523, 100) | |
[Console]::Beep(660, 100) | |
[Console]::Beep(784, 300) | |
[Console]::Beep(660, 300) | |
[Console]::Beep(146, 100) | |
[Console]::Beep(262, 100) |
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
#region Elevate | |
function Elevate { | |
<# | |
.SYNOPSIS | |
Automatically (re)launch Powershell script as Administrator including parameters | |
.PARAMETER ScriptPath | |
Path to the script that should be launched. Defaults to the current script | |
.PARAMETER Parameters | |
A Hashtable of parameters that should be passed to the elevated script, where the "key" is the | |
parameter name and the "value" is the parameter value |
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
function Import-Excel { | |
<# | |
.SYNOPSIS | |
Creates table-like custom objects from the items in a Excel file. | |
Requires Excel be installed! | |
.DESCRIPTION | |
The Import-Excel cmdlet creates table-like custom objects from the items in Excel | |
Worksheets. | |
Each column in the Excel Worksheet becomes a property of the custom object and the items in | |
rows become the property values. Import-Excel works on any file supported by Excel. |
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
#region About | |
<# | |
.SYNOPSIS | |
Wrapper Script to ease the installation and status checking of the Prey NODE.js Client | |
.PARAMETER action | |
Action that should be executed, currently one of "install" or "status". | |
install: Installs Prey | |
status: Executes Prey's status built in status check to ensure that the | |
client is running smothly | |
.PARAMETER apiKey |
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
# VortexBox 2.3 BETA install | |
auth --enableshadow --passalgo=sha512 | |
firewall --disable | |
firstboot --disable | |
keyboard --vckeymap=us --xlayouts='us' | |
lang en_US.UTF-8 | |
network --bootproto=dhcp --device=eth0 --onboot=on --hostname=vortexbox.localdomain | |
rootpw vortexbox | |
selinux --disabled |
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 -v gm >/dev/null 2>&1 || { echo >&2 "I require GraphicsMagick but it's not installed. Aborting."; exit 1; } | |
command -v sed >/dev/null 2>&1 || { echo >&2 "I require sed but it's not installed. Aborting."; exit 1; } | |
read -p "Please enter your new color in HEX(eg. #ffffff for white) " NEWCOLOR | |
echo "This may take a while" | |
find . -type f -exec sed -i 's/#a5e12d/'$NEWCOLOR'/g' {} \; |
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
# YASIC - Yet Another System Info Script | |
# Gets various information about the computer that it's run on | |
# Returned information: | |
# * Hostname | |
# * Manufacturer | |
# * Model | |
# * Serial Number | |
# * Asset Tag | |
# * Processor | |
# * Memory |
NewerOlder