uti | id | title | platforms | packages | ||||||
---|---|---|---|---|---|---|---|---|---|---|
com.xamarin.workbook |
602af677-9374-44ef-b2fc-5122738b86e8 |
tunein |
|
|
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
const website_url = `https://www.instagram.com/${INSTAGRAM_ID}/live/` | |
const streaming_url = window._sharedData.entry_data["LiveBroadcastPage"][0].broadcast_dict.dash_playback_url |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Aurender OAUTH</title> | |
<style type="text/css"> | |
a { | |
color: black; |
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
// ported from https://github.com/dojo/dojox/blob/master/encoding/crypto/Blowfish.js | |
// kyle-seongwoo-jun | |
import 'package:meta/meta.dart'; | |
const int _pow8 = 0x100; // 2^8 | |
const int _pow16 = 0x10000; // 2^16 | |
const int _pow24 = 0x1000000; // 2^24 | |
class Blowfish { | |
static int _xor(int x, int y) { |
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
async function initYoutubeCaptions() { | |
const video = document.querySelector('video') | |
const captions = await getYoutubeCaptions() | |
addCaptions(video, captions) | |
} | |
function selectYoutubeCaption(language) { | |
const video = document.querySelector('video') |
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
param($PACKAGE_NAME) | |
$KEY_STORE = "" | |
$KEY_STORE_PASSWORD = "" | |
$KEY_ALIAS = "" | |
$KEY_PASSWORD = "" | |
# get latest bundle tool info | |
$GITHUB_REQUEST = Invoke-RestMethod "https://api.github.com/repos/google/bundletool/releases/latest" | |
$GITHUB_ASSET = $GITHUB_REQUEST.assets[0] |
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
class Limiter | |
{ | |
static readonly object _mtx = new object(); | |
readonly TimeSpan _limit; | |
Action _action; | |
bool _isWaiting; | |
bool _requested; | |
public Limiter(double limit) : this(TimeSpan.FromMilliseconds(limit)) |
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
static class KeyValuePairExtensions | |
{ | |
public static void Deconstruct<TKey, TValue>( | |
this KeyValuePair<TKey, TValue> kvp, | |
out TKey key, | |
out TValue value) | |
{ | |
key = kvp.Key; | |
value = kvp.Value; | |
} |
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
# generate ssh key | |
$ ssh-keygen -t rsa | |
# create .ssh/authorized_keys on server | |
# and paste client ssh key | |
# and set permission | |
$ ssh $username@$hostname mkdir -p .ssh | |
$ cat .ssh/id_rsa.pub | ssh $username@$hostname 'cat >> .ssh/authorized_keys' | |
$ ssh $username@$hostname "chmod 700 .ssh; chmod 640 .ssh/authorized_keys" |
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
# Ctrl+D to exit | |
Set-PSReadlineKeyHandler -Chord Ctrl+d -Function DeleteCharOrExit | |
# alias which command | |
function which($name) | |
{ | |
Get-Command $name | Select-Object -ExpandProperty Definition | |
} |
NewerOlder