Skip to content

Instantly share code, notes, and snippets.

View selfup's full-sized avatar
💻
doing the most

Regis Boudinot selfup

💻
doing the most
View GitHub Profile
  1. Navigate to Control Panel-->Programs and Features, click on Turn Windows features on or off.

    The select TFTP Client from the check list.

    Click ok

  2. Navigate to Control Panel-->Network and Internet-->Network and Sharing Center, click on the left pane Change adapter settings.

    Select IPv4 line.

# Easily read my website in your terminal
curl -s https://selfup.me | grep ,, | cut -c6-
# enjoy!
wmic cpu get loadpercentage
wmic cpu get name,CurrentClockSpeed,MaxClockSpeed
systeminfo
# git sync upstream
function gsu() {
set -e
UPSTREAM_CHECK=$(git remote -v | grep upstream || echo '')
if [[ $UPSTREAM_CHECK == '' ]]
then
echo "NO UPSTREAM SET -- ABORTING"
exit 1
fi
extern crate fut;
use fut::{open_file_as_string, write_file};
fn main() {
let input = open_file_as_string("./fixtures/input.txt");
let inputs = input.split("");
let mut new_contents: Vec<String> = vec![];
package main
import (
"fmt"
"net/http"
"github.com/selfup/horde"
)
func main() {
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Id Type Time Length Hex Ascii
22 Out (USB URB Function: 9) 0.000000 20 2d 00 00 00 00 00 04 fc 00 00 00 00 00 00 00 00 00 00 00 00 -...................
22 Out (USB URB Function: 9) 0.001021 20 2e 00 00 00 00 00 04 ec 00 00 00 00 00 00 00 00 00 00 00 00 ....................
22 In (USB URB Function: 9) 1.758670 0
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Id Type Time Length Hex Ascii
22 Out (USB URB Function: 9) 0.000000 20 00 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 ....................
22 In (USB URB Function: 9) 0.002572 8 39 01 00 00 a5 0b 0d 0f 9.......
22 Out (USB URB Function: 9) 1.993371 20 01 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 ....................
22 In (USB URB Function: 9) 0.002627 8 39 01 01 00 a5 0b 0d 0f 9.......
22 Out (USB URB Function: 9) 0.003938 20 02 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 ....................
22 In (USB URB Function: 9) 0.003093 8 39 01 02 00 a5 0b 0d 0f 9.......
22 Out (USB URB Function: 9) 1.677804 20 03 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 ....................
22 In (USB URB Function: 9) 0.003166 8 39 01 03 00 a5 0b 0d 0f 9.......
22 Out (USB URB Function: 9) 0.002329 20 04 00 00 00 00 00 04 b3 00 00 00 00 00 00 00 00 00 00 00 00 ....................
package main
import (
"errors"
"fmt"
)
func main() {
first := []int{1, 2, 3}
second := []int{4, 5, 6}