https://learn.microsoft.com/en-us/windows/configuration/customize-start-menu-layout-windows-11
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
# Wii U / Cemu Xbox controller profile | |
# Located at: cemu\controllerProfiles | |
[General] | |
emulate = Wii U GamePad | |
api = XInput | |
controller = 0 | |
[Controller] | |
rumble = 0 |
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
package main | |
import "fmt" | |
import "time" | |
import "math" | |
var exponentialBackoffCeilingSecs int64 = 14400 // 4 hours | |
func main() { | |
fmt.Println("Hello World") |
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
[General] | |
FileVersion=69 | |
NumberOfJoysticks=2 | |
NumberOfButtons=32 | |
DisplayMode=2 | |
UseDiagonalInput=0 | |
UseDiagonalInput2=0 | |
UsePOV8Way=0 | |
RepeatSameKeyInSequence=0 | |
Threshold=20 |
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/perl | |
use strict; | |
use warnings; | |
# | |
# Complete the 'SearchForWord' function below. | |
# | |
# The function is expected to return an INTEGER_ARRAY. | |
# The function accepts following parameters: |
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
// e.g. returns 00:00:25 | |
func getTimeDiff(a, b time.Time) string { | |
d := b.Sub(a) | |
hour := int(d.Seconds() / 3600) | |
minute := int(d.Seconds() / 60) % 60 | |
second := int(d.Seconds()) % 60 | |
return fmt.Sprintf("%02d:%02d:%02d", hour, minute, second) | |
} |
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 | |
# AUTHOR | |
# DANIEL E. GILLESPIE (2016) | |
# https://github.com/dantheman213 | |
# DESCRIPTION | |
# Import all *.sql files in a folder recuresively into your PostgreSQL database | |
# Batch export all table schemas and stored functions with this script located here: |
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 bash | |
# ex: ./charles_convert_raw_hexdump_to_bin.sh hexdumpraw.txt hexformatted.txt data.bin | |
# hexdumpraw.txt ex: | |
## 00000510 0a 6d 6f 64 65 6c 5f 6e 61 6d 65 12 07 4e 65 78 model_name Nex | |
## 00000520 75 73 20 35 1a 20 0a 11 61 72 63 68 69 74 65 63 us 5 architec | |
## 00000530 74 75 72 65 5f 6e 61 6d 65 12 0b 61 72 6d 65 61 ture_name armea | |
## 00000540 62 69 2d 76 37 61 1a 19 0a 0b 64 65 76 69 63 65 bi-v7a device | |
## 00000550 5f 6e 61 6d 65 12 0a 68 61 6d 6d 65 72 68 65 61 _name hammerhea |
https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows