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
import os | |
from xml.dom import minidom | |
from urllib import request,robotparser | |
import lxml.html | |
xml = os.popen('wmic qfe list /FORMAT:rawxml') | |
LANG = 'ES-es' # language of hotfix files | |
_hotfix = {} | |
counter = 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 6.9.1 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (Debian 12.2.0-14) 12.2.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=120200 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=24000 |
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 python3.11 | |
import pyperclip as pc | |
from time import sleep | |
import numpy as np | |
class NC(object): | |
def __init__(self): | |
self.idx = 0 | |
self.paste = pc.paste() |
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
-- change alsa input source for hda realtek codec (ALC888) | |
ardour { | |
["type"] = "EditorAction", | |
name = "ALSA Mixer Store", | |
author = "DMC", | |
description = [[ | |
ALSA Capture sources | |
]] | |
} |
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
export BUILDDIR=/tmp/Python-3.11.1 | |
cd ${BUILDDIR} | |
export PREFIX=/tmp/python-3.11.1 | |
export VENV=/home/nosat/venv-3.11.1 | |
export OPTS="--with-builtin-hashlib-hashes=md5,sha1,sha256,sha512,sha3,blake2 --with-ssl-default-suites=python,openssl --with-lto=full --with-readline=editline --with-system-expat --enable-loadable-sqlite-extensions --enable-optimizations" | |
export EXTENSIONS="-mmmx -mcx16 -msse3 -mpopcnt -msse4a -msse2 -mclflushopt -mfxsr -msse -mabm" | |
export CFLAGS="-march=athlon64-sse3 $EXTENSIONS -O3 -pipe" | |
export CPPFLAGS="-march=athlon64-sse3 $EXTENSIONS -O3 -pipe" | |
export CFLAGS="$CFLAGS -Wno-unused-value -Wno-empty-body" | |
CC="clang-16" |
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/sh | |
### BEGIN INIT INFO | |
### END INIT INFO | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |
DAEMON=/xbin/daemon | |
BNAME=systapper | |
DESC="Init startup functions" | |
PIDFILE="/run/$NAME.pid" | |
DOPTIONS="" |
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
// g++ -O3 -lpthread -march=athlon64-sse3 -std=c++17 barier_and_mutexes.cpp -o barrier_and_mutexes | |
#include <stdio.h> | |
#include <cstdint> | |
#include <cstdlib> | |
#include <atomic> | |
#include <vector> | |
#include <thread> | |
#include <mutex> | |
#include <cassert> |
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
#!which python.exe | |
# coding: utf-8 | |
from __future__ import print_function | |
__author__ = "Diego <dcadogan@live.com.ar>" | |
__version__ = '0.1' | |
print('IPython autoconf') | |
import os | |
import platform, sys | |
from math import radians, degrees |
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
import pip | |
def install(package): | |
pip.main(['install --force', package]) | |
try: | |
import requests | |
except: | |
install('requests==2.23.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
<html> | |
<head> | |
<script src="three.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/102/three.min.js"></script> | |
<script src="orbitcontrols.js"></script> | |
</head> | |
<body> <div name="canvas" width="100%" height="100%"></div> </body> | |
<script> |
NewerOlder