start new:
tmux
start new with session name:
tmux new -s myname
<# | |
.DESCRIPTION | |
The script uses a COM object to interact with the Windows Update service, searching for any updates that are currently available but not installed. If no updates are pending, it confirms the system is up to date. Otherwise, it lists all pending updates by title. | |
#> | |
# Create a COM object for Windows Update Session | |
$UpdateSession = New-Object -ComObject "Microsoft.Update.Session" | |
$UpdateSearcher = $UpdateSession.CreateUpdateSearcher() | |
# Search for pending updates |
<# | |
.SYNOPSIS | |
This script configures the PowerShell environment for removing Visual C++ Redistributables. | |
It installs the NuGet package provider and the VcRedist module, and then removes specific versions of Visual C++ Redistributables. | |
.DESCRIPTION | |
The script sets the execution policy to Bypass for the current process, installs NuGet and VcRedist modules, and uninstalls specific versions of Visual C++ Redistributables (2005, 2008, 2010, 2012). It ends by listing all installed Visual C++ Redistributables. | |
.NOTES | |
Requires administrative permissions |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: sun; | |
/////////////////////////////////////////////////////////////////////// | |
// dawn2dusk.js | |
// Origin: | |
// https://gist.github.com/HendrikRunte/4b5d03cb26e31508bc96553ad3c10f47 | |
// Take it and have fun. | |
// Hendrik Runte, Nov 12, 2020, 17:33. |
Many users of Git are curious about the lack of delta compression at the object (blob) level when commits are first written. This efficiency is saved until the pack file is written. Loose objects are written in compressed, but non-delta format at the time of each commit.
A simple run though of a commit sequence with only the smallest change to the image (in uncompressed TIFF format to amplify the observable behavior) aids the understanding of this deferred and different approach efficiency.
Create the repo:
I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.
Each file should be put in /usr/local/vesta/data/templates/web/apache2
Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html
## | |
# WHOIS servers for new TLDs (http://www.iana.org/domains/root/db) | |
# Current as of 2017-12-10 UTC | |
## | |
\.aarp$ whois.nic.aarp | |
\.abarth$ whois.afilias-srs.net | |
\.abbott$ whois.afilias-srs.net | |
\.abbvie$ whois.afilias-srs.net | |
\.abc$ whois.nic.abc |
## bitwalletrecover.py - recover private keys from your darkcoin wallet | |
## (this version was not tested with bitcoin/litecoin). | |
## Requires python3, pycoin (https://pypi.python.org/pypi/pycoin), | |
## and base58 (https://pypi.python.org/pypi/base58). | |
## | |
## Starting with Python 3.4, pip is included by default with the Python binary | |
## installers. To install pip for older versions 3.x: | |
## | |
## sudo apt-get install python3-setuptools | |
## sudo easy_install3 pip |
# install build deps | |
sudo yum install gcc gcc-c++ make expat-devel gettext-devel libcurl-devel \ | |
libffi-devel libxml2-devel libxslt-devel libyaml-devel postgresql-server \ | |
postgresql-devel readline-devel sqlite-devel openssl-devel ruby-devel \ | |
rubygems autoconf automake bison libtool libpcap-devel | |
# install rbenv | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile |
<?php | |
// You can use this file to test different video products in different players | |
// choose product and options | |
$product = 'hls'; // hls|stream_packaging|vod | |
$secure = true; | |
$staging = false; | |
$URLonly = false; // true to output only URL, false to output HTML | |
// no changes required below santa claus - happy holidays 2016 |