Skip to content

Instantly share code, notes, and snippets.

Denys Vitali denysvitali

Block or report user

Report or block denysvitali

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am denysvitali on github.
  • I am denvitnanos (https://keybase.io/denvitnanos) on keybase.
  • I have a public key ASCMJvlTjmuCxja7OCL9u-zQpZUg_CAnI8YHmSk4EOUIBwo

To claim this, I am signing this object:

View apartments-flatfox-1.md

https://flatfox.ch/en/flat/pfandwiesenstrasse-19-8152-opfikon/128995/, 1476 CHF, 100 m², 14 CHF/m² - 10 minutes away https://flatfox.ch/en/flat/8152-opfikon/128993/, 1300 CHF, 16 m², 81 CHF/m² - 27 minutes away https://flatfox.ch/en/flat/hagenholzstrasse-3-8302-kloten/128979/, 552 CHF, 13 m², 42 CHF/m² - 24 minutes away https://flatfox.ch/en/flat/hegger-3-8603-schwerzenbach/128977/, 1580 CHF, 70 m², 22 CHF/m² - 15 minutes away https://flatfox.ch/en/flat/wallisellerstrasse-141-8152-opfikon/128853/, 1610 CHF, 71 m², 22 CHF/m² - 19 minutes away https://flatfox.ch/en/flat/nansenstrasse-8050-zurich/128742/, 1135 CHF, 74 m², 15 CHF/m² - 5 minutes away https://flatfox.ch/en/flat/wallisellerstrasse-172-8152-opfikon/128725/, 1715 CHF, 79 m², 21 CHF/m² - 19 minutes away https://flatfox.ch/en/flat/riedwiesenstrasse-12-8602-wangen/128722/, 1760 CHF, 90 m², 19 CHF/m² - 25 minutes away

View pack.py
import sys
import numpy as np
def clamp_py(my_value, min_value, max_value):
return min(max(my_value, min_value), max_value)
vec3 = [0.0, -1.0, 0.0]
x = round(clamp_py(0.0, -1, 1) * 511.0)
y = round(clamp_py(-1.0, -1, 1) * 511.0)
z = round(clamp_py(0.0, -1, 1) * 511.0)
View pack.go
package main
import (
"github.com/denysvitali/gc_log"
"math"
)
type vec struct {
x float64
y float64
View test-mask.c
#include <stdio.h>
int main(){
int i = 0;
int a = 23;
int b = 3;
i += a;
i = i << 5;
i += b;
View rsi-la1.sh
PLAY_URL=$(DATE_NOW=$(echo $(date +%s) - 10 | bc); HDNTS=$(curl https://tp.srgssr.ch/akahd/token\?acl\=/i/enc12uni_ch@191527/\* | jq .token.authparams -r | sed 's/^hdnts=//'); curl -H 'Referer: https://tp.srgssr.ch/p/rsi/portal-detail\?urn\=urn:rsi:video:livestream_La1\&autoplay\=true' -H 'Origin: https://tp.srgssr.ch' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0' https://srgssruni12ch-lh.akamaihd.net/i/enc12uni_ch@191527/master.m3u8\?hdnts\=$HDNTS | grep 640x360 -A 1 | head -n 2 | tail -n 1); ffplay $PLAY_URL
View decrypt-ps.sh
#!/bin/bash
SECURE_WORD="76492d1116743f0423413b16050a5345MgB8AE4AeQBTAHMAbABvAGEAMAAvADYAdwBiADQASABPAFgAZABVAFYATQAzAHcAPQA9AHwAYgAzAGUAZgBjAGEAZgBiAGQAMwBiAGMAMwBiAGMAZgAwADUAYQAyADEAMABlADgAMABkADEAYgA5AGIAYQA1ADMAYgBlADQAZgBmAGUAYgBhAGUAMAA5ADcAYQA4AGIAMQBiAGMAZQA4AGEAMwBlADQAZQA1ADAANgAyADcAYgBmADIANQA1AGYANgA1ADMAOQAzAGEAZAA4ADIAOAA3ADgANAA5AGIAYwBiAGQAMAA5AGMAYQBmADUAYgA5ADYAOAA4AGQANwBhAGIAYwA1AGIAOQAxAGYAOAAwADIAMgA3ADEAMgBlAGUANAAzADgANgAyADYAMwBhAGIAZgA2ADcAMAA4ADYAMQAzADkAMQA0ADAAYQAzAGQAOAA4ADMAZAAyAGIANAAzAGMAZABmADEAYwBjAGYANwA5ADYAYQAxADIAYwAxAGMAYgA2ADIAOQAwAGQAMQBhAGUAZAA0AGIAOQA5ADkAZABiAGIANABlADAAZQA4ADkANQA2ADQAMQA3AGEAMgAwADYAZQAwAGYAYwA5ADIANQA1ADcAMwA5AGQAMgBjAGIAZgA4AGUANgA0ADYAOQA3ADEAYwBiAGUAOQAwADEANQBkADMAYwAzAGYAZQBjADQAZQA2ADYANAAzADQAYQA1ADMAYQBhAGIAZQBiADgANgA1ADkANwA0ADgAYgA1AGIAOAA3AGYAMwA2ADgAYQA3AGUAMABiAGMAMAAzAGUANQA5ADYAZAAyAGUAMgAzADcAOQA4ADkAZgA4ADkAYwBmADUANwA2AGQAOQBkAGIAOQBkADcAZAAxAGUAYgA2ADgANQAzAGIAYgA0ADkANgAwADgAOABiADYANQBmAGEANQBhADEAMABkAGQANgBmADcANABhAGI
View decrypt-ps.sh
#!/bin/bash
SECURE_WORD="76492d1116743f0423413b16050a5345MgB8AE4AeQBTAHMAbABvAGEAMAAvADYAdwBiADQASABPAFgAZABVAFYATQAzAHcAPQA9AHwAYgAzAGUAZgBjAGEAZgBiAGQAMwBiAGMAMwBiAGMAZgAwADUAYQAyADEAMABlADgAMABkADEAYgA5AGIAYQA1ADMAYgBlADQAZgBmAGUAYgBhAGUAMAA5ADcAYQA4AGIAMQBiAGMAZQA4AGEAMwBlADQAZQA1ADAANgAyADcAYgBmADIANQA1AGYANgA1ADMAOQAzAGEAZAA4ADIAOAA3ADgANAA5AGIAYwBiAGQAMAA5AGMAYQBmADUAYgA5ADYAOAA4AGQANwBhAGIAYwA1AGIAOQAxAGYAOAAwADIAMgA3ADEAMgBlAGUANAAzADgANgAyADYAMwBhAGIAZgA2ADcAMAA4ADYAMQAzADkAMQA0ADAAYQAzAGQAOAA4ADMAZAAyAGIANAAzAGMAZABmADEAYwBjAGYANwA5ADYAYQAxADIAYwAxAGMAYgA2ADIAOQAwAGQAMQBhAGUAZAA0AGIAOQA5ADkAZABiAGIANABlADAAZQA4ADkANQA2ADQAMQA3AGEAMgAwADYAZQAwAGYAYwA5ADIANQA1ADcAMwA5AGQAMgBjAGIAZgA4AGUANgA0ADYAOQA3ADEAYwBiAGUAOQAwADEANQBkADMAYwAzAGYAZQBjADQAZQA2ADYANAAzADQAYQA1ADMAYQBhAGIAZQBiADgANgA1ADkANwA0ADgAYgA1AGIAOAA3AGYAMwA2ADgAYQA3AGUAMABiAGMAMAAzAGUANQA5ADYAZAAyAGUAMgAzADcAOQA4ADkAZgA4ADkAYwBmADUANwA2AGQAOQBkAGIAOQBkADcAZAAxAGUAYgA2ADgANQAzAGIAYgA0ADkANgAwADgAOABiADYANQBmAGEANQBhADEAMABkAGQANgBmADcANABhAGI
View play_stream.sh
DATE_NOW=$(echo $(date +%s) - 20 | bc); HDNTS=$(curl https://tp.srgssr.ch/akahd/token\?acl\=/i/enc20a_gop@141646/\* | jq .token.authparams -r | sed 's/^hdnts=//'); ffmpeg -i https://srgssrgop20a-lh.akamaihd.net/i/enc20a_gop@141646/master.m3u8\?start\=$DATE_NOW\&start\=$DATE_NOW\&hdnts\=$HDNTS -c copy video.ts
View hosts-denvit
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
#::1 localhost.localdomain localhost
127.0.0.1 analytics.ti-edu.ch
127.0.0.1 lb.usemaxserver.de
You can’t perform that action at this time.