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
forfiles /m "*.exe" /C "cmd /c xcopy C:\PATH_TO\EXE.visualelementsmanifest.xml .\@fname.visualelementsmanifest.xml" |
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
{"GameEventStats": { | |
"12": "Roadkills", | |
"16": "Headshots", | |
"24": "Double kills", | |
"25": "Triple kills", | |
"26": "Multi kills", | |
"27": "Defensive kills", | |
"28": "Offensive kills", | |
"29": "Flags captured", | |
"30": "Driver kill assists", |
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
// ==UserScript== | |
// @name noRedirect | |
// @namespace https://gist.github.com/piqus/4ea4664519a83d7fb073 | |
// @version 0.1 | |
// @description Prevent redirecting JS feature. Packed in user.js | |
// @match * | |
// @copyright 2014+, Piotr Kubisa | |
/// @link: http://stackoverflow.com/questions/5225964/jquery-disable-all-redirections-links-form-submissions-window-location-change | |
// ==/UserScript== |
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
REM https://www.reddit.com/r/Windows10/comments/3f38ed/guide_how_to_disable_data_logging_in_w10 | |
@echo off | |
cls | |
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe" | |
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe" | |
echo Closing OneDrive process. | |
echo. | |
taskkill /f /im OneDrive.exe > NUL 2>&1 |
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/bash | |
# http://matthewhutchinson.net/2011/1/10/configuring-subdomains-in-development-with-lvhme | |
SUBDOMAIN=$1 | |
TLD=$2 | |
if [ $# -lt 1 ] | |
then | |
echo "which subdomain?" | |
read SUBDOMAIN | |
if [ -n "$SUBDOMAIN" ] |
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
#!/usr/bin/env | |
cd "$HOME/Library/" | |
mkdir -p "KeyBindings" | |
cd KeyBindings | |
file="DefaultKeyBinding.dict" | |
if [ -e $file ]; then | |
echo "Error: File already exists! In aware of conflicts please review insertion manually." |
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
# set default locales for system | |
sudo export LANGUAGE=en_US.UTF-8 | |
sudo export LANG=en_US.UTF-8 | |
sudo export LC_ALL=en_US.UTF-8 | |
sudo locale-gen en_US.UTF-8 | |
sudo dpkg-reconfigure locales | |
# utils | |
sudo apt-get update | |
sudo apt-get install -y zsh git curl tree aptitude |
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 Html exposing (Html, Attribute, input, strong, ul, li, em, div, text, button) | |
import Html.App as Html | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onInput, onClick) | |
main = | |
Html.beginnerProgram { model = model, view = view, update = update } | |
-- MODEL |
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
module Categories exposing (Model, Msg, init, update, view) | |
import Html exposing (..) | |
import Html.Attributes exposing (style) | |
import Html.Events exposing (onInput, onClick) | |
type alias Model = | |
{ entry : String | |
, children : Children |
OlderNewer