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
| sudo snap remove amazon-ssm-agent | |
| sudo systemctl stop snapd | |
| sudo systemctl disable snapd | |
| sudo systemctl stop apport.service | |
| sudo systemctl disable apport.service | |
| sudo apt purge -y snapd apport modemmanager | |
| sudo apt -y autoremove |
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
| blueprint: | |
| name: "Motion-activated Light extended" | |
| description: "Turn on a light when a movement occurs" | |
| domain: automation | |
| source_url: https://github.com/giannisigalotti/HomeAssistant/blob/main/blueprints/motion-activated-light.yaml | |
| input: | |
| motion_entity: | |
| name: "Motion sensor" | |
| selector: | |
| entity: |
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 | |
| # ffmpeg reference: https://trac.ffmpeg.org/wiki/Hardware/VAAPI | |
| # vaapi reference: https://wiki.archlinux.org/title/Hardware_video_acceleration | |
| gource \ | |
| -s .01 \ | |
| -1920x1080 \ | |
| --auto-skip-seconds .1 \ | |
| --multi-sampling \ | |
| --stop-at-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
| # Install Arch Linux with full encrypted file-system using dm-crypt and luks | |
| # The official guide: https://wiki.archlinux.org/index.php/Installation_Guide | |
| # SSD specials | |
| # http://ggarcia.me/2016/10/11/arch-linux-ssd-trim.html | |
| # EFI | |
| # https://itectec.com/superuser/uefi-and-full-disk-encryption-with-lvm-on-luks/ | |
| # Download the archiso image from https://www.archlinux.org/download/ |
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
| Computer Information: | |
| Manufacturer: Unknown | |
| Model: Unknown | |
| Form Factor: Desktop | |
| No Touch Input Detected | |
| Processor Information: | |
| CPU Vendor: GenuineIntel | |
| CPU Brand: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz | |
| CPU Family: 0x6 |
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
| GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2 | |
| Copyright (C) 2018 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. | |
| Type "show copying" and "show warranty" for details. | |
| This GDB was configured as "x86_64-linux-gnu". | |
| Type "show configuration" for configuration details. | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>. |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| namespace Custom.Controls | |
| { | |
| public class ColumnPanel: Panel | |
| { |
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
| DECLARE @name VARCHAR(128) | |
| DECLARE @SQL VARCHAR(254) | |
| DECLARE @constraint VARCHAR(254) | |
| /* Drop all non-system stored procs */ | |
| SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = 'P' AND category = 0 ORDER BY [name]) | |
| WHILE @name is not null | |
| BEGIN | |
| SELECT @SQL = 'DROP PROCEDURE [dbo].[' + RTRIM(@name) +']' | |
| EXEC (@SQL) |
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
| :::::::::::::::::::::::::::::::::::::::::::: | |
| :: Elevate.cmd - Version 4 | |
| :: Automatically check & get admin rights | |
| :::::::::::::::::::::::::::::::::::::::::::: | |
| @echo off | |
| CLS | |
| ECHO. | |
| ECHO ============================= | |
| ECHO Running Admin shell | |
| ECHO ============================= |