Go to the BIOS (press F12 on boot) > BIOS Setup
On General > Boot Sequence > Boot List Option
I have UEFI
On System Configuration > SATA Operation
"C:\Dir\ffmpeg\bin\ffmpeg" -i %1 -vcodec copy -acodec copy "F:\TargetDir\%~n1.mp4" |
package main | |
import ( | |
"fmt" | |
"gopkg.in/mgo.v2" | |
"gopkg.in/mgo.v2/bson" | |
) | |
func main() { | |
session, err := mgo.Dial("localhost") | |
if err != nil { |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: openconnect | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Basic script to connect to a SSL VPN using Openconnect | |
### END INIT INFO |
<?php | |
/* | |
* Line break in WordPress meta box text area: the PHP way | |
*/ | |
echo nl2br( esc_html( get_post_meta( get_the_ID(), 'my-meta-field', true) ) ); | |
?> |
How to Completely Remove Android Studio | |
Execute these commands from the terminal | |
rm -Rf /Applications/Android\ Studio.app | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm ~/Library/Preferences/com.google.android.studio.plist | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Logs/AndroidStudio* |
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
package main | |
import ( | |
"crypto/rand" | |
"log" | |
"math/big" | |
) | |
func sixDigits() int64 { | |
max := big.NewInt(999999) |
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |