Skip to content

Instantly share code, notes, and snippets.

View EncodeTheCode's full-sized avatar
💭
Coding useful tools for workflow.

EncodeTheCode

💭
Coding useful tools for workflow.
View GitHub Profile
// ==UserScript==
// @name WoW One Feenix Database 3D Model Links
// @namespace http://www.wow-one.com/database/
// @namespace https://www.wow-one.com/database/
// @description WoW One Feenix Database 3D Model Links
// @include http://www.wow-one.com/database/?item=*
// @include http://www.wow-one.com/database/?item=*#modelviewer*
// @include https://www.wow-one.com/database/?item=*
// @include https://www.wow-one.com/database/?item=*#modelviewer*
// @version 1
// ==UserScript==
// @name WoW One Feenix Database 3D Model Links
// @namespace http://www.wow-one.com/database/
// @namespace https://www.wow-one.com/database/
// @description WoW One Feenix Database 3D Model Links
// @include http://www.wow-one.com/database/?item=*
// @include http://www.wow-one.com/database/?item=*#modelviewer*
// @include https://www.wow-one.com/database/?item=*
// @include https://www.wow-one.com/database/?item=*#modelviewer*
// @version 1
# HLTV stats reader written by ETC (EncodeTheCode)
import csv
with open("content.txt") as f:r=f.readlines();f.close();
def l(n):return r[n-1]
def get_pos_team1(l): # Get team position in top 5 list
s=l.strip().split()[3:]
return strip_data_pos(s)
def get_pos_team2(l): # Get team position
return strip_data_team_pos(l)
class globall():
# print(globals.a,globals.b,globals,c) ; 1,2,3
s='description'
t='content.txt'
def string_search(t,s): # Searches the first occurence of the search term.
if s is None:s=globall.s
if t is None:t=globall.t
s=s or globall.s
t=t or globall.t
#include <iostream>
#include <string>
#include <stdio.h>
using namespace std;
char const hex[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B','C','D','E','F'};
int main(){
// Testing char: printf("%c",13);
#include <iostream>
#include <sstream>
#include <string>
#include <stdio.h>
using namespace std;
char const hex[16] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
void DisplayTitle(){cout<<"-------------------------------------\n Key press example\n Tutorial\n-------------------------------------\n\n";}
<div class="tw-absolute tw-balloon tw-balloon--md tw-balloon--right tw-balloon--up tw-block" data-a-target="emote-picker"><div class="tw-border-b tw-border-l tw-border-r tw-border-radius-medium tw-border-t tw-c-background-base tw-elevation-1"><div class="emote-picker"><div class="emote-picker__tab-content scrollable-area" data-test-selector="scrollable-area-wrapper" data-simplebar="init"><div class="simplebar-track vertical" style="visibility: visible;"><div class="simplebar-scrollbar" style="top: 2px; height: 134px;"></div></div><div class="simplebar-track horizontal" style="visibility: hidden;"><div class="simplebar-scrollbar"></div></div><div class="simplebar-scroll-content" style="padding-right: 17px; margin-bottom: -34px;"><div class="simplebar-content" style="padding-bottom: 17px; margin-right: -17px;"><div class="tw-pd-1"><div class="emote-picker__content-block tw-pd-1 tw-relative"><div class="emote-picker-plan-upsell tw-align-items-center tw-flex tw-flex-column tw-mg-b-1"><div class="tw-flex tw-flex-w
python -m pip --version
python -m ensurepip --default-pip
python "C:\get-pip.py"
python -m pip install --upgrade pip setuptools wheel
python -m pip download lxml
python -m pip install lxml
#!/usr/bin/env python
#
# Hi There!
#
# You may be wondering what this giant blob of binary data here is, you might
# even be worried that we're up to something nefarious (good for you for being
# paranoid!). This is a base85 encoding of a zip file, this zip file contains
# an entire copy of pip (version 21.1.2).
#
# Pip is a thing that installs packages, pip itself is a package that someone
This file has been truncated, but you can view the full file.
o@hwV*DU8uxoWf7+9>@!rw#qe3X@(W5ha*lAF7>8+LCM5}24x^|Ti86LA@N6KzV^NlL^CnhBCuAb&*@
71tnO0}WBWaW5Cpi+$u9o<50#CTH%qIXKlkD>#tH8`<sPaT4ywm@rMR6LeL=WA@1fp0<;&`l!hanr#?
@so@6n@gXNZidmyVe+?U@?$(IH$X7kN^wqBj1rQ={lOYuf9dWEON~3xe;5Aos-NSlOc0fAFL#le7ynD
T3#X-UxU#o|3sJ4ntA&*S;q7ydQEdW5jo{&Vi8I!vWn_PG%c7^>!v2|uPd&Fz7-NBh2;xdT9pX{FFQM
``{ITqC;DYT!ffiEYIu?^jC4XmLCQ@H3)9>)%Ca|^`Wa>TbD90y5<_<AHAqKjjsniEHk4d8o@Os<2Nq
__C?RN}AfxxR(4_Au6^Nv$^541Ulp_kr1=BP=mmpQ}RLZ_A*dJUtI0)xDShOB$s`G&H9&tVwXhu$?uc
s2XMcq4h8>OAKQY=hmR(>s$6OHWN#&M9;{=Q~O;xTcg<*WTVDC-=1tlokYyRGNfx=o4cSWS`l<QT@l@
3K2lH}eT*L|5_lg}!q^Z?~jamy!$O((@1)(TB1v$mij3-<a@`RrM??8!E16zd6W%X%N3O<N;<EgFFW~
ANAWr%(DUadz6c5zscVI5}%_v1S_)<J@Pc984Z>9-SdTZo0~iMMKj;%KxT&<9b<jx;|qUvVN|{{{_R)
!kUA<ax5=LX+yRW~y3u|cmLRb>0r}Cs96g-v+O>oK*?Gv#0aJ-M`A<BE1Ktq(M1GPtM4dKE7sq3ThXA