One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
################## | |
# Privacy Settings | |
################## | |
# Privacy: Let apps use my advertising ID: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# To Restore: | |
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
# Privacy: SmartScreen Filter for Store Apps: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
#!/usr/bin/env bash | |
if [ "X$1" == X ]; then | |
echo "prepares a new container does the following:" | |
echo "- installs ssh keys from $KEYS" | |
echo "- sets random root passwords" | |
echo "- deletes the 'ubuntu' user" | |
echo | |
echo "usage: 'lxc-prep <container_name>'" | |
echo |
package ch.sgwerder.gist; | |
import java.lang.reflect.Array; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.Iterator; | |
import java.util.RandomAccess; | |
/** | |
* Copyright (C) 2015 Simon Gwerder. |
A quick guide on how to setup Node.js development environment.
nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.
Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### OR take a look at | |
### https://github.com/HotCakeX/Harden-Windows-Security |
/** | |
* @Author: Jordi Corbilla | |
* (c) Copyright by Jordi Corbilla. | |
**/ | |
//Anonymous procedure approach by Lars Fosdal | |
type | |
TArg<T> = reference to procedure(const Arg: T); | |
procedure TForm1.CaptureConsoleOutput(const ACommand, AParameters: String; CallBack: TArg<PAnsiChar>); | |
const |
var Quandlobj = (function () | |
{ | |
function init() | |
{ | |
var http = new XMLHttpRequest() | |
http.onreadystatechange = function() | |
{ | |
if (http.readyState != http.DONE) | |
return | |
if (http.status != 200) |
import io.prometheus.client.*; | |
import io.prometheus.client.exporter.common.TextFormat; | |
import io.prometheus.client.hotspot.DefaultExports; | |
import spark.Request; | |
import spark.Response; | |
import java.io.IOException; | |
import java.io.StringWriter; | |
import java.util.Random; |