Skip to content

Instantly share code, notes, and snippets.

View Vaviloff's full-sized avatar
🤖
Automating all anything

Vlad Vaviloff Vaviloff

🤖
Automating all anything
View GitHub Profile
@Vaviloff
Vaviloff / run.tpl
Created December 1, 2024 18:14 — forked from efrecon/run.tpl
`docker inspect` template to regenerate the `docker run` command that created a container
docker run \
--name {{printf "%q" .Name}} \
{{- with .HostConfig}}
{{- if .Privileged}}
--privileged \
{{- end}}
{{- if .AutoRemove}}
--rm \
{{- end}}
{{- if .Runtime}}
@Vaviloff
Vaviloff / twitter_oauth.sh
Created January 30, 2024 06:28 — forked from cmj/twitter_oauth.sh
Grab oauth token for use with Nitter (requires Twitter account)
#!/bin/bash
# Grab oauth token for use with Nitter (requires Twitter account).
# results: {"oauth_token":"xxxxxxxxxx-xxxxxxxxx","oauth_token_secret":"xxxxxxxxxxxxxxxxxxxxx"}
username=""
password=""
if [[ -z "$username" || -z "$password" ]]; then
echo "needs username and password"
exit 1
/graphql/30bHSx-YYMzaygsBwfhftA/AddRemoveUserFromList
/graphql/xIZJPQBK0Zz62_BDLNLHKw/AddSuperFollowPrivacy
/graphql/R1ks8NLVisD-416R3mAk_w/AllSubscribedListsTimeline
/graphql/nxtTgq_TxeEDm0gmsGqK_Q/ArticleTweetsTimeline
/graphql/zacmhLyVLzFAKvH-yia8OA/AudiospaceAddSharing
/graphql/IZ1drq74xph2Gym7gGgtRw/AudiospaceBrowseSpaceTopicsQuery
/graphql/N80MQ7fkrpuq1-kCWVSvzQ/AudiospaceByRestId
/graphql/PTAe3LYPhlCcPJtwpyyx-w/AudiospaceDeleteSharing
/graphql/NiYfwFZDe-90MSqpGEI16w/AudiospaceGiveawayTickets
/graphql/g1mB1D5y3z_NkFsN-FwZdA/AudiospaceIsSubscribedQuery
@Vaviloff
Vaviloff / package.json
Last active November 3, 2020 06:56 — forked from bitnetwork/server.js
A telnet server written in Node.js
{
"name": "node-telnet-server",
"version": "1.0.0",
"bin": "./server.js",
"description": "npx https://gist.github.com/Vaviloff/7f8103362fc83e4fbff0d179bc7b2441",
"dependencies": {
"chalk": "^4.1.0"
}
}
@Vaviloff
Vaviloff / workbench.colorCustomizations.json
Created July 3, 2020 06:36 — forked from jacklorusso/workbench.colorCustomizations.json
A list of all Visual Studio Code customizable colors, grouped by UI region. Copy and paste into User Settings (comments are allowed) to tweak an existing theme or work on your own.
"workbench.colorCustomizations": {
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast.
"contrastActiveBorder": "",
"contrastBorder": "",
// Base Colors
"focusBorder": "",
"foreground": "",
"widget.shadow": "",
"selection.background": "",
"descriptionForeground": "",
@Vaviloff
Vaviloff / screencast.sh
Created March 15, 2012 10:59 — forked from pomeo/screencast.sh
script to make screencasts on Linux
#!/bin/bash
# list of programs we depend on
progs="xdpyinfo grep head sed ffmpeg pacat parec sox"
# check for programs we depend on
result=0
for prog in $progs
do
type -p $prog > /dev/null
@Vaviloff
Vaviloff / view_video.php
Created January 24, 2012 09:29 — forked from AlexDel/view_video.php
Вью для видео
<script type='text/javascript' src='/static/js/jquery.js'></script>
<script type='text/javascript' src='/static/js/fancybox-1.3.1/jquery.fancybox-1.3.1.js'></script>
<script type='text/javascript'>
$(function(){
$('#main-top-news .mind a[class!="button"]').mouseenter(function () {
if (!$(this).hasClass('current')) {
var n = $('#main-top-news #preview_texts a').index($(this)),
videos = $('#main-top-news .video a'),
sel = videos.eq(n);