ipa is a shell function that will display the distilled informaiton from the ip a
command.
This file contains hidden or 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
- name: NHK BS1 | |
type: BS | |
channel: BS15_0 | |
serviceId: 101 | |
- name: NHK BSプレミアム | |
type: BS | |
channel: BS03_1 | |
serviceId: 103 | |
- name: BS日テレ | |
type: BS |
This file contains hidden or 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 requests | |
import json | |
import random | |
Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid=' | |
headers = { | |
'Cookie': "Replace Me With REAL COOKIE" , | |
'Pragma': 'no-cache', |
This file contains hidden or 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 | |
# Mirakurun/mirakc channel yaml output by uru (https://twitter.com/uru_2) | |
# | |
# require: | |
# stz2012/epgdump | |
# xmllint (libxml2 tools) | |
# ISDB-T/S record software | |
# recpt1, dvbv5-zap & Chinachu/dvbconf-for-isdb | |
set -eu |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
This file contains hidden or 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
#EXTINF:-1,CCTV-1 | |
rtp://239.3.1.1:8000 | |
#EXTINF:-1,CCTV-2 | |
rtp://239.3.1.2:8004 | |
#EXTINF:-1,CCTV-4 | |
rtp://239.3.1.4:8216 | |
#EXTINF:-1,CCTV-7 |
This file contains hidden or 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
Supported escape sequences: | |
~. - terminate connection (and any multiplexed sessions) | |
~B - send a BREAK to the remote system | |
~C - open a command line | |
~R - Request rekey (SSH protocol 2 only) | |
~^Z - suspend ssh | |
~# - list forwarded connections | |
~& - background ssh (when waiting for connections to terminate) | |
~? - this message | |
~~ - send the escape character by typing it twice |
This file contains hidden or 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
{ | |
"configurations": [ | |
{ | |
"environments": [ | |
{ | |
"MINGW64_ROOT": "C:\\msys64\\mingw64", | |
"BIN_ROOT": "${env.MINGW64_ROOT}\\bin", | |
"FLAVOR": "x86_64-w64-mingw32", | |
"TOOLSET_VERSION": "7.3.0", | |
"INCLUDE": "${env.MINGW64_ROOT}\\include\\c++\\${env.TOOLSET_VERSION};${env.MINGW64_ROOT}\\include\\c++\\${env.TOOLSET_VERSION}\\tr1;${env.MINGW64_ROOT}\\include\\c++\\${env.TOOLSET_VERSION}\\${env.FLAVOR}", |
Run the following in the terminal:
Install the gcc-7 packages:
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y
Set it up so the symbolic links gcc
, g++
point to the newer version:
This file contains hidden or 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
/* Note: this Google copyright notice only applies to the original file, which has large sections copy-pasted here. my changes are under CC0 (public domain). | |
* Copyright 2015 Google Inc. | |
* | |
* Use of this source code is governed by a BSD-style license that can be | |
* found in the LICENSE file. | |
*/ | |
/* | |
The official instructions don't work well. These alternative instructions are intended to be the shortest path to get a minimal setup running. |