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
tar cf - <paths_to_archive> | pv | xz -T 0 -z > <output.tar.xz> | |
tar cf - <paths_to_archive> | pigz > <output.tar.gz> | |
tar cf - <paths_to_archive> | pbzip2 > <output.tar.gz> |
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 React, { Component, useState } from 'react'; | |
//import { Component } from 'react'; | |
import { Text, View, TextInput, | |
StyleSheet, TouchableOpacity, Button } from 'react-native'; | |
import Rnfs from "react-native-fs"; | |
import Database from "./Database" | |
function HelloWorldApp() { | |
return ( | |
<View |
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
// | |
// Created by Rian Prakoso on 7/28/20. | |
// | |
#include <string.h> | |
#include <dlfcn.h> | |
#include <EGL/egl.h> | |
#ifdef __ANDROID_API__ |
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
package com.yourpackage; | |
import android.content.Context; | |
public class Util { | |
private Context context; | |
public Util(Context context) { | |
this.context = context; | |
} |
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
rsync -rltDvu --modify-window=1 --progress ... | |
rsync -rltDvu --modify-window=1 --info=progress2 ... |
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
rsync -aHAX --info=progress2 ... |
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
call plug#begin() | |
"Plug 'tpope/vim-sensible' | |
" On-demand loading | |
"Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'kien/ctrlp.vim' | |
Plug 'junegunn/fzf' | |
Plug 'junegunn/fzf.vim' |
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
pacman -Sup --print-format %n | xargs -I% bash -c "pacman -Si % | grep Download | awk '{ print \$4\",\"\$5\",%\" | |
}'" | tee upgradable.csv |
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
rclone mount --vfs-cache-mode writes --stats 1m --stats-one-line <remote> <local> -v |
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
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c | |
index 4fe15e1434b0..80c11ef5465a 100644 | |
--- a/drivers/bluetooth/btusb.c | |
+++ b/drivers/bluetooth/btusb.c | |
@@ -1935,6 +1935,8 @@ static int btusb_setup_csr(struct hci_dev *hdev) | |
*/ | |
set_bit(HCI_QUIRK_BROKEN_STORED_LINK_KEY, &hdev->quirks); | |
set_bit(HCI_QUIRK_BROKEN_ERR_DATA_REPORTING, &hdev->quirks); | |
+ set_bit(HCI_QUIRK_BROKEN_FILTER_CLEAR_ALL, &hdev->quirks); | |
+ set_bit(HCI_QUIRK_NO_SUSPEND_NOTIFIER, &hdev->quirks); |
OlderNewer