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
curl -s 'http://store.apple.com/us/retailStore/availabilitySearch?parts.0=MGAW2LL%2FA&zip=94043' --compressed | grep -oP "city...[^\"]*\"|pickupSearchQuote...[^\"]*\"" | cut -d':' -f2 |
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
Sampling process 83501 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Google Chrome Canary (pid 83501) every 1 millisecond | |
Process: Google Chrome Canary [83501] | |
Path: /Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary | |
Load Address: 0x10fbdb000 | |
Identifier: com.google.Chrome.canary | |
Version: 74.0.3702.0 (3702.0) | |
Code Type: X86-64 | |
Parent Process: ??? [1] |
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
// ==UserScript== | |
// @name Speed up video | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.youtube.com/watch?* | |
// @grant none | |
// ==/UserScript== |
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/bash | |
# This script is for Mac OS X | |
# Your remote Linux server should have unison of the same version (check unison -version). | |
# this file allows you to sync a local folder to a remote server's location via ssh | |
# it supports two modes: | |
# 1. continuous watch-and-sync, if you provide one argument, which is the ssh server's Host name (defined in .ssh/config). | |
# If you need to exit, you need to press ctrl+c twice | |
# 2. one-time batch sync, if you provide multiple ssh hosts. |
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 | |
sudo -v | |
# for ARM | |
repo=ubuntu | |
if [[ $(uname -p) == 'arm' ]] | |
then | |
repo=ubuntu_ports | |
fi |
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
/* eslint no-dupe-class-members: 0 */ | |
declare module 'tencentcloud-webar' { | |
declare const isWebGLSupported: boolean | |
type ModuleConfig = { | |
beautify: boolean | |
segmentation: boolean | |
} | |
type AuthConfig = { |
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
cd /tmp | |
cat > countdown.txt << EOF | |
999999999 | |
99:::::::::99 | |
99:::::::::::::99 | |
9::::::99999::::::9 | |
9:::::9 9:::::9 | |
9:::::9 9:::::9 |